import { ChildProcess } from 'child_process'; export declare const terminate: (ch?: ChildProcess) => Promise; export declare const spawnPromise: ({ args, cmd, basePath, cwd, envs, }: { cmd: string; args: string[]; basePath?: string | undefined; cwd?: string | undefined; envs?: Record | undefined; }) => Promise;