import { QueryClient } from '@tanstack/react-query'; /** * Creates a **TanStack Query** client tuned for Athena Auth UI SSR/hydration. * * This is **not** `@xylex-group/athena/react` `createAthenaQueryClient`, which * builds the Athena-native `AthenaQueryClient` cache used by * `useAthenaReadQuery` / `useQuery`. * * Do not cache this instance process-wide. AthenaProviders and AuthProvider * own lifetime with `useState` so two provider trees cannot share auth * resource caches. */ export declare function createAuthUiTanstackQueryClient(): QueryClient; /** * @deprecated Prefer {@link createAuthUiTanstackQueryClient}. Same TanStack * factory; name collided with `@xylex-group/athena/react` `createAthenaQueryClient`. */ export declare const createAthenaQueryClient: typeof createAuthUiTanstackQueryClient; /** * Always returns a **new** QueryClient. * * The previous browser singleton leaked auth caches across independent * `AthenaProviders` trees. Prefer `createAuthUiTanstackQueryClient` and * store the instance in provider state. */ export declare function getAuthUiTanstackQueryClient(): QueryClient; /** * @deprecated Prefer {@link getAuthUiTanstackQueryClient}. */ export declare const getAthenaQueryClient: typeof getAuthUiTanstackQueryClient;