import { BaseCustomWebComponentConstructorAppend, TypedEvent } from '@node-projects/base-custom-webcomponent';
import { ICodeView } from './ICodeView.js';
import { IActivateable } from '../../../interfaces/IActivateable.js';
import { IStringPosition } from '../../services/htmlWriterService/IStringPosition.js';
import { IUiCommandHandler } from '../../../commandHandling/IUiCommandHandler.js';
import { IUiCommand } from '../../../commandHandling/IUiCommand.js';
export declare class CodeViewSimple extends BaseCustomWebComponentConstructorAppend implements ICodeView, IActivateable, IUiCommandHandler {
    dispose(): void;
    canvasElement: HTMLElement;
    elementsToPackages: Map<string, string>;
    onTextChanged: TypedEvent<string>;
    private _text;
    static readonly style: CSSStyleSheet;
    static readonly template: HTMLTemplateElement;
    executeCommand(command: IUiCommand): void;
    canExecuteCommand(command: IUiCommand): boolean;
    ready(): Promise<void>;
    focusEditor(): void;
    activated(): void;
    update(code: any): void;
    getText(): string;
    setSelection(position: IStringPosition): void;
}
