import { ChildProcess, SpawnOptions } from "node:child_process"; export declare function needsShell(command: string, platform?: NodeJS.Platform): boolean; export declare function shellCommandLine(command: string, args: readonly string[]): string; export declare function spawnCommand(command: string, args: string[], options?: SpawnOptions): ChildProcess; export interface CommandOutput { code: number | null; stdout: string; stderr: string; } export interface RunCommandOptions { cwd?: string; env?: NodeJS.ProcessEnv; timeoutMs?: number; } export declare function runCommand(command: string, args: string[], options?: RunCommandOptions): Promise;