import { ErrorHandler } from "./error-handling.js";
import { CompiledMessage } from "./msgfmt.js";
export declare type EvalOption<T> = {
    id?: string | undefined;
    locale: string;
    timeZone?: string | undefined;
    params?: Record<string, unknown>;
    handleError?: ErrorHandler | undefined;
    collect?: ((submessages: (T | string)[]) => T | string) | undefined;
    wrap?: ((component: unknown, message: T | string | undefined) => T | string) | undefined;
};
export declare function evaluateMessage<T = string>(msg: CompiledMessage, options: EvalOption<T>, numberValue?: number | bigint): T | string;
//# sourceMappingURL=msgfmt-eval.d.ts.map