import type { RunQueueOptions } from 'client-run-queue'; import { RunQueue } from 'client-run-queue'; import type { PropsWithChildren } from 'react'; import React from 'react'; export declare const useDefaultQueue: () => RunQueue; export interface DefaultQueueProviderProps extends RunQueueOptions { /** A technical, but human-readable ID prefix, which isn't guaranteed to be unique. This will be suffixed by `':default'` */ idPrefix: string; /** * If `true`, `cancelAll` is called on the associated queue whenever this component is unmounted or whenever the idPrefix or other * options change. * * @defaultValue `false` */ cancelAllOnUnmount?: boolean; } /** Provides a new default queue, which can be used in children using `useDefaultQueue` */ export declare const DefaultQueueProvider: ({ children, idPrefix, cancelAllOnUnmount, ...options }: PropsWithChildren) => React.JSX.Element; //# sourceMappingURL=default-queue-context.d.ts.map