import type { DataNode } from 'antd/lib/tree';
import type { TreeNode } from './types';
interface UseExpandedKeysReturnType {
    expandedKeys: string[];
    setExpandedKeys: (keys: string[]) => void;
}
export declare const useTreeKeys: <T extends DataNode>(tree: TreeNode<T>[], selectedKey?: string, persistentStorageKey?: string) => UseExpandedKeysReturnType;
export {};
