import { N as NexorClient, d as ChatInitOptions, c as ChatHandle } from './config-C39P5Aax.js'; export { a as ChatChannelKey, b as ChatChannels, e as ChatLeadCapture } from './config-C39P5Aax.js'; /** * Chat widget orchestrator. * * Responsibilities (everything else lives in sibling files): * - apply defaults / validate options (`./config`) * - manage session id (`./session`) * - build DOM (`./dom`) * - inject CSS (`./dom`) * * What stays here: * - the open/close state machine * - wiring DOM events to the NexorClient.chat() call * - lead-capture submission flow * - the public ChatHandle returned to callers */ /** * Mount the chat widget and return a handle for programmatic control. * * @param client The NexorClient instance that will send turns. * @param options User-facing widget configuration. See ChatInitOptions. * @throws If called outside a browser, or without a workflowId. */ declare function initChat(client: NexorClient, options: ChatInitOptions): ChatHandle; export { ChatHandle, ChatInitOptions, initChat };