import { ChildProcessWithoutNullStreams, SpawnOptionsWithoutStdio } from 'node:child_process';

interface SpawndChildProcess extends ChildProcessWithoutNullStreams {
    destroy: () => Promise<void>;
}
type SpawndOptions = SpawnOptionsWithoutStdio;
declare const spawnd: (command: string, options?: SpawndOptions) => SpawndChildProcess;

export { type SpawndChildProcess, type SpawndOptions, spawnd };
