import type { Writable } from "node:stream"; export interface SpawnArgs { /** The shell command line to run. Executed via `sh -c`. */ readonly command: string; readonly cwd: string; readonly env: Readonly>; /** Payload piped to the wake command's stdin. */ readonly stdin: string; /** Kill the process after this many seconds. Omit for no timeout. */ readonly timeoutSeconds?: number; /** Where to send the wake command's stdout. Defaults to inherit. */ readonly stdout?: Writable; /** Where to send the wake command's stderr. Defaults to inherit. */ readonly stderr?: Writable; } export interface SpawnResult { readonly exitCode: number | null; readonly signal: NodeJS.Signals | null; readonly durationMs: number; readonly timedOut: boolean; } export declare function spawnWake(args: SpawnArgs): Promise; //# sourceMappingURL=spawn.d.ts.map