import { StatefulTreeProps } from '../StatefulTree';
interface UseExpandableProps<T> {
    defaultExpanded: StatefulTreeProps<T>['defaultExpanded'];
    onExpandedChange: StatefulTreeProps<T>['onExpandedChange'];
}
export declare const useExpandable: <T>({ defaultExpanded, onExpandedChange }: UseExpandableProps<T>) => {
    expandedNodes: string[];
    onToggle: (nodeId: import("../../Tree").TreeNodeId, isExpanded: boolean) => void;
};
export {};
//# sourceMappingURL=useExpandable.d.ts.map