import { type SpawnSyncReturns } from 'node:child_process'; export type HostLockSpawn = (command: string, args: readonly string[], options: { stdio: 'inherit'; }) => Pick, 'error' | 'status'>; export declare function hostLockScriptPath(): string; export declare function runWithHostLock(args: readonly string[], spawn?: HostLockSpawn): number;