import type { PisellHierarchicalSummaryListKey } from '../types';
export interface UseExpandedKeysOptions {
    expandedKeys?: PisellHierarchicalSummaryListKey[];
    defaultExpandedKeys?: PisellHierarchicalSummaryListKey[];
    onExpandedKeysChange?: (keys: PisellHierarchicalSummaryListKey[]) => void;
}
export interface ExpandedKeysController {
    expandedKeys: PisellHierarchicalSummaryListKey[];
    expandedKeySet: ReadonlySet<PisellHierarchicalSummaryListKey>;
    setExpandedKeys: (next: PisellHierarchicalSummaryListKey[]) => void;
}
/**
 * 展开态管理（兼容受控/非受控）。
 */
export declare function useExpandedKeys(options: UseExpandedKeysOptions): ExpandedKeysController;
