type ProcessEnv = Record; import { type CommandResult } from '../types.js'; export type ProgressCallback = (message: string) => void; export interface StreamingCommandOptions { onProgress?: ProgressCallback; envOverride?: ProcessEnv; cwd?: string; } export declare function executeCommand(file: string, args?: string[], envOverride?: ProcessEnv, cwd?: string): Promise; /** * Execute a command with streaming output support. * Calls onProgress callback with each chunk of output for real-time feedback. * * Note: Unlike executeCommand, this function treats stderr output as success * because tools like codex write their primary output to stderr. This is * intentional for streaming use cases where we want to capture all output. */ export declare function executeCommandStreaming(file: string, args?: string[], options?: StreamingCommandOptions): Promise; export {}; //# sourceMappingURL=command.d.ts.map