/** * useAuth Hook * * React hook for managing authentication state in the UI */ import type { AuthState, LoginCredentials } from '../../core/types/auth.js'; export interface UseAuthReturn extends AuthState { login: (credentials: LoginCredentials) => Promise; verify2FA: (code: string) => Promise; logout: () => Promise; refresh: () => Promise; loginWithOAuth: (provider: 'google' | 'github') => Promise; challengeToken: string | null; } export declare function useAuth(): UseAuthReturn; //# sourceMappingURL=useAuth.d.ts.map