import type { TraversedEntry } from '../../schemas/navigation.js'; /** * Traverses up the tree to find and return the closest parent node (including self) of a specified type. * * @template Type - The type of node to look for. * @param type - The type to match in the parent chain. * @param node - The node from which traversal begins. * @returns The closest parent node of the specified type, or undefined if not found. */ export declare const getParentEntry: (type: Type, node?: TraversedEntry & { parent?: TraversedEntry; }) => (TraversedEntry & { type: Type; }) | undefined; //# sourceMappingURL=get-parent-entry.d.ts.map