import { type GuardList } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/utils/propertiesMatcher.ts";
definition: A extends { readonly type: TypeList; readonly subtype: infer B; spec?: { spec?: infer C; }; } ? ReadonlyArray<GuardAll<Omit<A, "type" | "spec"> & ({ type: B; spec: C; })>> : A extends { readonly type: TypeList; readonly subtype: infer B; spec?: { }; } ? ReadonlyArray<GuardAll<Omit<A, "type"> & ({ type: B; })>> : unknown