import type { ScopeDeclaration, ScopeFunctionDeclaration, ScopeTypeDeclaration, 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: VarT): ScopeVariableDeclaration; abstract addFunction(declaration: FuncT): ScopeFunctionDeclaration; abstract addType(declaration: TypeT): ScopeTypeDeclaration; abstract getEntry(identifier: string): ScopeDeclaration | undefined; abstract getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }