/** * Element-instantiation machinery for the adaptive chatbot. * * Originally added in runtime-sdk; moved here in two passes: * - Phase 6c: store / handlers / fetcher / envelope / wire types * (every consumer was the chat surface). * - Phase 6c.1: Portable Text vocab + safe renderer (`renderBlocks`, * `BlockNode`, etc.). Generic by shape but zero non-chat consumers * in practice, so leaving it in the universal CDN bundle made every * non-chat customer pay the bundle cost for nothing — the * runtime-as-OS principle says don't ship interfaces with no * consumers in the universal bundle. * * If a second adaptive ever needs Portable Text rendering, promote * `blocks.ts` + `blockRenderer.ts` to a leaf shared package * (`@syntrologie/portable-text`) and have both consumers depend on it. * Do NOT push it back into runtime-sdk. */ export { ActionHandler } from './ActionHandler'; export type { RenderOptions } from './blockRenderer'; export { renderBlocks } from './blockRenderer'; export type { BlockNode, CodeBlock, HeadingBlock, HeadingLevel, LinkMark, ListBlock, ListItemBlock, ListStyle, MarkType, ParagraphBlock, TextSpan, } from './blocks'; export { ElementInstanceStore } from './ElementInstanceStore'; export type { ElementHandlerContext, ElementLifecycle, ElementMutationContext, ElementTypeHandler, ValidateResult, } from './ElementTypeHandler'; export { decodeMutationEnvelope } from './envelope'; export type { FetchMountedElementsOptions } from './fetcher'; export { fetchMountedElements } from './fetcher'; export type { CompositionalAppendEvent, CompositionalPatchEvent, CompositionalRemoveEvent, } from './ItemHandler'; export { COMPOSITIONAL_APPEND_EVENT, COMPOSITIONAL_PATCH_EVENT, COMPOSITIONAL_REMOVE_EVENT, ItemHandler, } from './ItemHandler'; export { getElementInstanceStore, setElementInstanceStore } from './store-singleton'; export { TileHandler } from './TileHandler'; export type { AgentProvenance, ElementMutation, ElementState, MountedElement, MountedElementsResponse, MountMutation, Mutation, MutationEnvelope, NoPlacement, ParentTilePlacement, PatchMutation, Placement, SelectorPlacement, SlotPlacement, UnmountMutation, } from './types'; //# sourceMappingURL=index.d.ts.map