import { ShapeData } from '../../types';
import { Cell } from '@antv/x6';
import { NodeInterface } from 'aomao_engine';
import './index.css';
export declare type Options = {
    width?: number;
    height?: number;
    onChange?: (data: Array<ShapeData>) => void;
    onSelectedEditable?: (cell: Cell) => void;
};
declare class GraphEditor {
    #private;
    constructor(container: NodeInterface, options: Options);
    getData(): ShapeData[];
    getHierarchy(data: Array<ShapeData>): any[];
    setEditableNodeValue(value: string): void;
    render(data: Array<ShapeData>): void;
    didRender(): void;
    destroy(): void;
}
export default GraphEditor;
