/** * Run `fn` holding the cross-process file lock `.lock`, waiting * without blocking the event loop. Callers in one process contend on it too. */ export declare function withFileLock(target: string, label: string, fn: () => Promise): Promise; /** * Run `fn` holding the lock for `dest`: first queue behind any other call * for the same destination in this process, then take the cross-process * file lock `..skillsmith-fanout.lock` next to it. */ export declare function withDestinationLock(dest: string, fn: () => Promise): Promise; //# sourceMappingURL=fan-out.locks.d.ts.map