export namespace ProfileCourseData { export { getCollection }; export { save }; export { getOne }; export { getAll }; export { deleteOne }; export { getOneByProfileAndCourseId }; export { getByProfileId }; export { getByCourseId }; } export type DocType = import("./index.js").ProfilesCourse; /** * @param {import("firebase/firestore").Firestore} db * @returns {CollectionReference} */ declare function getCollection(db: import("firebase/firestore").Firestore): CollectionReference; /** * @param {import("firebase/firestore").Firestore} db * @param {DocType|Partial} data * @param {string} [uid=""] * @returns {Promise} Returns the saved or updated ProfilesCourse instance. */ declare function save(db: import("firebase/firestore").Firestore, data: DocType | Partial, uid?: string | undefined): Promise; /** * @param {import("firebase/firestore").Firestore} db * @param {string} uid * @returns {Promise} Returns ProfilesCourse instances. */ declare function getOne(db: import("firebase/firestore").Firestore, uid: string): Promise; /** * @param {import("firebase/firestore").Firestore} db * @returns {Promise} Returns an array of ProfilesCourse instances. */ declare function getAll(db: import("firebase/firestore").Firestore): Promise; /** * @param {import("firebase/firestore").Firestore} db * @param {string} uid * @returns {Promise} True if delete operation was successful, otherwise it throws an error. */ declare function deleteOne(db: import("firebase/firestore").Firestore, uid: string): Promise; /** * @param {import("firebase/firestore").Firestore} db * @param {string} profileId * @param {string} courseId * @returns {Promise} Returns an array of ProfilesCourse instances. */ declare function getOneByProfileAndCourseId(db: import("firebase/firestore").Firestore, profileId: string, courseId: string): Promise; /** * @param {import("firebase/firestore").Firestore} db * @param {string} courseId * @returns {Promise} */ declare function getByProfileId(db: import("firebase/firestore").Firestore, courseId: string): Promise; /** * @param {import("firebase/firestore").Firestore} db * @param {string} courseId * @returns {Promise} */ declare function getByCourseId(db: import("firebase/firestore").Firestore, courseId: string): Promise; import { ProfilesCourse } from "./index.js"; export {}; //# sourceMappingURL=utils.d.ts.map