///
type TreeContextProps = {
selectedId: string | undefined;
expandedItems: string[] | undefined;
indicator: boolean;
handleExpand: (id: string) => void;
selectItem: (id: string) => void;
setExpandedItems?: React.Dispatch>;
openIcon?: React.ReactNode;
closeIcon?: React.ReactNode;
direction: "rtl" | "ltr";
};
declare const TreeContext: import('react').Context;
declare const useTree: () => TreeContextProps;
export { TreeContext, useTree, type TreeContextProps };
//# sourceMappingURL=use-tree.d.ts.map