import { type BlockFromKey } from "https://deno.land/x/blocks@1.57.9/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