/** * Adaptive Chatbot - Runtime Module * * Runtime manifest for the AI chat assistant adaptive. * Uses @syntrologie/chat for the UI — no React dependency. * * Chat surfaces are config-driven: customers reference the chat-bar * widget id (`adaptive-chatbot:chat-bar`) from `slots.drawer.lid` (to * replace the launcher FAB) or any other slot's `lid` / tile slot. The * adaptive no longer auto-registers a canvas lid renderer. */ import { type MountPlumbing } from '@syntrologie/sdk-contracts'; import './AdaptiveChatBar'; import './AdaptiveChatTrail'; import { acceptHostUi, activateHostAgent } from './hostAgentController'; /** * LeaveAMessageMountable — mounts `` * (adaptive-chatbot:leave-a-message). Escalation-only async human handoff: * resolves the vendor bridge named in `supportChat.vendor` (per FEAT * docs/superpowers/specs/2026-08-13-async-handoff-crisp-design.md) and * passes the mount plumbing's `runtime` through exactly as * `NavWidgetLitMountable` does — the element needs it to publish * `supportchat:reply_received` on the runtime EventBus so tile * `notifications` rules can badge the "You got mail!" toast. */ export declare const LeaveAMessageMountable: { mount(container: HTMLElement, config?: (Record & MountPlumbing) | null): () => void; /** * I1 (final-review fixes 2026-08-13): without this, `WidgetRegistry` * falls back to unmount+remount on every config patch (e.g. the agent * editing the prefilled `message` mid-conversation), which destroys the * live element and with it the visitor's in-flight escalation state * (email already captured, an operator reply already sitting in * `mail`/`flipped`). Mirrors `AdaptiveChatBarMountable.update`'s * pattern: patch the presentational props in place, touch nothing * else. `state`, `bridge`, and the operator-message thread are NEVER * reset here. */ update(container: HTMLElement, config?: (Record & MountPlumbing) | null): void; }; export { ElementInstanceStore, TileHandler } from './elements'; export { getElementInstanceStore, setElementInstanceStore } from './elements/store-singleton'; export declare const runtime: { id: string; version: string; name: string; description: string; executors: never[]; onActivate: typeof activateHostAgent; acceptHostUi: typeof acceptHostUi; widgets: ({ id: string; component: { mount(container: HTMLElement, mountConfig?: Record): () => void; }; metadata: { name: string; description: string; icon: string; }; } | { id: string; component: { mount(container: HTMLElement, config?: (Record & MountPlumbing) | null): () => void; /** * I1 (final-review fixes 2026-08-13): without this, `WidgetRegistry` * falls back to unmount+remount on every config patch (e.g. the agent * editing the prefilled `message` mid-conversation), which destroys the * live element and with it the visitor's in-flight escalation state * (email already captured, an operator reply already sitting in * `mail`/`flipped`). Mirrors `AdaptiveChatBarMountable.update`'s * pattern: patch the presentational props in place, touch nothing * else. `state`, `bridge`, and the operator-message thread are NEVER * reset here. */ update(container: HTMLElement, config?: (Record & MountPlumbing) | null): void; }; metadata: { name: string; description: string; icon: string; }; })[]; }; export default runtime; //# sourceMappingURL=runtime.d.ts.map