import type { SchemaDefinitionProperty } from "mongoose"; type Primitive = string | number | boolean | Date; /** * A field can now be: * 1. UnifiedField → { mongoose: ..., zod: ... } * 2. Classic Mongoose definition (backward compatible) * 3. Primitive value (also backward compatible) */ type ModelField = { mongoose: SchemaDefinitionProperty; zod?: any; } | SchemaDefinitionProperty | Primitive; type ModelDefinition = Record; /** * Creates (or returns existing) Mongoose model. */ declare const createModel: (name: string, definition: ModelDefinition, route?: string) => any; export default createModel; //# sourceMappingURL=model.factory.d.ts.map