import type { TreeNodeData } from '../Tree';
import type { TreeExpandedState } from '../use-tree';
export type FlatTreeLineState = 'continuing' | 'closing' | 'none';
export interface FlattenedTreeNodeData {
    node: TreeNodeData;
    level: number;
    parent: string | null;
    hasChildren: boolean;
    expanded: boolean;
    linesPath: FlatTreeLineState[];
}
export declare function flattenTreeData(data: TreeNodeData[], expandedState: TreeExpandedState): FlattenedTreeNodeData[];
