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