export declare const SHIMS_DIR: string; /** * Child env whose PATH excludes our arbitration shim directory. * * The bridge's OWN git/npm executions must NEVER route through the shims: the * bridge already serializes git in-process via `acquireWsLock`, and a shim * child that tries to re-acquire the SAME scope self-deadlocks (it waits for * the lock its own parent holds → times out → exit 124). Only agent-spawned * session terminals get the shims (bridge/spawn.ts); the bridge strips them * from every command it runs itself. */ export declare function envWithoutShims(env?: NodeJS.ProcessEnv): NodeJS.ProcessEnv; /** * Idempotent install. Returns the list of files written this call. * Foreign files in the directory are never touched. */ export declare function ensureShims(): { written: string[]; dir: string; };