import { RefObject } from 'react';

interface QueueItem {
    action: string;
    onComplete: (token: string) => void;
    onError: (reason: Error) => void;
}
declare const useQueueRef: () => RefObject<QueueItem[]>;

export { type QueueItem, useQueueRef as default };
