import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/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)