/// <reference types="node" />
export interface Options {
    args?: string[];
    env?: Record<string, string | undefined>;
    cwd?: string;
    onData?(data: Buffer): void;
}
export declare function spawnProcess(command: string, { args, env, cwd, onData }: Options): Promise<number | null>;
//# sourceMappingURL=spawn.d.ts.map