import { Document, ObjectIdToString } from "mongoose";

//#region src/utils/ensureMongoDocumentToObject.d.ts

/**
 * If the dictionary is a mongoose document, convert it to an object
 * @param potentialDocument - The potential document to convert.
 * @returns The potential document converted to an object.
 */
declare const ensureMongoDocumentToObject: <T extends object | Document>(potentialDocument: T) => ObjectIdToString<T>;
//#endregion
export { ensureMongoDocumentToObject };
//# sourceMappingURL=ensureMongoDocumentToObject.d.ts.map