import { ILogger } from "./util.log.js"; export type ExecOption = { cmd: string | string[]; env: any; logger?: ILogger; options?: any; }; declare function exec(opts: ExecOption): Promise; export type SpawnOption = { cmd: string | string[]; onStdout?: (data: string) => void; onStderr?: (data: string) => void; env?: any; logger?: ILogger; options?: any; }; declare function spawn(opts: SpawnOption): Promise; export declare const sp: { spawn: typeof spawn; exec: typeof exec; }; export {}; //# sourceMappingURL=util.sp.d.ts.map