import { BaseConnection, DeviceCredentials, CommandResult } from '../base-connection';
export declare class CiscoSG300Connection extends BaseConnection {
    private inConfigMode;
    private inEnableMode;
    private enablePassword;
    constructor(credentials: DeviceCredentials & {
        enablePassword?: string;
    });
    protected sessionPreparation(): Promise<void>;
    private createSG300ShellChannel;
    protected setTerminalSettings(): Promise<void>;
    protected setBasePrompt(): Promise<void>;
    private checkAndEnterEnableMode;
    private enterEnableMode;
    protected enterConfigMode(): Promise<void>;
    protected exitConfigMode(): Promise<void>;
    sendCommand(command: string): Promise<CommandResult>;
    sendConfig(commands: string[]): Promise<CommandResult>;
    getCurrentConfig(): Promise<CommandResult>;
    saveConfig(): Promise<CommandResult>;
    rebootDevice(): Promise<CommandResult>;
    protected sanitizeOutput(output: string, command: string): string;
    isInEnableMode(): boolean;
    isInConfigMode(): boolean;
}
