interface mongoose.AcceptsDiscriminatorimport { type mongoose } from "https://deno.land/x/mongoose@8.7.0/types/models.d.ts"; const { AcceptsDiscriminator } = mongoose; Methodsdiscriminator<D>(name: string | number,schema: Schema,value?: | string | number | ObjectId | DiscriminatorOptions,): Model<D>Adds a discriminator type. discriminator<T, U>(name: string | number,schema: Schema<T, U>,value?: | string | number | ObjectId | DiscriminatorOptions,): U