/**
 * Streaming execution for BashTool.
 *
 * Contains the executeStreaming AsyncGenerator that yields output chunks
 * as they arrive from the spawned process.
 */
import { ToolResult } from '../../types/index.js';
export interface StreamingExecutorDeps {
    getCurrentDirectory: () => string;
    getSandboxManager: () => {
        validateCommand(cmd: string): {
            valid: boolean;
            reason?: string;
        };
    };
    getRunningProcesses: () => Set<import('child_process').ChildProcess>;
}
/**
 * Execute a command with streaming output.
 * Yields each line of stdout/stderr as it arrives.
 * Validates and confirms the command before execution.
 */
export declare function executeStreaming(command: string, timeout: number | undefined, deps: StreamingExecutorDeps): AsyncGenerator<string, ToolResult, undefined>;
