export interface RunOptions { readonly cwd: string; readonly env: NodeJS.ProcessEnv; /** Milliseconds before a read-only call is killed; 0 for none (worktree removal). */ readonly timeout?: number; readonly deadline?: number; readonly now?: () => number; } /** Runs a command without a shell; returns stdout, or undefined when it fails to start or exits non-zero. */ export declare function run(file: string, args: readonly string[], options: RunOptions): string | undefined; export declare const LOCAL_ENV: string[]; /** A copy of `env` without the named variables. */ export declare function withoutVariables(env: NodeJS.ProcessEnv, names: readonly string[]): NodeJS.ProcessEnv; /** git with fsmonitor disabled so a repository config can never execute a hook. */ export declare function git(args: readonly string[], options: RunOptions): string | undefined;