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