import type * as Ast from "../ast/ast"; import type { CompilerContext } from "../context/context"; import type { TypeRef } from "./types"; import type { StatementContext } from "./resolveStatements"; import type { SrcInfo } from "../grammar"; export declare function getExpType(ctx: CompilerContext, exp: Ast.Expression): TypeRef; export declare function throwVarAddrHardDeprecateError(loc: SrcInfo): void; export declare function resolveExpression(exp: Ast.Expression, sctx: StatementContext, ctx: CompilerContext, allowTypeAsValue?: boolean): CompilerContext; export declare function getAllExpressionTypes(ctx: CompilerContext): [string, string][];