import React from 'react';
import { CompactBoxLayout } from '../../layout';
import { CommonConfig, NodeCfg, NodeConfig, G6TreeGraphData, FetchLoading, MarkerCfg, IGraph, IGroup, CardNodeCfg, IShapeStyle } from '../../interface';
export type FileTreeMarkerCfg = Pick<MarkerCfg, 'position' | 'style' | 'show'>;
export interface FileTreeGraphConfig extends Omit<CommonConfig<CompactBoxLayout>, 'data' | 'nodeCfg' | 'markerCfg'>, FetchLoading {
    data: G6TreeGraphData;
    /** 展开层级，默认 100 */
    level?: number;
    markerCfg?: FileTreeMarkerCfg | ((cfg: CardNodeCfg, graph: IGraph | IGroup) => FileTreeMarkerCfg);
    nodeCfg?: NodeCfg & {
        /** 点击展开时异步获取数据 */
        getChildren?: (nodeCfg: NodeConfig) => Promise<G6TreeGraphData['children']>;
        /** 装饰线 */
        lineStyle?: (nodeCfg: NodeConfig) => IShapeStyle;
    };
}
declare const FileTreeGraph: React.FC<FileTreeGraphConfig>;
export default FileTreeGraph;
