export interface SpawnedProc { pid: number; onStderr(cb: (chunk: Uint8Array) => void): void; closeStderr(): Promise; kill(signal: string): boolean; exited(): Promise; } export declare function spawnServer(exe: string, args: string[]): SpawnedProc;