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