import { AutoQueue, Task } from './autoQueue'; /** * The ramp queue is an extension of the AutoQueue which dynamically adjusts the concurrency based on the getSize function. * It will start at concurrency 1 and ramp up to the max concurrency unless there is a large jump above the median size then it will decrease. * */ export declare class RampQueue extends AutoQueue { #private; private getSize; constructor(getSize: (data: T) => number, concurrency: number, capacity?: number, timeout?: number, name?: string); put(item: Task): Promise; putMany(tasks: Task[]): Promise[]; private setConcurrency; private adjustConcurrency; private addSize; }