export type RunCommandIo = {
    writeLine: (message: string) => void;
    writeError: (message: string) => void;
    /** Test hook: return one line of simulated stdin for interactive policy approval */
    readStdinLine?: () => Promise<string | null>;
};
export type RunCommandExitCodes = {
    success: number;
    validationFailure: number;
    usageError: number;
    internalError: number;
};
export declare function handleRunCommand(cwd: string, args: string[], io: RunCommandIo, codes: RunCommandExitCodes): Promise<number>;
