export declare function withInstallLock(path: string, metadata: Record, fn: () => Promise, signal?: AbortSignal): Promise;