import { type Environment } from "../../env";
import { type Expr, type FnCallExpr } from "../../expr";
import type { DynType, FnTraitType, SomeType } from "../../types/definitions";
import type { EvaluatorContext } from "../context";
export declare function tryToImplementClosureByFnTraitType({ expr, fnTraitType, wrapperType, callerEnv, context, }: {
    expr: FnCallExpr;
    fnTraitType: FnTraitType;
    wrapperType: SomeType | DynType;
    callerEnv: Environment;
    context: EvaluatorContext;
}): Expr;
