type Resolve = (value?: void | PromiseLike) => void; export interface MutexOptions { queueSizeLimit?: number; } export declare class Mutex { protected queues: Map; protected queueSizeLimit?: number; constructor({ queueSizeLimit }?: MutexOptions); call: (mark: string, fn: (...args: Args) => Promise, ...args: Args) => Promise; acquire: (mark: string) => Promise; release: (mark: string) => void; } export {};