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; } interface AuthContextValue extends AuthState { method: 'FirebaseAuth'; createUserWithEmailAndPassword: (email: string, password: string) => Promise; signInWithEmailAndPassword: (email: string, password: string) => Promise; signInWithGoogle: () => Promise; logout: () => Promise; } interface AuthProviderProps { children: ReactNode; } declare const AuthContext: React.Context; export declare const AuthProvider: FC; export default AuthContext;