UNPKG

symref

Version:

Static code checker for AI code agents (Windsurf, Cline, etc.)

23 lines 499 B
interface User { id: string; name: string; email: string; role: string; } interface AuthCredentials { email: string; password: string; } /** * 認証状態を管理するカスタムフック */ export declare function useAuth(): { user: User | null; isLoading: boolean; isAuthenticated: boolean; error: string | null; login: (credentials: AuthCredentials) => Promise<boolean>; logout: () => void; }; export {}; //# sourceMappingURL=useAuth.d.ts.map