import { TaskOption } from 'fp-ts/lib/TaskOption'; import type { Ord } from 'fp-ts/Ord'; import type { AsyncStream } from "../uri"; /** * Gets the minimum value from a {@link AsyncStream}. * * @export * @template A The value type. * @param {Ord} ord The {@link Ord} instance of the values. * @return {(xs: AsyncStream) => TaskOption} A function that takes a stream to * extract the minimum value. * * @__PURE__ */ export declare function minimum(ord: Ord): (xs: AsyncStream) => TaskOption; /** * Gets the maximum value from a {@link AsyncStream}. * * @export * @template A The value type. * @param {Ord} ord The {@link Ord} instance of the values. * @return {(xs: AsyncStream) => TaskOption} A function that takes a stream to * extract the maximum value. * * @__PURE__ */ export declare function maximum(ord: Ord): (xs: AsyncStream) => TaskOption;