type ChatLocale = 'sv' | 'en' | 'no' | 'sv-SE' | 'en-US' | 'nb-NO'; export interface ChatBotProps { /** * Either `publishableKey` (legacy / server-side rk_secret_*) OR `sessionToken` * (v1.2 Phase 11: short-lived JWT minted by your server via * POST /v1/chat/sessions). If both are provided, sessionToken wins. */ publishableKey?: string; /** * v1.2 Phase 11: 15-minute JWT for browser chat. Your server mints * this from a rk_secret_* key via POST /v1/chat/sessions. Prefer this * over passing a raw secret key to the browser. */ sessionToken?: string; companyId?: string; locale?: ChatLocale; placeholder?: string; suggestedPrompts?: string[]; maxHeight?: string; onUpgradeClick?: () => void; /** * Optional analytics hook. Called with a semantic event name and * (optionally) a props object for every trackable user action. * The widget ships no analytics SDK — consumers wire this to their * own provider (PostHog, GA, Segment, internal logger, etc.). */ onEvent?: (name: string, props?: Record) => void; } export declare function ChatBot({ publishableKey, sessionToken, companyId, locale, placeholder, suggestedPrompts, maxHeight, onUpgradeClick, onEvent, }: ChatBotProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=ChatBot.d.ts.map