import { Edge as FlowEdge } from '@xyflow/react';
import { FlowEdgeData, MappedEdge, MappedNode, Node as NodeData, NodeHierarchyDataMap, Workflow } from '../../../../types/src/graph-view';

export declare const mapNodeData: (node: NodeData) => MappedNode;
export declare const mapEdgeData: (edge: FlowEdgeData, nodes: NodeData[]) => MappedEdge;
export declare const mapData: (data: Workflow, initialSelectedNode?: string[]) => {
    edges: MappedEdge[];
    nodes: {
        selected: boolean | undefined;
        id: string;
        position: import('@xyflow/react').XYPosition;
        data: import('../../../../types/src/graph-view').FlowNodeData;
        sourcePosition?: import('@xyflow/react').Position;
        targetPosition?: import('@xyflow/react').Position;
        hidden?: boolean;
        dragging?: boolean;
        draggable?: boolean;
        selectable?: boolean;
        connectable?: boolean;
        deletable?: boolean;
        dragHandle?: string;
        width?: number;
        height?: number;
        initialWidth?: number;
        initialHeight?: number;
        parentId?: string;
        zIndex?: number;
        extent?: "parent" | import('@xyflow/react').CoordinateExtent;
        expandParent?: boolean;
        ariaLabel?: string;
        origin?: import('@xyflow/react').NodeOrigin;
        handles?: import('@xyflow/system').NodeHandle[];
        measured?: {
            width?: number;
            height?: number;
        };
        type?: string | undefined;
        style?: import('react').CSSProperties;
        className?: string;
        resizing?: boolean;
        focusable?: boolean;
        ariaRole?: import('react').AriaRole;
        domAttributes?: Omit<import('react').HTMLAttributes<HTMLDivElement>, "id" | "style" | "className" | "draggable" | "role" | "aria-label" | keyof import('react').DOMAttributes<HTMLDivElement>>;
    }[];
};
export declare const isDecorationEdge: (edge: FlowEdge) => boolean;
export declare const isSameEdges: (edge1: FlowEdgeData, edge2: FlowEdgeData) => boolean;
export declare const getLayoutedElements: (nodes: MappedNode[], edges: FlowEdge[]) => Promise<{
    edges: MappedEdge[];
    hierarchyData: NodeHierarchyDataMap;
    nodes: MappedNode[];
}>;
export declare const getOriginalEdgeData: (edges: FlowEdge[]) => {
    fromNode: string;
    fromTransition: string | undefined;
    toNode: string;
}[];
export declare const isStartWithVowel: (text: string) => boolean;
