import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/index.d.ts";
const { DiscriminatorModel } = mongoose;
definition: T extends Model<infer T, infer TQueryHelpers, infer TInstanceMethods, infer TVirtuals> ? M extends Model<infer M, infer MQueryHelpers, infer MInstanceMethods, infer MVirtuals> ? Model<Omit<M, keyof T> & T, MQueryHelpers | TQueryHelpers, MInstanceMethods | TInstanceMethods, MVirtuals | TVirtuals> : M : M