import * as React from 'react'; import type { TreeViewBaseProps } from '../../../data/tree-view/TreeView.js'; import type { FileItem } from './GlassFileTree.impl.js'; export interface LegacyFileNode { id?: string; name: string; type?: 'file' | 'folder'; path?: string; children?: LegacyFileNode[]; isExpanded?: boolean; [extra: string]: unknown; } export interface GlassFileTreeProps extends Omit, 'items'> { nodes?: LegacyFileNode[]; files?: LegacyFileNode[]; selectedNodeId?: string; expandedNodes?: string[]; onNodeSelect?: (node: LegacyFileNode) => void; onNodeToggle?: (nodeId: string, expanded: boolean) => void; 'aria-label'?: string; 'aria-labelledby'?: string; className?: string; [legacy: string]: unknown; } /** Shared 4.x file-tree mapping (GlassFileTree, GlassFileExplorer); renders the 5.0 TreeView preset="files" once its implementation module has loaded. */ export declare function LegacyFileTree(props: GlassFileTreeProps): React.JSX.Element; /** * 4.x `GlassFileTree` compat adapter (DEP-S0206). * @deprecated since 4.3.0, removed in 5.0.0. Use {@link TreeView from aura-glass/data}. */ export declare function GlassFileTree(props: GlassFileTreeProps): React.JSX.Element; //# sourceMappingURL=GlassFileTree.d.ts.map