import { ICustomElementViewModel } from 'aurelia';

/**
 * CodeMirror
 */
declare class CodeMirror implements ICustomElementViewModel {
    private readonly _element;
    private _codeMirror?;
    codeArea: HTMLDivElement;
    /** Code */
    code?: string;
    constructor(_element: HTMLElement);
    attached(): void | Promise<void>;
    codeChanged(newValue: string, oldValue: string): void;
    /** Set the cursor at the end of existing content */
    private _setCursorAtEnd;
    detaching(): void | Promise<void>;
}

export { CodeMirror };
