interface LockOptions {
    interval?: number;
    timeout?: number;
}
export declare const buildLockFilePath: (key: string) => string;
export declare const lock: <T>(key: string, run: () => Promise<T>, options?: LockOptions) => Promise<T>;
export declare const lockMany: <T>(keys: string[], run: () => Promise<T>) => Promise<T>;
export {};
//# sourceMappingURL=lock.d.ts.map