import React from 'react';
import { DagreLayout } from '@antv/layout';
import { CommonConfig, EdgeData, NodeData } from '../../interface';
export declare type edgeType = string | {
    text?: string;
    subText?: string;
};
export declare type FundFlowEdgeData = EdgeData<edgeType>;
export declare type FundFlowNodeData = NodeData<{
    text?: string;
    icon?: string;
}>;
export interface FundFlowGraphConfig extends Omit<CommonConfig<DagreLayout>, 'data'> {
    data: {
        nodes: FundFlowNodeData[];
        edges: FundFlowEdgeData[];
    };
}
declare const FundFlowGraph: React.FC<FundFlowGraphConfig>;
export default FundFlowGraph;
