import { Lock } from "./Lock"; export declare class LockMap { private readonly _map; takeLock(key: T): Promise; } export declare function tests(): { "taking a lock on the same key blocks": (assert: any) => Promise; "lock is not cleaned up with second request": (assert: any) => Promise; "lock is cleaned up without other request": (assert: any) => Promise; };