import { LitElement, PropertyValues } from 'lit'; import '../code-editor/code-editor'; import '../code-snippet/code-snippet'; import '../icon-button/icon-button'; import '../typography/typography'; declare global { interface HTMLElementTagNameMap { 'cv-notebook-cell': CovalentNotebookCell; } } /** * Notebook cell * * @slot - This element has a slot */ export declare class CovalentNotebookCell extends LitElement { /** * The index of the cell in a notebook */ index?: number; /** * Code written in the cell */ code: string; /** * Language of the code */ language: string; /** * Whether the cell is loading */ loading: boolean; /** * Whether the cell is selected */ selected: boolean; /** * Number of times the cell was exceuted */ timesExecuted: number; /** * Whether the editor is shown */ hideEditor: boolean; /** * Whether the execution count is shown */ hideCount: boolean; /** * Theme for the code editor */ editorTheme: string; private _editor; private _editorFocused; private _isMenuOpen; private _menuMaxHeight; private _menuPosition; editorOptions: { minimap: { enabled: boolean; }; wordWrap: string; fontSize: string; glyphMargin: boolean; folding: boolean; lineHeight: number; lineNumbers: string; lineDecorationsWidth: number; lineNumbersMinChars: number; renderIndentGuides: boolean; renderLineHighlight: string; overviewRulerLanes: number; hideCursorInOverviewRuler: boolean; scrollbar: { alwaysConsumeMouseWheel: boolean; vertical: string; }; }; static styles: import("lit").CSSResult[]; constructor(); closeContextMenu(): void; connectedCallback(): void; disconnectedCallback(): void; handleCodeChange(e: CustomEvent): void; setEditorFocus(e: CustomEvent, setFocus: boolean): void; setEditorInstance(e: CustomEvent): void; showContextMenu(e: MouseEvent): void; protected updated(changedProperties: PropertyValues): void; getEditorBgColor(): string; renderEditor(): import("lit-html").TemplateResult<1>; renderOutput(): import("lit-html").TemplateResult<1>; renderExecutionCount(): import("lit-html").TemplateResult<1>; protected render(): import("lit-html").TemplateResult<1>; } export default CovalentNotebookCell; //# sourceMappingURL=notebook-cell.d.ts.map