import { interfaces } from '@theia/core/shared/inversify'; import { WebviewsMain, ThemeIcon } from '../../common/plugin-api-rpc'; import { RPCProtocol } from '../../common/rpc-protocol'; import { WebviewOptions, WebviewPanelOptions, WebviewPanelShowOptions } from '@theia/plugin'; import { ApplicationShell } from '@theia/core/lib/browser/shell/application-shell'; import { WebviewWidget } from './webview/webview'; import { Disposable } from '@theia/core/lib/common/disposable'; import { ViewColumnService } from '@theia/core/lib/browser/shell/view-column-service'; import { WidgetManager } from '@theia/core/lib/browser/widget-manager'; import { HostedPluginSupport } from '../../hosted/browser/hosted-plugin'; import { IconUrl } from '../../common/plugin-protocol'; export declare class WebviewsMainImpl implements WebviewsMain, Disposable { private readonly proxy; protected readonly shell: ApplicationShell; protected readonly widgetManager: WidgetManager; protected readonly pluginService: HostedPluginSupport; protected readonly viewColumnService: ViewColumnService; private readonly toDispose; constructor(rpc: RPCProtocol, container: interfaces.Container); dispose(): void; $createWebviewPanel(panelId: string, viewType: string, title: string, showOptions: WebviewPanelShowOptions, options: WebviewPanelOptions & WebviewOptions): Promise; hookWebview(view: WebviewWidget): void; addOrReattachWidget(widget: WebviewWidget, showOptions: WebviewPanelShowOptions): void; $disposeWebview(handle: string): Promise; $reveal(handle: string, showOptions: WebviewPanelShowOptions): Promise; $setTitle(handle: string, value: string): Promise; $setIconPath(handle: string, iconUrl: IconUrl | ThemeIcon | undefined): Promise; $setHtml(handle: string, value: string): Promise; $setOptions(handle: string, options: WebviewOptions): Promise; $postMessage(handle: string, value: any): Promise; $registerSerializer(viewType: string): void; $unregisterSerializer(viewType: string): void; protected restoreWidget(widget: WebviewWidget): Promise; protected readonly updateViewStates: import("lodash").DebouncedFunc<() => void>; private updateViewState; private getWebview; private tryGetWebview; } //# sourceMappingURL=webviews-main.d.ts.map