export declare const useQueueTask: () => (id: string | number, task: () => void) => void;