import { type BlockFromKey } from "https://deno.land/x/deco@1.27.10/engine/block.ts";
Type Parameters
optional
TManifest extends DecoManifest = Manifestdefinition: TKey extends `${string}/${infer block}/${infer rest}` ? block extends BlockTypes<TManifest> ? block : BlockFromKey<`${block}/${rest}`, TManifest> : never