export interface SpawnOptions { cwd?: string; env?: Record; stdin?: "pipe" | "inherit" | "ignore"; stdout?: "pipe" | "inherit" | "ignore"; stderr?: "pipe" | "inherit" | "ignore"; } export interface SpawnedProcess { readonly exitCode: number | null; readonly exited: Promise; readonly stdout: ReadableStream | undefined; readonly stderr: ReadableStream | undefined; kill(signal?: NodeJS.Signals): void; } export declare function spawnWithWindowsHide(command: string[], options: SpawnOptions): SpawnedProcess;