/** * Ensures that promises in the queue are executed in the correct order and * that the next promise is only started when the previous one has finished. * If a previous task fails, the queue continues processing the next task. * * @internal */ export declare function putInQueue(key: string, task: () => Promise): Promise; /** * Checks if a key is currently tracked in the queue. */ export declare function isQueueActive(key: string): boolean;