1 | import { Remote } from './remote';
|
2 | import { Strarray } from './str-array';
|
3 | import { Cert } from './cert';
|
4 |
|
5 | export namespace Transport {
|
6 | const enum FLAGS {
|
7 | NONE = 0,
|
8 | }
|
9 | }
|
10 |
|
11 | export class Transport {
|
12 | static sshWithPaths(owner: Remote, payload: Strarray | string | string[]): Promise<Transport>;
|
13 | static unregister(prefix: string): number;
|
14 | init(version: number): number;
|
15 | smartCertificateCheck(cert: Cert, valid: number, hostName: string): number;
|
16 | }
|