import { WidgetBase } from "@csnext/cs-client";
import { DocDatasource } from "../../datasources/doc-datasource";
import { IFormObject } from '@csnext/cs-core';
import { GraphDocument } from "../../classes/document/graph-document";
import { GraphElement } from '@csnext/cs-data';
export default class DocumentEditor extends WidgetBase {
    openEntity(entity: GraphElement): void;
    private getEntityColor;
    updateDocument(): void;
    approvedObservations(): (GraphElement<import("@csnext/cs-data").BaseElementProperties> | undefined)[] | undefined;
    approvedElements(): (GraphElement<import("@csnext/cs-data").BaseElementProperties> | undefined)[] | undefined;
    get formDef(): IFormObject;
    document?: GraphDocument | null;
    get source(): DocDatasource | undefined;
    constructor();
    contentLoaded(): void;
    mounted(): void;
}
