import { type mongoose } from "https://deno.land/x/mongoose@6.13.4/types/index.d.ts";
const { DocTypeFromUnion } = mongoose;
definition: T extends (Document<infer T1, infer T2, infer T3> & infer U) ? [U] extends [Document<T1, T2, T3> & infer U] ? IfUnknown<IfAny<U, false>, false> : false : false