export declare class SpawnError extends Error { readonly code: number | null; readonly spawnMessage?: string | undefined; constructor(code: number | null, spawnMessage?: string | undefined); } export declare const checkInstalled: (err: any, command: string) => void; interface Options { log?: boolean; verbose?: boolean; } export declare class Command { private readonly _command; private readonly _cwd?; private _stdout; private _stderr; constructor(_command: string, _cwd?: string | undefined); private _execute; run(options: Options): Promise; json(): Promise; } export declare const spawn: (command: string, cwd?: string | undefined) => Command; export {}; //# sourceMappingURL=spawn.d.ts.map