/** * SQL Mode 2 — Type Coercion * * Automatic value conversion to MongoDB types. * Order: ObjectId → Date → Boolean → Number → Array → String */ /** * Coerce a value to the appropriate MongoDB type. * Applied to all values before pipeline injection. */ export declare function coerceValue(value: unknown): unknown; /** * Coerce values in a filter object recursively. */ export declare function coerceFilterValues(filter: Record): Record; /** * Check if a string looks like an ObjectId but has invalid chars. * Returns true if it's 24 chars but NOT all hex. */ export declare function isAlmostObjectId(value: string): boolean; //# sourceMappingURL=coercion.d.ts.map