import { SpawnOptionsWithoutStdio } from 'child_process';

interface SpawnOptions extends SpawnOptionsWithoutStdio {
    silence?: boolean | 'all';
    cwd?: string;
    log?: any;
}
declare function spawn(command: string, args?: string[], options?: SpawnOptions): Promise<any>;

export { type SpawnOptions, spawn as default, spawn };
