import type { SessionTreeNode } from "../../../core/session-manager.ts";
import type { FlatNode, ToolCallInfo, TreeListState } from "./tree-selector-types.ts";
export declare function flattenTree(roots: SessionTreeNode[], currentLeafId: string | null, toolCallMap: Map<string, ToolCallInfo>): FlatNode[];
export declare function buildActivePath(flatNodes: FlatNode[], currentLeafId: string | null, activePathIds: Set<string>): void;
export declare function findNearestVisibleIndex(flatNodes: FlatNode[], filteredNodes: FlatNode[], entryId: string | null): number;
export declare function applyTreeFilter(state: TreeListState): void;
//# sourceMappingURL=tree-selector-model.d.ts.map