import { BaseConnection, DeviceCredentials, CommandResult } from '../base-connection';
export declare class PaloAltoConnection extends BaseConnection {
    private inConfigMode;
    private readonly promptPattern;
    constructor(credentials: DeviceCredentials);
    sessionPreparation(): Promise<void>;
    private createPaloAltoShellChannel;
    protected setTerminalWidth(): Promise<void>;
    protected disablePaging(): Promise<void>;
    protected setScriptingMode(): Promise<void>;
    protected setBasePrompt(): Promise<void>;
    protected enterConfigMode(): Promise<void>;
    protected exitConfigMode(): Promise<void>;
    sendCommand(command: string): Promise<CommandResult>;
    sendConfig(configCommands: string[]): Promise<CommandResult>;
    commit(comment?: string, force?: boolean, partial?: boolean, deviceAndNetwork?: boolean, policyAndObjects?: boolean, vsys?: string, noVsys?: boolean): Promise<CommandResult>;
    getCurrentConfig(): Promise<CommandResult>;
    saveConfig(): Promise<CommandResult>;
    rebootDevice(): Promise<CommandResult>;
    protected sanitizeOutput(output: string, command: string): string;
    private stripContextItems;
    isInConfigMode(): boolean;
    cleanup(): Promise<void>;
}
