/** * Escape a string for safe use in shell commands. * Uses single quotes and escapes any embedded single quotes. */ export declare const shellEscape: (str: string) => string; export type ExecResult = { exitCode: number; stdout: string; stderr: string; durationMs: number; }; export type ExecOptions = { cwd?: string; timeout?: number; env?: Record; }; export declare const exec: (command: string, args?: string[], options?: ExecOptions) => Promise; export declare const execShell: (command: string, options?: ExecOptions) => Promise; //# sourceMappingURL=exec.d.ts.map