import { createAuthClient } from 'better-auth/react'; export type SessionResult = ReturnType; export type MinimalAuthClient = { useSession: () => TSessionResult; }; export type AuthClient = ReturnType;