import { LitElement } from 'lit'; import type { TemplateResult } from 'lit'; import type * as monaco from '@nvidia-elements/monaco'; import type { Monaco } from '@nvidia-elements/monaco'; /** * Base class for Monaco editor wrapper custom elements. * @cssprop --background * @cssprop --min-height * @event canceled - Dispatched when the editor cancels initialization. * @event ready - Dispatched when the editor finishes initialization and becomes ready. */ export declare abstract class BaseMonacoEditor extends LitElement { #private; /** @private */ _internals: ElementInternals; static styles: import("lit").CSSResult[]; /** * Provides access to the Monaco Editor instance. */ get editor(): T | undefined; /** * Provides access to the Monaco Editor API. */ get monaco(): Monaco | undefined; protected abstract _createEditor(container: HTMLElement, monaco: Monaco): T; connectedCallback(): Promise; disconnectedCallback(): void; abstract render(): TemplateResult; }