export type RunOptions = { cwd?: string; env?: Record; inheritEnv?: boolean; timeoutMs?: number; }; export declare function commandExists(command: string): boolean; export declare function requireCommand(command: string, installHint?: string): void; export declare function ensureSystemToolsOnPath(): void; export declare function run(command: string, args: string[], options?: RunOptions): string; export declare function runBuffer(command: string, args: string[], options?: RunOptions): Buffer; export declare function runWithInput(command: string, args: string[], input: Buffer, options?: RunOptions): Buffer; export declare function runAsync(command: string, args: string[], options?: RunOptions): Promise; export declare function runWithInputAsync(command: string, args: string[], input: Buffer | string, options?: RunOptions): Promise; export declare function spawnInherited(command: string, args: string[]): void;