import type { RequestTransportCallback } from '@yandex-int/messenger.channels'; import { Context } from '../../libs/Templater'; import * as IWidget from '../../types'; import type { Props } from './template'; export declare abstract class BaseUI implements IWidget.UIPlugin { protected template: (context: Context) => string; protected ready: boolean; protected destroyed: boolean; /** * @nodoc */ protected widgetProxy?: IWidget.WidgetProxy; protected _context?: Context; protected contextProvider?: (widget: IWidget.WidgetProxy) => Partial; protected initialized: boolean; constructor(template: (context: Context) => string); protected render(node: HTMLElement): void; /** * @private */ init(_: IWidget.Options, widgetProxy: IWidget.WidgetProxy): void; /** * @private */ abstract getChildWindowTransport(params: IWidget.GetChildWindowTransportParams, callback: RequestTransportCallback): void; protected get context(): Context; protected get options(): Partial; /** * @private */ LCClose(): void; protected iframeOpen(props?: Partial): void; protected toggleFullscreen(enabled: boolean): void; protected showMount(props?: Partial): void; protected showError(props?: Partial): void; protected showLoader(props?: Partial): void; protected destroy(): void; private handleFullscreenOn; private handleFullscreenOff; private handleErrorRetryClick; }