/**
 * File tree builder — constructs a navigable directory tree from flat FileRecord list.
 */
import type { FileRecord } from '../types';
export interface FileTreeNode {
    name: string;
    path: string;
    type: 'file' | 'dir';
    language?: string;
    symbolCount?: number;
    children?: FileTreeNode[];
}
export type FileTree = FileTreeNode[];
export declare function buildFileTree(files: FileRecord[], maxDepth?: number): FileTree;
//# sourceMappingURL=file-tree.d.ts.map