import type { PrefixLog } from './prefixLog.ts'; interface ExecOptions { cwd?: string; /** PrefixLog to prefix output lines with */ log?: PrefixLog; } interface ApproveOptions { /** Skip prompt (--exec-yes or --yes) */ autoApprove?: boolean; /** PrefixLog to emit exec-level log when auto-approved */ log?: PrefixLog; } /** * Prompt the user to approve a command before running it. * When auto-approved, logs the command at exec level. * Throws if the user declines. */ export declare function approveExec(displayCmd: string, options?: ApproveOptions): Promise; /** * Execute a shell command and log stdout/stderr lines with PrefixLog in gray. */ export declare function loggedExec(cmd: string, options?: ExecOptions): Promise<{ stdout: string; stderr: string; }>; export {}; //# sourceMappingURL=promptExec.d.ts.map