import { type mongoose } from "https://deno.land/x/mongoose@6.13.4/types/index.d.ts";
const { DiscriminatorSchema } = mongoose;
definition: DisSchema extends Schema<infer DisSchemaEDocType, infer DisSchemaM, infer DisSchemaInstanceMethods, infer DisSchemaQueryhelpers, infer DisSchemaVirtuals, infer DisSchemaStatics> ? Schema<Omit<DocType, keyof DisSchemaEDocType> & DisSchemaEDocType, DiscriminatorModel<DisSchemaM, M>, DisSchemaInstanceMethods | TInstanceMethods, DisSchemaQueryhelpers | TQueryHelpers, DisSchemaVirtuals | TVirtuals, DisSchemaStatics & TStaticMethods> : Schema<DocType, M, TInstanceMethods, TQueryHelpers, TVirtuals, TStaticMethods>