/** * Public types for the agent-web-sdk. * @packageDocumentation */ /** * Public-facing type for custom events sent by the agent. */ export interface CustomAgentEvent { /** * The name of the custom event */ name: string; /** * The data payload of the custom event. * Can be either a string or a record of strings/numbers/booleans/objects */ data: string | Record>; } /** * Re-export core types from their source files */ export type { ConnectAgentConfig, AgentConnectionController } from './connectAgent'; export type { OpenWebEmbedOptions } from './openEmbed';