import { WorkItem } from './informer';
export declare function getQueueMetrics(): {
    nItems: number;
    nItemsFinished: number;
    nItemsPending: number;
    nItemsProcessing: number;
    nItemsInDeadLetterHandling: number;
    nItemsTypes: {
        nothing: number;
        retry: number;
        renamed: number;
        updated: number;
        sync: number;
        created: number;
        marked_to_deletion: number;
        unknown: number;
    };
};
/**
 * Pushes a WorkItem to the queue
 * @param {WorkItem} workItem - WorkItem to process
 */
export declare function processItem(workItem: WorkItem): Promise<void>;
/**
 * Periodically checks the queue for finished WorkItems and removes them
 * @param {WorkItem[]} queue - Queue of WorkItems
 */
export declare function workItemGarbageCollector(queue: WorkItem[]): Promise<void>;
