-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.d.ts
32 lines (30 loc) · 814 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
declare module "@lambdatest/node-tunnel" {
interface Options {
user: string;
key: string;
port: string;
tunnelName: string;
proxyHost: string;
proxyPort: string;
proxyUser: string;
proxyPass: string;
localDir: string;
environment: boolean;
verbose: string;
configFile: string;
sharedTunnel: string;
localDomains: string;
outputConfig: string;
dns: string;
pidFile: string;
pac: string;
logFile: string;
controller: string;
[key: string]: string | boolean;
}
class Tunnel {
start(options: Partial<Options>, callback: (error?: Error) => void): void;
isRunning(): boolean;
stop(callback: (status: boolean, error?: Error) => void): Promise<void>;
}
}