import { NotebookPanel } from '@jupyterlab/notebook'; import { CommandRegistry } from '@lumino/commands'; export declare function registerGistPublishFeature(panel: NotebookPanel, commands: CommandRegistry, showPublication: boolean): void; export declare function saveWidgetsState(panel: NotebookPanel, commands: CommandRegistry): Promise;