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