import { BaseConnection, DeviceCredentials, CommandResult } from '../base-connection';
export declare class CiscoIOSXRConnection extends BaseConnection {
    private inConfigMode;
    constructor(credentials: DeviceCredentials);
    sessionPreparation(): Promise<void>;
    private createIOSXRShellChannel;
    protected setTerminalSettings(): Promise<void>;
    protected setBasePrompt(): Promise<void>;
    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;
    isInConfigMode(): boolean;
}
