1 | import React from 'react';
|
2 | import { QueryClient } from '../core';
|
3 | declare global {
|
4 | interface Window {
|
5 | ReactQueryClientContext?: React.Context<QueryClient | undefined>;
|
6 | }
|
7 | }
|
8 | export declare const useQueryClient: () => QueryClient;
|
9 | export interface QueryClientProviderProps {
|
10 | client: QueryClient;
|
11 | contextSharing?: boolean;
|
12 | children?: React.ReactNode;
|
13 | }
|
14 | export declare const QueryClientProvider: ({ client, contextSharing, children, }: QueryClientProviderProps) => JSX.Element;
|