export type CommandRunResult = {
    code: number | null;
    stdout: string;
    stderr: string;
};
export type CommandRunner = (argv: string[], options: {
    timeoutMs: number;
    cwd?: string;
    env?: NodeJS.ProcessEnv;
}) => Promise<CommandRunResult>;
export declare function createDefaultCommandRunner(): CommandRunner;
export declare function runCommandWithTimeout(argv: string[], options: {
    timeoutMs: number;
    cwd?: string;
    env?: NodeJS.ProcessEnv;
}): Promise<CommandRunResult>;
