import type { FunctionDeclaration, ScopeNode, VariableDeclaration } from "../../ast/"; import type { GlobalScope } from "./global-scope"; import type { ScopeDeclaration, ScopeFunctionDeclaration } from "./entry"; import { ScopeVariableDeclaration } from "./entry"; import { Scope } from "./scope"; export declare class LocalScope extends Scope { ctx: ScopeNode; constructor(ctx: ScopeNode); get parent(): LocalScope | GlobalScope; addFunction(declaration: FunctionDeclaration): ScopeFunctionDeclaration; addVariable(declaration: VariableDeclaration): ScopeVariableDeclaration; getEntry(identifier: string): ScopeDeclaration | undefined; getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }