type Obj = { [key: string]: any; }; export type QueryObj = Partial | { _id: string | { $in: string[]; }; _deleted?: Date | { $ne: "hack"; }; }; export type UpsertFunction = (collection: string, query: QueryObj, update: Partial) => Promise; export type FindFunction = (collection: string, query: QueryObj) => Promise; export type InsertFunction = (collection: string, insert: T) => Promise; export type DeleteFunction = (collection: string, _id: string) => Promise; export type SaveFunction = (collection: string, _id: string, update: Partial) => Promise; export {}; //# sourceMappingURL=DbFunctions.d.mts.map