import { BetterFetchError } from 'better-auth/react'; import { SessionResult } from './types'; import { InstantAuthProps } from './use-instant-auth'; export declare function useInstantSession({ db, authClient, persistent }: InstantAuthProps): { refetch: (queryParams?: { query?: import('better-auth/types').SessionQueryParams; } | undefined) => Promise; data: { user: import('better-auth/react').StripEmptyObjects<{ id: string; createdAt: Date; updatedAt: Date; email: string; emailVerified: boolean; name: string; image?: string | null | undefined; }>; session: import('better-auth/react').StripEmptyObjects<{ id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }>; } | null; isPending: boolean; isRefetching: boolean; error: BetterFetchError; };