/** * @fileoverview Abortable command execution for fitness checks * * Provides shell command execution with abort signal and timeout support. * Child processes are properly cleaned up on abort. */ /** * Options for abortable command execution */ export interface AbortableExecOptions { cwd?: string | undefined; signal?: AbortSignal | undefined; maxBuffer?: number | undefined; env?: NodeJS.ProcessEnv | undefined; timeout?: number | undefined; } /** * Result of command execution */ export interface ExecResult { stdout: string; stderr: string; exitCode: number | null; aborted: boolean; } /** * Execute a command with abort support. * * @param command - Either a shell command string or an array of [bin, ...args] (no shell). * @throws {SystemError} When the command array is empty * @throws {ExecError} When the child process fails to spawn */ export declare function execAbortable(command: string | readonly string[], options?: AbortableExecOptions): Promise; //# sourceMappingURL=abortable-exec.d.ts.map