import { type ReactNode } from 'react';
export interface UserInfo {
    id: number;
    name: string;
    email: string;
}
interface AuthContextValue {
    isAuthenticated: boolean;
    isLoading: boolean;
    user: UserInfo | null;
    login: (jwtToken?: string) => void;
    logout: () => Promise<void>;
}
export declare function AuthProvider({ children }: {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useAuth(): AuthContextValue;
export {};
