import { type mongoose } from "https://deno.land/x/mongoose@6.13.4/types/index.d.ts";
const { SchemaDefinitionWithBuiltInClass } = mongoose;
definition: T extends number ? NumberSchemaDefinition : T extends string ? StringSchemaDefinition : T extends boolean ? BooleanSchemaDefinition : T extends NativeDate ? DateSchemaDefinition : (Function | string)