import { type Environment } from "../../env";
import { type Expr } from "../../expr";
import type { SourceNamespaceType } from "../../types/definitions";
import type { StructValue } from "../../value";
import type { EvaluatorContext } from "../context";
export declare function evaluateAnonymousModuleBeginExprs({ beginExprs, env, context, allowPartialModule, registerPartialModule, }: {
    beginExprs: Expr[];
    env: Environment;
    context: EvaluatorContext;
    allowPartialModule?: boolean;
    registerPartialModule?: (mv: StructValue) => void;
}): {
    moduleValue: StructValue;
    sourceNamespaceType: SourceNamespaceType;
    env: Environment;
    partialModuleError?: Error;
};
