import { AnyAsyncFunction, AnyFunction, AsyncBatcherOptions, AsyncDebouncerOptions, AsyncQueuerOptions, AsyncRateLimiterOptions, AsyncThrottlerOptions, BatcherOptions, DebouncerOptions, QueuerOptions, RateLimiterOptions, ThrottlerOptions } from "@tanstack/pacer"; import React, { ReactNode } from "react"; //#region src/provider/PacerProvider.d.ts interface PacerProviderOptions { asyncBatcher?: Partial>; asyncDebouncer?: Partial>; asyncQueuer?: Partial>; asyncRateLimiter?: Partial>; asyncThrottler?: Partial>; batcher?: Partial>; debouncer?: Partial>; queuer?: Partial>; rateLimiter?: Partial>; throttler?: Partial>; } interface PacerContextValue { defaultOptions: PacerProviderOptions; } interface PacerProviderProps { children: ReactNode; defaultOptions?: PacerProviderOptions; } declare function PacerProvider({ children, defaultOptions }: PacerProviderProps): React.JSX.Element; declare function usePacerContext(): PacerContextValue | null; declare function useDefaultPacerOptions(): PacerProviderOptions; //#endregion export { PacerProvider, PacerProviderOptions, PacerProviderProps, useDefaultPacerOptions, usePacerContext }; //# sourceMappingURL=PacerProvider.d.ts.map