/** * Limit the amount of concurrent executions of a function. * * @param concurrency The maximum amount of concurrent executions. * @returns A function that accepts a function to limit. */ export declare const getLimiter: (concurrency: number) => (fn: (...params: unknown[]) => Promise, ...args: unknown[]) => Promise;