UNPKG

474 BTypeScriptView Raw
1import { Remote } from './remote';
2import { Strarray } from './str-array';
3import { Cert } from './cert';
4
5export namespace Transport {
6 const enum FLAGS {
7 NONE = 0,
8 }
9}
10
11export 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}