import { FlowTree } from './flow-tree';
export declare class FlowGraph {
    readonly EDGE_SIZE = 75;
    readonly NODE_START = "NODE_START";
    readonly NODE_END = "NODE_END";
    readonly NODE_SIZE = 50;
    readonly NODE_PADDING = 50;
    private readonly tree;
    private readonly graph;
    private edgeIndex;
    constructor(tree: FlowTree);
    get dimensions(): {
        width: any;
        height: any;
    };
    get edges(): FlowGraph.Edge[];
    get nodes(): FlowGraph.Node[];
    private initBranch;
    private toPoints;
}
export declare namespace FlowGraph {
    interface Edge {
        readonly index: number;
        readonly points: string;
        readonly coords: {
            readonly x: number;
            readonly y: number;
        }[];
        readonly center: {
            readonly x: number;
            readonly y: number;
        };
        readonly head: string;
        readonly tail: string;
        readonly start?: boolean;
        readonly end?: boolean;
    }
    interface Node {
        readonly id: string;
        readonly version: string;
        readonly label?: string;
        readonly width: number;
        readonly height: number;
        readonly x: number;
        readonly y: number;
        readonly start?: boolean;
        readonly end?: boolean;
    }
}
