import { TreeNode, TreePropTypes } from './props';
declare const _default: (props: TreePropTypes) => {
    flatData: {
        data: {
            [x: string]: unknown;
            children?: /*elided*/ any[];
        }[];
        schema: WeakMap<TreeNode, Record<string, unknown>> & Omit<WeakMap<TreeNode, Record<string, unknown>>, keyof WeakMap<any, any>>;
        nodeMap: Map<string, {
            [x: string]: unknown;
            children?: /*elided*/ any[];
        }> & Omit<Map<string, TreeNode>, keyof Map<any, any>>;
        childMap: WeakMap<TreeNode, {
            [x: string]: unknown;
            children?: /*elided*/ any[];
        }[]> & Omit<WeakMap<TreeNode, TreeNode[]>, keyof WeakMap<any, any>>;
        rootNodes: {
            [x: string]: unknown;
            children?: /*elided*/ any[];
        }[];
        levelLineSchema: {};
    };
    asyncNodeClick: (item: TreeNode) => Promise<boolean | (TreeNode | TreeNode[])>;
    deepAutoOpen: () => void;
    afterDataUpdate: (callFn: (d: any) => void) => void;
    registerNextLoop: (key: string, event: any, reset?: boolean) => void;
    rebuildData: (treeData: TreeNode[], cachedSchema?: WeakMap<TreeNode, Record<string, unknown>> & Omit<WeakMap<TreeNode, Record<string, unknown>>, keyof WeakMap<any, any>>) => void;
    onSelected: (event: (d: any) => void) => void;
};
export default _default;
