import { CommandRegistry } from '@lumino/commands'; import { IDisposable } from '@lumino/disposable'; import { DocumentRegistry } from '@jupyterlab/docregistry'; import { NotebookPanel, INotebookModel } from '@jupyterlab/notebook'; declare class ViewerButton implements DocumentRegistry.IWidgetExtension { private _commands; constructor(commands: CommandRegistry); createNew(panel: NotebookPanel): IDisposable; } export default ViewerButton;