/** * Authentication Hooks * Reusable hooks for auth state management */ import type { User } from '@supabase/supabase-js'; export declare function useAuth(): { user: User | null; loading: boolean; signIn: (email: string, password: string) => Promise<{ error: import("@supabase/supabase-js").AuthError | null; }>; signOut: () => Promise; isAuthenticated: boolean; isAdmin: boolean; }; export declare function useRequireAuth(redirectTo?: string): { user: User | null; loading: boolean; }; export declare function useAdminAuth(): { isLoading: boolean; login: ({ email, password, rememberMe }: { email: string; password: string; rememberMe?: boolean; }) => Promise; signup: ({ email, password, metadata, }: { email: string; password: string; metadata?: Record; }) => Promise; resetPassword: ({ email }: { email: string; }) => Promise; logout: () => Promise; user: User | null; loading: boolean; signIn: (email: string, password: string) => Promise<{ error: import("@supabase/supabase-js").AuthError | null; }>; signOut: () => Promise; isAuthenticated: boolean; isAdmin: boolean; }; //# sourceMappingURL=useAuth.d.ts.map