import type { FunctionDeclaration, VariableDeclaration } from "../../ast"; import type { ScopeDeclaration, ScopeFunctionDeclaration, ScopeVariableDeclaration } from "./entry"; import type { SymbolTable } from "./symbol-table"; export declare abstract class Scope implements SymbolTable { protected readonly _entries: Map; protected constructor(); abstract parent?: SymbolTable; get entries(): Map; abstract addVariable(declaration: VariableDeclaration): ScopeVariableDeclaration; abstract addFunction(declaration: FunctionDeclaration): ScopeFunctionDeclaration; abstract getEntry(identifier: string): ScopeDeclaration | undefined; abstract getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }