import type * as P from "@principia/prelude"; import type { Either, URI, V } from "./model"; /** * ```haskell * reduce_ :: Foldable f => (f a, b, ((b, a) -> b)) -> b * ``` */ export declare const reduce_: (fa: Either, b: B, f: (b: B, a: A) => B) => B; /** * ```haskell * reduce :: Foldable f => (b, ((b, a) -> b)) -> f a -> b * ``` */ export declare const reduce: (b: B, f: (b: B, a: A) => B) => (fa: Either) => B; /** * ```haskell * foldMap_ :: (Foldable f, Monoid m) => Instance m b -> (f a, (a -> b)) -> b * ``` */ export declare const foldMap_: (M: P.Monoid) => (fa: Either, f: (a: A) => M) => M; /** * ```haskell * foldMap :: (Foldable f, Monoid m) => Instance m b -> (a -> b) -> f a -> b * ``` */ export declare const foldMap: (M: P.Monoid) => (f: (a: A) => M) => (fa: Either) => M; /** * ```haskell * reduceRight_ :: Foldable f => (f a, b, ((b, a) -> b)) -> b * ``` */ export declare const reduceRight_: (fa: Either, b: B, f: (a: A, b: B) => B) => B; /** * ```haskell * reduceRight :: Foldable f => (b, ((b, a) -> b)) -> f a -> b * ``` */ export declare const reduceRight: (b: B, f: (a: A, b: B) => B) => (fa: Either) => B; /** * @category Instances * @since 1.0.0 */ export declare const Foldable: P.Foldable<[URI], V>; //# sourceMappingURL=foldable.d.ts.map