import React, { ReactNode } from "react"; interface User { id: string; twitterId: string; username: string; } interface AuthContextType { user: User | null; token: string | null; isAuthenticated: boolean; isLoading: boolean; error: string | null; login: (_newToken: string) => Promise; logout: () => Promise; } declare const AuthContext: React.Context; interface AuthProviderProps { children: ReactNode; } /** * Auth provider component to manage authentication state */ export declare const AuthProvider: React.FC; /** * Custom hook to use auth context */ export declare const useAuth: () => AuthContextType; export default AuthContext; //# sourceMappingURL=AuthContext.d.ts.map