import { type TSESTree } from "@typescript-eslint/utils"; /** * Gets a node's parent reference when available. * * @param node - AST node whose parent should be read. * * @returns Parent node when present on parser output; otherwise `undefined`. */ export declare const getParentNode: (node: Readonly) => Readonly | undefined; /** * Walks the parent chain to locate the enclosing `Program` node. * * @param node - Starting AST node. * * @returns Nearest enclosing `Program` node; otherwise `null` when no program * boundary can be reached (including cycle-guard termination). */ export declare const getProgramNode: (node: Readonly) => null | Readonly; //# sourceMappingURL=ast-node.d.ts.map