export type QueueItem = {
    action: string;
    onComplete: (token: string) => void;
    onError: (reason: Error) => void;
};
declare const useQueueRef: () => import("react").MutableRefObject<QueueItem[]>;
export default useQueueRef;
