import { WidgetBase } from '@csnext/cs-client';
import { DocDatasource } from '../../datasources/doc-datasource';
import { IFormOptions } from '@csnext/cs-core';
import { GraphElement } from '@csnext/cs-data';
import { DataGridOptions } from '../data-grid/data-grid-options';
export default class ElementEditor extends WidgetBase {
    formDef: IFormOptions | null;
    openEntity(entity: GraphElement): void;
    private getEntityColor;
    openViewer(element: GraphElement): void;
    selectElement(e: GraphElement, options?: DataGridOptions): Promise<void>;
    saveElement(): void;
    document?: GraphElement | null;
    source: DocDatasource | null;
    updateForm(): void;
    documentChanged(): void;
    contentLoaded(): void;
    mounted(): Promise<void>;
}
