/** * Frontend entry point for the Education Module * Exports components, hooks, and contexts for use in external systems */ export * from "./models/index"; export * from "./components/H5PEditor"; import { useAuth, useCourses, useCourseContent, type CourseDetail, type ContentType } from "./hooks/index"; export { useAuth, useCourses, useCourseContent, type CourseDetail, type ContentType }; export * from "./providers/index"; export * from "./components/index"; export * from "./containers/index"; export * from "./pages/index"; /** * Configuration interface for Education Module components */ export interface EducationModuleConfig { apiBaseUrl?: string; agentId?: string; theme?: 'light' | 'dark'; initialUserId?: string; isTeacher?: boolean; isStudent?: boolean; } /** * Helper function to create configuration for the Education Module * This is useful for maintaining consistent configuration across components */ export declare function createEducationModuleConfig(config?: Partial): EducationModuleConfig; /** * Function to initialize the education module in an external system * Returns tools for working with the education module */ export declare function initializeEducationModule(config?: Partial): { config: EducationModuleConfig; version: string; name: string; createTeacherView: () => { type: string; config: { isTeacher: boolean; apiBaseUrl?: string; agentId?: string; theme?: "light" | "dark"; initialUserId?: string; isStudent?: boolean; }; }; createStudentView: () => { type: string; config: { isStudent: boolean; apiBaseUrl?: string; agentId?: string; theme?: "light" | "dark"; initialUserId?: string; isTeacher?: boolean; }; }; }; export default initializeEducationModule;