import { IPublishToConcurrency } from './concurrency'; type IKeyType = string | number | undefined; type IGetKey = (message: T) => IKeyType | Promise; type IKeyedConcurrencyOptions = { workerConcurrency: number; }; export declare function KeyedConcurrency(maxConcurrency: number, getKey: IGetKey, worker: (message: T) => Promise, { workerConcurrency }?: Partial): IPublishToConcurrency; export {};