export namespace courseConverter { function fromFirestore(snapshot: any): Course; function toFirestore(course: any): any; } export function saveCourse(db: import("firebase/firestore").Firestore, courseData: Course): Promise>; export function getCourseById(db: import("firebase/firestore").Firestore, courseId: string): Promise; export function AdmingetAllCourseInfo(db: import("firebase/firestore").Firestore): Promise>; export function UsergetAllCourseInfo(db: import("firebase/firestore").Firestore): Promise>; export function deleteCourseById(db: import("firebase/firestore").Firestore, courseId: string): Promise; export function getChaptersByCourseId(db: import("firebase/firestore").Firestore, courseId: string): Promise>; export function updateChapterWithCourseId(db: import("firebase/firestore").Firestore, courseId: string, updatedChapter: any): Promise; export function updateAllChapterByCourseId(db: import("firebase/firestore").Firestore, courseId: string, chapters: any[]): Promise; export function addChapterToCourse(db: import("firebase/firestore").Firestore, courseId: string, newChapter: any): Promise; export function uploadImageAndGetUrl(imageFile: File): Promise; export function updateCourseWithoutChapterWithCourseId(db: import("firebase/firestore").Firestore, courseId: string, courseData: Partial): Promise; import { Course } from "./index.js"; //# sourceMappingURL=utils.d.ts.map