import { type Environment } from "../../env";
import { type FnCallExpr } from "../../expr";
import type { Type } from "../../types/definitions";
export declare function resolveSomeTypeToConcrete(t: Type): Type;
import type { FunctionGenerationContext } from "../functions/context";
import { type CodeGenContext } from "../utils";
export declare function checkVariableIsClosureCaptured(variableName: string, env: Environment, closureCaptureFrameLevel: number): boolean;
export declare function isClosureConstruction(expr: FnCallExpr): boolean;
export declare function registerImplClosureCallMappings(context: FunctionGenerationContext): void;
export declare function generateClosureConstruction(expr: FnCallExpr, indent: string, context: CodeGenContext): string;
