import React, { ReactNode } from "react";
export interface TeacherInfo {
    teacherId: string;
    name: string;
    isAdmin?: boolean;
}
interface TeacherContextType {
    teacher: TeacherInfo | null;
    isTeacherAuthenticated: boolean;
    setCurrentTeacher: (teacher: TeacherInfo) => void;
    clearCurrentTeacher: () => void;
}
declare const TeacherContext: React.Context<TeacherContextType>;
export declare const useTeacher: () => TeacherContextType;
interface TeacherProviderProps {
    children: ReactNode;
}
export declare const TeacherProvider: React.ForwardRefExoticComponent<TeacherProviderProps & React.RefAttributes<{
    setCurrentTeacher: (teacher: TeacherInfo) => void;
}>>;
export default TeacherContext;
