/*! * name: async-primitives * version: 1.7.0 * description: A collection of primitive functions for asynchronous operations * author: Kouji Matsui (@kekyo@mi.kekyo.net) * license: MIT * repository.url: https://github.com/kekyo/async-primitives.git * git.commit.hash: 9472fbd5310b92690d84aaafb897429a04c013c5 */ import { Mutex } from '../types.js'; /** * Creates a new Mutex instance * @param maxConsecutiveCalls - The maximum number of consecutive calls to the lockAsync method before yielding control to the next item in the queue * @returns A new Mutex for promise-based mutex operations */ export declare const createMutex: (maxConsecutiveCalls?: number) => Mutex; //# sourceMappingURL=mutex.d.ts.map