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<import("@csnext/cs-data").BaseElementProperties> | undefined)[] | undefined;
    approvedElements(): (GraphElement<import("@csnext/cs-data").BaseElementProperties> | undefined)[] | undefined;
    document?: GraphDocument | null;
    get source(): DocDatasource | undefined;
    updateForm(): void;
    documentChanged(): void;
    contentLoaded(): void;
    mounted(): void;
}
