import type { FnAny } from "@thi.ng/api";
import type { Reducer, ReductionFn } from "../api.js";
/**
 * Higher-order reducer for math operations.
 *
 * @param rfn -
 * @param fn -
 * @param initDefault -
 * @param args -
 *
 * @internal
 */
export declare const __mathOp: (rfn: FnAny<Reducer<number, number>>, fn: ReductionFn<number, number>, initDefault: number, args: any[]) => any;
/**
 * Shared impl for {@link minCompare} & {@link maxCompare}.
 *
 * @param rfn
 * @param args
 * @param sign
 *
 * @internal
 */
export declare const __compareOp: (rfn: FnAny<Reducer<any, any>>, args: any[], sign: 1 | -1) => any;
//# sourceMappingURL=mathop.d.ts.map