2016-11-23 12:38:38 +01:00
|
|
|
/// <reference types="q" />
|
|
|
|
import 'typings-global';
|
|
|
|
import { SshKey } from './smartssh.classes.sshkey';
|
2016-05-31 19:16:45 +02:00
|
|
|
export declare class SshConfig {
|
2016-06-28 02:10:51 +02:00
|
|
|
private _sshKeyArray;
|
2016-06-25 02:29:34 +02:00
|
|
|
constructor(sshKeyArrayArg: SshKey[]);
|
|
|
|
/**
|
2016-06-25 02:53:05 +02:00
|
|
|
* stores a config file
|
2016-06-25 02:29:34 +02:00
|
|
|
*/
|
2016-11-23 12:38:38 +01:00
|
|
|
store(dirPathArg: string): Q.Promise<{}>;
|
|
|
|
read(dirPathArg: any): Q.Promise<{}>;
|
2016-06-25 02:29:34 +02:00
|
|
|
}
|
|
|
|
export interface configObject {
|
2016-06-25 15:30:57 +02:00
|
|
|
configString: string;
|
2016-06-25 02:29:34 +02:00
|
|
|
authorized: boolean;
|
|
|
|
sshKey: SshKey;
|
2016-05-31 19:16:45 +02:00
|
|
|
}
|