import { ShapeOptions } from '@antv/g6-core';
import { IMenu } from '@csnext/cs-core';
import { GraphElement } from '@csnext/cs-data';
import { DocDatasource } from '../..';
export declare class GraphShape {
    name: string;
    shape: ShapeOptions;
    extendType?: string;
    menu?: IMenu;
    hideLabel?: boolean;
    actions?: {
        [action: string]: (edge: GraphElement, source: DocDatasource) => Promise<boolean>;
    };
}
export declare class GraphNodeShape extends GraphShape {
}
export declare class GraphEdgeShape extends GraphShape {
}
export declare class GraphShapeDefinitions {
    nodes: GraphNodeShape[];
    edges: GraphEdgeShape[];
}
