import { AnyTypedExpressionNode } from "../analysis/types.js"; import { DistError } from "../dists/DistError.js"; import { OperationError } from "../operationError.js"; import { BuiltinLambda } from "../reducer/lambda/BuiltinLambda.js"; import { TDict } from "../types/TDict.js"; import { Type } from "../types/Type.js"; import { Value } from "../value/index.js"; export declare class ErrorMessage extends Error { private constructor(); toString(): string; serialize(): string; static deserialize(msg: string): ErrorMessage; static arityError(arity: number[], usedArity: number): ErrorMessage; static arrayIndexNotFoundError(msg: string, index: number): ErrorMessage; static distributionError(err: DistError): ErrorMessage; static expectedTypeError(typeName: string, valueString: string): ErrorMessage; static typeIsNotAFunctionError(type: Type): ErrorMessage; static valueIsNotAFunctionError(value: Value): ErrorMessage; static valueIsNotADecoratorError(value: Value): ErrorMessage; private static builtinLambdaSignatureMismatchError; static callSignatureMismatchError(fn: AnyTypedExpressionNode, args: Type[]): ErrorMessage; static runtimeCallSignatureMismatchError(fn: BuiltinLambda, args: Value[]): ErrorMessage; static operationError(err: OperationError): ErrorMessage; static dictPropertyNotFoundError(key: string): ErrorMessage; static dictPropertyNotFoundCompileError(key: string, dictType: TDict): ErrorMessage; static todoError(msg: string): ErrorMessage; static domainError(value: Value, domain: Type): ErrorMessage; static javascriptError(msg: string, name: string): ErrorMessage; static argumentError(msg: string): ErrorMessage; static otherError(msg: string): ErrorMessage; static ambiguousError(msg: string): ErrorMessage; static userThrowError(msg: string): ErrorMessage; } //# sourceMappingURL=messages.d.ts.map