import { execFile, type ChildProcess } from 'node:child_process'; export declare const execFileAsync: typeof execFile.__promisify__; export declare const hostLockScript: string; export declare function makeHome(): Promise; export declare function hostLockEnv(home: string, overrides?: NodeJS.ProcessEnv): NodeJS.ProcessEnv; export declare function hostLockArgs(name: string, timeoutSeconds: number, command: string[], extraArgs?: string[]): string[]; export declare function spawnHostLock(home: string, name: string, timeoutSeconds: number, command: string[], env?: NodeJS.ProcessEnv, extraArgs?: string[]): ChildProcess; export declare function completion(child: ChildProcess): Promise<{ code: number | null; stderr: string; }>; export declare function waitForPath(path: string): Promise; export declare function cleanupTestHomes(): Promise; export declare function withFinalTimeoutProbe(home: string, assertProbe: ({ lock, marker, contenderDone, }: { lock: string; marker: string; contenderDone: Promise<{ code: number | null; stderr: string; }>; }) => Promise): Promise;