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