export declare const spawnCommand: (command: string, args: string[], cwd: string, resolveOnEnd: boolean) => Promise;