import type { NoSemantics, NoTypeSemantics } from "../ast-node"; import { ParserASTNode } from "../ast-node"; import type { KipperCompileTarget, KipperTargetCodeGenerator, KipperTargetSemanticAnalyser } from "../../target-presets"; import type { EvaluatedCompileConfig } from "../../compile-config"; import type { KipperProgramContext } from "../../program-ctx"; import type { Declaration } from "./declarations"; import type { Statement } from "./index"; import type { TranslatedCodeLine } from "../../const"; import type { KipperError } from "../../../errors"; import type { CompilationUnitContext } from "../../lexer-parser"; import { GlobalScope } from "../../semantics"; import type { ScopeNode } from "../scope-node"; export declare class RootASTNode extends ParserASTNode implements ScopeNode { static readonly kind: 0; static readonly ruleName: "RULE_compilationUnit"; protected readonly _antlrRuleCtx: CompilationUnitContext; protected readonly _programCtx: KipperProgramContext; protected readonly _parent: undefined; protected readonly _children: Array; protected readonly _innerScope: GlobalScope; constructor(programCtx: KipperProgramContext, antlrCtx: CompilationUnitContext); get kind(): 0; get ruleName(): "RULE_compilationUnit"; get innerScope(): GlobalScope; get parent(): undefined; get programCtx(): KipperProgramContext; get errors(): Array; get hasFailed(): boolean; get children(): Array; get target(): KipperCompileTarget; get compileConfig(): EvaluatedCompileConfig; get codeGenerator(): KipperTargetCodeGenerator; get semanticAnalyser(): KipperTargetSemanticAnalyser; addNewChild(newChild: Declaration | Statement): void; private _processAnalysis; semanticAnalysis(): Promise; translate(): Promise>; protected handleSemanticError(error: Error | KipperError): void; }