export type WidgetOpenOptions = { newConversation?: boolean; trigger?: string; position?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right'; contextualQuestion?: string; }; /** * Manages global API methods on the window object * Single responsibility: Setup and manage global widget API */ export declare class WidgetGlobalAPI { private static getIframeForInstance; private static postMessageToInstance; private static isInitialized; static initialize(): void; private static setupDeprecatedAPI; private static setupNewAPI; static closeCurrentlyOpenWidget(): void; static openCurrentlyClosedPopupWidget(optionsOrTrigger?: WidgetOpenOptions | string): void; static createNewThread(): void; static openContextualHelp(question: string, widgetOpenOptions?: WidgetOpenOptions): void; static restoreConversation(conversationId: string): void; static clearConversation(): void; }