import { ParseNode } from '../parser/parseNodes'; import { Scope } from './scope'; export declare function getBuiltInScope(currentScope: Scope): Scope; export declare function getScopeForNode(node: ParseNode): Scope | undefined; export declare function getScopeHierarchy(node: ParseNode, stopScope?: Scope): Scope[] | undefined; export declare function findTopNodeInScope(node: ParseNode, scope: Scope): ParseNode | undefined; export declare function isScopeContainedWithin(scope: Scope, potentialParentScope: Scope): boolean;