import type { ReactNode } from 'react'; /** The signed-in user, as far as this stub's consumers care. Hosts inject a * richer object through `setRealAuthHook`; only `id` and `name` are read * inside the lib (see `comment-card.tsx`). */ export interface AuthStubUser { id: string; name?: string; [key: string]: unknown; } export interface AuthContextType { user: AuthStubUser | null; isLoading: boolean; } export declare function setRealAuthHook(authHook: () => AuthContextType): void; export declare function useAuth(): AuthContextType; export declare function AuthProvider({ children }: { children: ReactNode; }): import("react").JSX.Element; //# sourceMappingURL=auth-stub.d.ts.map