import { TreeProps } from './type';
export declare function useTree({ data, checkable, checkedKeys, defaultCheckedKeys, onCheck, defaultExpandedKeys, expandedKeys, expandAll, onExpand, }: Omit<TreeProps, 'disabled' | 'showIcon' | 'style' | 'customExpandIcon'>): {
    currentKeys: string[];
    openedKeys: string[];
    flatData: import("./type").FlattenTreeItem[];
    handleCheck: (key: string) => void;
    handleExpand: (key: string) => void;
};
//# sourceMappingURL=useTree.d.ts.map