the-forest/client/node_modules/@tanstack/react-query/build/legacy/QueryClientProvider.d.cts

13 lines
534 B
TypeScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import * as React from 'react';
import { QueryClient } from '@tanstack/query-core';
declare const QueryClientContext: React.Context<QueryClient | undefined>;
declare const useQueryClient: (queryClient?: QueryClient) => QueryClient;
type QueryClientProviderProps = {
client: QueryClient;
children?: React.ReactNode;
};
declare const QueryClientProvider: ({ client, children, }: QueryClientProviderProps) => React.JSX.Element;
export { QueryClientContext, QueryClientProvider, type QueryClientProviderProps, useQueryClient };