import * as React from "react"; import { Notebook, NotebookPanel } from "@jupyterlab/notebook"; import { ICellModel } from "@jupyterlab/cells"; export declare const RESERVED_CELL_NAMES: string[]; interface IProps { notebook: NotebookPanel; activeCellIndex: number; cellModel: ICellModel; stepName?: string; cellMetadata?: any; parentBlockName?: string; } interface IState { showEditor: boolean; currentActiveCellMetadata: IKaleCellMetadata; allBlocks?: string[]; prevBlockName?: string; wrapperClass?: string; stepNameErrorMsg?: string; } interface IKaleCellMetadata { blockName: string; prevBlockNames?: string[]; } export declare class CellMetadataEditor extends React.Component { state: IState; editorRef: React.RefObject; constructor(props: IProps); componentDidMount(): void; componentWillUnmount(): void; updateCurrentCellType: (value: string) => Promise; moveEditor(): void; componentDidUpdate: (prevProps: Readonly, prevState: Readonly) => Promise; updateClassName: () => void; readAndShowMetadata: () => void; getPreviousBlock: (notebook: Notebook, current: number) => string; getAllBlocks: (notebook: Notebook) => string[]; updateCurrentBlockName: (value: string) => Promise; updatePrevBlocksNames: (previousBlocks: string[]) => Promise; getKaleCellTags: (notebook: Notebook, index: number, key: string) => { blockName: string; prevBlockNames: string[]; }; setKaleCellTags: (notebookPanel: NotebookPanel, index: number, key: string, value: IKaleCellMetadata, save: boolean) => void; updateKaleCellTags: (notebookPanel: NotebookPanel, oldBlockName: string, newBlockName: string) => void; toggleEditor(): void; getColor(name: string): string; onBeforeUpdate: (value: string) => boolean; render(): JSX.Element; } export {};