import { ObjectID } from 'bson'; export declare const objectIdComparator: (a: ObjectID, b: string | ObjectID) => boolean; export declare const includesObjectID: (objectIds: ObjectID[], objectId: string | ObjectID) => boolean; export declare const asObjectID: (id: string) => ObjectID; export declare const asObjectIDs: (ids: string[]) => ObjectID[]; /** * Gets _id from the document else returns the value * @returns {string} */ export declare function getObjectId(value: { _id: ObjectID; } | string | ObjectID): string; //# sourceMappingURL=dao-utils.d.ts.map