import { ScopeTreeNode } from '../types';
/**
 * Recursively find a node by its ID in the scope tree.
 * @param node - The current node to search from
 * @param id - The target ID to find
 * @returns The found node or null if not found
 */
export declare const findNodeById: (node: ScopeTreeNode | null, id: string) => ScopeTreeNode | null;
/**
 * Recursively find the path to a node by its ID.
 * @param node - The current node to search from
 * @param id - The target ID to find
 * @param currentPath - The path accumulated so far
 * @returns Array of node IDs representing the path, or null if not found
 */
export declare const findNodePathById: (node: ScopeTreeNode | null, id: string, currentPath?: string[]) => string[] | null;
//# sourceMappingURL=treeUtils.d.ts.map