import { QueryClient } from '@tanstack/react-query'; import { betterAuth } from 'better-auth'; type BetterAuth = ReturnType; type GetSessionParams = Parameters[0]; declare function prefetchSession(auth: TAuth, queryClient: QueryClient, params: GetSessionParams, queryKey?: string[]): Promise<{ data: TAuth["$Infer"]["Session"] | null; session: TAuth["$Infer"]["Session"]["session"] | undefined; user: TAuth["$Infer"]["Session"]["user"] | undefined; }>; export { prefetchSession };