import type { KipperProgramContext } from "../../program-ctx"; import type { FunctionDeclaration, VariableDeclaration } from "../../ast"; import type { ScopeDeclaration } from "./entry"; import { ScopeFunctionDeclaration, ScopeVariableDeclaration } from "./entry"; import { Scope } from "./scope"; export declare class GlobalScope extends Scope { programCtx: KipperProgramContext; constructor(programCtx: KipperProgramContext); parent: undefined; addFunction(declaration: FunctionDeclaration): ScopeFunctionDeclaration; addVariable(declaration: VariableDeclaration): ScopeVariableDeclaration; getEntry(identifier: string): ScopeDeclaration | undefined; getEntryRecursively(identifier: string): ScopeDeclaration | undefined; }