import type { ITensor, TensorData, TensorOpRT } from "./api.js";
/**
 * Higher order tensor reduction op factory. Takes given reduction `rfn` and
 * `init` function to produce an initial result and optional `complete` to
 * produce the final result. Returns a {@link TensorOpRT} applying the given
 * function component-wise.
 *
 * @param rfn
 * @param init
 */
export declare const defOpRT: <A = number, B = A>(rfn: (acc: B, data: TensorData<A>, i: number) => B, init: () => B, complete?: (acc: B, a: ITensor<A>) => B) => import("./api.js").MultiTensorOpImpl<TensorOpRT<A, B>>;
//# sourceMappingURL=defoprt.d.ts.map