import { type BlockInstance } from "https://deno.land/x/blocks@1.101.14/engine/block.ts";
Type Parameters
optional
TManifest extends AppManifest = AppManifestoptional
block extends BlockFromKey<key, TManifest> = BlockFromKey<key, TManifest>definition: BlockFunc<key, TManifest, block> extends (...args: infer Props) => PromiseOrValue<infer TReturn> ? TReturn extends ReturnType<ComponentFunc<any>> ? PreactComponent<Props[0]> : TReturn : unknown