import { type Block } from "https://deno.land/x/deco@1.75.1/mod.ts";
Type Parameters
optional
TBlockModule extends BlockModule<TDefaultExportFunc, TProvides, TSerializable> = BlockModule<any>optional
TDefaultExportFunc extends ResolverLike<TProvides> = ResolverLikeProperties
optional
defaultDanglingRecover: Resolver<TSerializable> | ResolverMiddleware<TSerializable>[]optional
defaultPreview: Resolver<PreactComponent, TSerializable, any>optional
defaultInvoke: Resolver<TSerializable, BlockInvocation, any>type: BType
optional
introspect: IntrospectParamsoptional
decorate: <TBlockModule extends BlockModule<TDefaultExportFunc, TProvides, TSerializable> = BlockModule<TDefaultExportFunc, TProvides, TSerializable>>(blockModule: TBlockModule, key: string) => TBlockModuleoptional
adapt: <TConfig = any>(blockModule: TBlockModule, key: string) => Resolver<TSerializable, TConfig, any> | ResolverMiddleware<TSerializable, TConfig, any>[]