import { Course } from '../types/course';

export interface LearningManagementProps {
    creatorId: number;
    className?: string;
    initialCourses?: Course[];
    onCreateCourse?: (course: Course) => Promise<Course | null>;
    onUpdateCourse?: (course: Course) => Promise<void>;
    onDeleteCourse?: (courseId: string) => Promise<void>;
    onFetchCourse?: (courseId: string) => Promise<Course | undefined>;
    onDeleteCourseFile?: ({ courseFileId, courseId, }: {
        courseFileId: string;
        courseId: string;
    }) => Promise<void>;
    onError?: (error: Error) => void;
    isLoading?: boolean;
    isCreatingCourse?: boolean;
}
export declare function LearningManagement({ creatorId, onCreateCourse, onUpdateCourse, onDeleteCourse, onFetchCourse, onDeleteCourseFile, onError, initialCourses, isLoading, isCreatingCourse, }: Readonly<LearningManagementProps>): import("react/jsx-runtime").JSX.Element;
