import { SshSession } from "./SshSession";
export declare class Shell {
    static readonly startCmdFlag = "@@START OF COMMAND@@";
    static readonly connRefusedFlag = "ECONNREFUSED";
    static readonly expiredPasswordFlag = "FOTS1668";
    static executeSsh(session: SshSession, command: string, stdoutHandler: (data: string) => void, removeExtraCharactersFromOutput?: boolean): Promise<any>;
    private static connect;
    static executeSshCwd(session: SshSession, command: string, cwd: string, stdoutHandler: (data: string) => void, removeExtraCharactersFromOutput?: boolean): Promise<any>;
    static isConnectionValid(session: SshSession): Promise<boolean>;
    private static authenticationHandler;
}
//# sourceMappingURL=Shell.d.ts.map