import type { observersConfigType } from './types'; import type { BubbleTheme } from './features/bubble'; import type { TemplateConfig } from './templates/types'; import type { WidgetFeatureOverrides } from '@/types/features'; import type { WidgetAccessToken } from './auth/accessToken'; import type { WidgetScope } from '@/chat'; import type { WidgetSessionConfig } from './types/session'; type BotProps = { deploymentId: string; chatflowid?: string; previewMode?: boolean; apiHost?: string; onRequest?: (request: RequestInit) => Promise; chatflowConfig?: Record; observersConfig?: observersConfigType; theme?: BubbleTheme; features?: WidgetFeatureOverrides; language?: string; accessToken?: WidgetAccessToken; session?: WidgetSessionConfig; scope?: WidgetScope; }; /** * Initialize from TemplateConfig (Core sends template, theme, flowId, displayMode, fullPageStyle). * SDK resolves template and theme at runtime. */ export declare const executeFromConfig: (config: TemplateConfig & { observersConfig?: observersConfigType; id?: string; }) => void; export declare const executeFull: (props: BotProps & { id?: string; variant?: 'luna' | 'erebus' | 'neptune'; fullPageStyle?: 'luna' | 'erebus' | 'neptune'; withSidebar?: boolean; }) => void; export declare const execute: (props: BotProps) => void; export declare const destroy: () => void; type Torukworkflow = { executeFromConfig: typeof executeFromConfig; executeFull: typeof executeFull; execute: typeof execute; destroy: typeof destroy; }; export declare const parseTorukworkflow: () => { executeFromConfig: (config: TemplateConfig & { observersConfig?: observersConfigType; id?: string; }) => void; executeFull: (props: BotProps & { id?: string; variant?: 'luna' | 'erebus' | 'neptune'; fullPageStyle?: 'luna' | 'erebus' | 'neptune'; withSidebar?: boolean; }) => void; execute: (props: BotProps) => void; destroy: () => void; }; export declare const injectTorukworkflowInWindow: (bot: Torukworkflow) => void; export {};