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