import React from 'react'; import type { FC, ReactNode } from 'react'; import type { User } from '../types/user'; interface AuthState { isInitialised: boolean; isAuthenticated: boolean; user: User | null; } export interface AuthContextValue extends AuthState { method: 'Auth0'; loginWithPopup: (options?: any) => Promise; logout: () => void; } interface AuthProviderProps { children: ReactNode; } declare const AuthContext: React.Context; export declare const AuthProvider: FC; export default AuthContext;