import { ClientChannel } from 'ssh2';
import { SshConnectionOptions } from '../interfaces/ConnectionOptions';
/**
 * Handler for SSH prompt detection and processing
 */
export declare class PromptHandler {
    /**
     * Wait for a specific prompt pattern in the output
     */
    static waitForPrompt(stream: ClientChannel, dataBuffer: string, promptRegex: RegExp, timeout: number, dataCallback: (data: Buffer) => void, options: SshConnectionOptions): Promise<void>;
    /**
     * Clean SSH command output
     */
    static cleanCommandOutput(rawOutput: string, command: string, commandPromptRegex: RegExp, options?: SshConnectionOptions): string;
}
