import type { ResearchAgentAuthClient } from '../config'; interface User { id: string; name: string; email?: string; image?: string; } interface SessionContextType { user: User | null; isLoading: boolean; isAuthenticated: boolean; signIn: () => void; signOut: () => Promise; } export declare function SessionProvider({ children, authClient, enableGoogleOneTap, }: { children: React.ReactNode; /** Configured better-auth (or compatible) client used to manage the session. */ authClient: ResearchAgentAuthClient; /** * Whether to prompt Google One Tap for unauthenticated users. Callers whose * backend doesn't have the Google provider configured should pass `false` * to avoid triggering a One Tap prompt that can only fail (the app has no * way to resolve the resulting sign-in). Defaults to `true`. */ enableGoogleOneTap?: boolean; }): import("react").JSX.Element; export declare function useSession(): SessionContextType; export {};