export declare function spawn(cmd: string, args: string[], options?: any): Promise;