export type ContentType = "text" | "video" | "h5p"; export interface CourseContent { id?: string; title: string; description?: string; type: ContentType; content: any; order: number; createdAt: string; updatedAt: string; videoUrl?: string; videoDescription?: string; h5pUrl?: string; } export declare const useCourseContent: (agentId: string, apiUrl?: string) => { content: CourseContent | null; isLoading: boolean; error: string | null; fetchContent: (courseId: string, contentId: string) => Promise; fetchCourseContents: (courseId: string) => Promise; fetchContentById: (courseId: string, contentId: string) => Promise; createContent: (courseId: string, content: CourseContent) => Promise; updateContent: (courseId: string, contentId: string, content: Partial) => Promise; deleteContent: (courseId: string, contentId: string) => Promise; reorderContents: (courseId: string, contentOrders: { id: string; order: number; }[]) => Promise; };