import type { CompilableASTNode, FunctionDeclaration, ScopeNode, TypeDeclaration, VariableDeclaration } from "../../ast/"; import type { GlobalScope } from "./global-scope"; import type { ClassScope } from "./class-scope"; import type { ScopeDeclaration, ScopeFunctionDeclaration, ScopeTypeDeclaration } from "./entry"; import { ScopeVariableDeclaration } from "./entry"; import { UserScope } from "./base/user-scope"; export declare class LocalScope extends UserScope { readonly ctx: ScopeNode & CompilableASTNode; constructor(ctx: ScopeNode & CompilableASTNode); get parent(): LocalScope | ClassScope | GlobalScope; addFunction(declaration: FunctionDeclaration): ScopeFunctionDeclaration; addVariable(declaration: VariableDeclaration): ScopeVariableDeclaration; addType(declaration: TypeDeclaration): ScopeTypeDeclaration; getEntry(identifier: string): ScopeDeclaration | undefined; getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }