setProxyInfo.d.ts 381 B

12345678910111213141516
  1. import { MODE_ENUM } from './getProxyInfo';
  2. export interface SetProxyInfoParams {
  3. id: number;
  4. mode: MODE_ENUM;
  5. addr: string;
  6. port: number;
  7. user?: string;
  8. password?: string;
  9. }
  10. declare function setProxyInfo(params: SetProxyInfoParams): Promise<{}>;
  11. declare namespace setProxyInfo {
  12. var version: {
  13. pc: string;
  14. };
  15. }
  16. export default setProxyInfo;