import { type FeatureModuleSpec, FeatureRegistry } from '@contractspec/lib.contracts-spec/features'; import type { BlockConfig, PresentationSpec, PresentationTarget } from '@contractspec/lib.contracts-spec/presentations'; import React from 'react'; import { type ComponentMap, TransformEngine } from './transform-engine'; export declare function createEngineWithDefaults(): TransformEngine; export declare function renderFeaturePresentation(engine: TransformEngine, target: PresentationTarget, desc: PresentationSpec, options?: { componentMap?: ComponentMap; reactProps?: Record; renderBlockNote?: (docJson: unknown, blockConfig?: BlockConfig) => React.ReactElement; }): Promise; export declare function createFeatureModule(meta: FeatureModuleSpec['meta'], refs: Partial>): FeatureModuleSpec; export declare function registerFeature(registry: FeatureRegistry, feature: FeatureModuleSpec): FeatureRegistry;