import type { Kind, Kind2, Kind3, Kind4, URIS, URIS2, URIS3, URIS4 } from 'fp-ts/HKT'; import type { Applicative1, Applicative2, Applicative2C, Applicative3, Applicative3C, Applicative4 } from 'fp-ts/lib/Applicative'; import type { Stream } from '../uri'; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The context. * @param {Applicative4} F The applicative context. * @return {(f: (x: A) => Kind4) => (input: Stream) => Kind4>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative4): (f: (x: A) => Kind4) => (input: Stream) => Kind4>; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The context type. * @param {Applicative3} F The applicative context. * @return {(f: (x: A) => Kind3) => (input: Stream) => Kind3>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative3): (f: (x: A) => Kind3) => (input: Stream) => Kind3>; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The applicative context. * @template E The constrained type. * @param {Applicative3C} F The applicative context. * @return {(f: (x: A) => Kind3) => (input: Stream) => Kind3>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative3C): (f: (x: A) => Kind3) => (input: Stream) => Kind3>; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The context type. * @param {Applicative2} F The applicative context. * @return {(f: (x: A) => Kind2) => (input: Stream) => Kind2>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative2): (f: (x: A) => Kind2) => (input: Stream) => Kind2>; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The applicative context. * @template E The constrained type. * @param {Applicative2C} F The applicative context. * @return {(f: (x: A) => Kind2) => (input: Stream) => Kind2>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative2C): (f: (x: A) => Kind2) => (input: Stream) => Kind2>; /** * Filter a {@link Stream} based upon a predicate whose boolean is returned in an * applicative context. * * @export * @template F The context type. * @param {Applicative1} F The applicative context. * @return {(f: (x: A) => Kind) => (input: Stream) => Kind>} The filter function. * * @__PURE__ */ export declare function filterA(F: Applicative1): (f: (x: A) => Kind) => (input: Stream) => Kind>;