import { FuncArg } from "../FuncArg.js"; import { ExprEvalError, ExprEvalResult, ExprEvalSuccess } from "../../ExprEvalResult.js"; import { ExpressionValue } from "../../../value/ExpressionValue.js"; import { FunctionExpr } from "../FunctionExpr.js"; export declare abstract class FuncArgBase extends FuncArg { protected constructor(required: boolean, name: string, defaultValue?: T); transformValue(callingExpr: FunctionExpr, invocationValue: ExprEvalResult): ExprEvalResult; private errorIfNullish; /** * Override to type-check the successfully evaluated invocationValue. * @protected */ protected transformForTypeCheck(callingExpr: FunctionExpr, invocationValue: ExprEvalSuccess): ExprEvalResult; /** * Override to transform the error result obtained from evaluating the invocation value. * @param invocationValue * @protected */ protected transformForError(callingExpr: FunctionExpr, invocationValue: ExprEvalError): ExprEvalResult; }