import { QueueItem, QueuePriority } from '../QueueContext';
import { BuilderMutationsMap, BuilderQueriesMap } from '@plitzi/sdk-shared';
import { NetworkContextValue } from '@plitzi/sdk-shared/network/NetworkContext';
export type UseQueueManagerProps = {
    delay?: number;
    mutate: NetworkContextValue<BuilderQueriesMap, BuilderMutationsMap>['mutate'];
    maxRetries?: number;
    retryTimeout?: number;
    disabled?: boolean;
};
declare const useQueueManager: ({ delay, mutate, maxRetries, retryTimeout, disabled }: UseQueueManagerProps) => {
    queueManager: {
        count: (priority?: QueuePriority) => number;
        enqueue: (items?: QueueItem | QueueItem[], priority?: QueuePriority) => void;
        getIsProcessing: () => boolean;
    };
    processing: boolean;
};
export default useQueueManager;
