/// <reference types="react" />
import { FlowViewEdge, FlowViewNode } from "../constants";
import { Edge, Node } from 'reactflow';
import { LayoutOptions, NodeMapping, SelectType } from './constants';
export declare function convertMappingFrom(nodes: FlowViewNode[], edges: FlowViewEdge[], zoom: number): NodeMapping;
export declare function setNodePosition(nodes: Node[], edges: Edge[], autoLayout: boolean, layoutOptions: LayoutOptions): {
    _nodes: Node[];
    _edges: Edge[];
};
export declare function sortEdges(edges: Edge[]): Edge[];
export declare function getRenderEdges(edges: FlowViewEdge[]): {
    id: string;
    source: string;
    target: string;
    sourceHandle: string | null | undefined;
    targetHandle: string | null | undefined;
    type: string;
    animated: boolean | undefined;
    select: SelectType | import("../constants").SelectType;
    label: import("react").ReactNode;
    data: any;
    className: string;
}[];
export declare const getRenderData: (mapping: NodeMapping, edges: FlowViewEdge[], autoLayout: boolean, layoutOptions: LayoutOptions) => {
    nodes: Node[];
    edges: Edge[];
};
