import { BubbleProps } from './features/bubble'; import { PopupProps } from './features/popup'; import { BotProps } from './components/Bot'; import { close, hidePreviewMessage, open, reset, setContextVariables, showPreviewMessage, toggle, setInputValue } from './features/commands'; export declare const initStandard: (props: BotProps & { id?: string; }) => void; export declare const initPopup: (props: PopupProps) => void; export declare const initBubble: (props: BubbleProps) => void; type Agent = { initStandard: typeof initStandard; initPopup: typeof initPopup; initBubble: typeof initBubble; close: typeof close; hidePreviewMessage: typeof hidePreviewMessage; open: typeof open; reset: typeof reset; setContextVariables: typeof setContextVariables; showPreviewMessage: typeof showPreviewMessage; toggle: typeof toggle; setInputValue: typeof setInputValue; }; declare global { interface Window { Agent?: Agent; } } export declare const parsePredictable: () => { initStandard: (props: BotProps & { id?: string; }) => void; initPopup: (props: PopupProps) => void; initBubble: (props: BubbleProps) => void; close: () => void; hidePreviewMessage: () => void; open: (options?: { prompt?: string | undefined; variables?: Record | undefined; } | undefined) => void; reset: () => void; setContextVariables: (variables: Record) => void; showPreviewMessage: (proactiveMessage?: Pick | undefined) => void; toggle: () => void; setInputValue: (value: string) => void; }; export declare const injectAgentInWindow: (agent: Agent) => void; export {}; //# sourceMappingURL=window.d.ts.map