import { MainAreaWidget } from '@jupyterlab/apputils'; import { Message } from '@lumino/messaging'; import { Panel, TabBar, Widget } from '@lumino/widgets'; export declare class PreviewMainAreaWidget extends MainAreaWidget { /** * Handle on the preview widget */ protected static previewWidget: PreviewMainAreaWidget | null; constructor(options: MainAreaWidget.IOptions & { isPreview?: boolean; }); /** * Dispose screen as a preview screen */ static disposePreviewWidget(isPreview: PreviewMainAreaWidget): void; /** * Pin the preview screen if user clicks on tab title */ static pinWidget(tabPosition: number, tabBar: TabBar, diffWidget: PreviewMainAreaWidget): void; /** * Callback just after the widget is attached to the DOM */ protected onAfterAttach(msg: Message): void; /** * Callback just before the widget is detached from the DOM */ protected onBeforeDetach(msg: Message): void; /** * Callback on click event in capture phase */ _onClick(): void; }