import type { ClassConstructorDeclaration, ClassDeclaration, ClassMethodDeclaration, ClassPropertyDeclaration } from "../../ast"; import type { LocalScope } from "./local-scope"; import type { GlobalScope } from "./global-scope"; import type { ScopeTypeDeclaration } from "./entry"; import { type ScopeDeclaration, ScopeFunctionDeclaration, ScopeVariableDeclaration } from "./entry"; import { UserScope } from "./base/user-scope"; import type { ClassScopeThisDeclaration } from "./entry/class-scope-this-declaration"; export declare class ClassScope extends UserScope { readonly ctx: ClassDeclaration; constructor(ctx: ClassDeclaration); get parent(): LocalScope | GlobalScope; addConstructor(declaration: ClassConstructorDeclaration): ScopeFunctionDeclaration; addFunction(declaration: ClassMethodDeclaration): ScopeFunctionDeclaration; addVariable(declaration: ClassPropertyDeclaration): ScopeVariableDeclaration; addType(declaration: any): ScopeTypeDeclaration; getThis(): ClassScopeThisDeclaration; getEntry(identifier: string): ScopeDeclaration | undefined; getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }