import { EventHandler } from './event-emitter'; import { App, ChatPosition, InitialElement, AppTheme } from './app'; import { MixedObject } from '../types'; export declare const createFacade: (instance: App) => { on(type: string, handler: EventHandler): void; once(type: string, handler: EventHandler): void; off(type?: string, handler?: EventHandler): void; offAll(): void; showChatbox(): void; hideChatbox(): void; showButton(): void; hideButton(): void; setButtonText(text: string): void; showTeaser(): void; hideTeaser(): void; setTeaserText(text: string): void; setPosition(position: ChatPosition): void; setTheme(theme: AppTheme): void; showActionButtons(): void; hideActionButtons(): void; setActionButtons(buttons: MixedObject[]): void; getContext(key: string): Promise; setContext(key: string, value: any): Promise; getConfig(): MixedObject; getClientConfig(): MixedObject; setUnreadCounter(amount: number): void; increaseUnreadCounter(amount: number): void; triggerElement(options: { successor: string; showChatbox?: boolean; suppressInitialElement?: boolean; }): void; setInitialElement(options: InitialElement): void; getInitialElement(): InitialElement; isChatboxVisible(): boolean; destroy(): void; isDestroyed(): boolean; isReady(): boolean; setLocale(locale: string): void; };