import { Predicate } from 'fp-ts/lib/Predicate'; import { Refinement } from 'fp-ts/lib/Refinement'; import { Stream } from '../uri'; /** * Creates a new {@link Stream} which is a copy of the input dropping the * longest initial substream for which all element satisfy the specified * predicate/refinement. * * @export * @template A The value type. * @template B The refined value type. * @param {Refinement} refinement The refinement/predicate function. * @return {(fa: Stream) => Stream} A function that takes a stream * to drop its left while the condition holds. * * @__PURE__ */ export declare function dropLeftWhile(refinement: Refinement): (fa: Stream) => Stream; /** * Creates a new {@link Stream} which is a copy of the input dropping the * longest initial substream for which all element satisfy the specified * predicate/refinement. * * @export * @template A The value type. * @param {Predicate} predicate The refinement/predicate function. * @return {(fa: Stream) => Stream} A function that takes a * stream to drop its left while the condition holds. * * @__PURE__ */ export declare function dropLeftWhile(predicate: Predicate): (fb: Stream) => Stream; /** * Creates a new {@link Stream} which is a copy of the input dropping the * longest initial substream for which all element satisfy the specified * predicate/refinement. * * @export * @template A The value type. * @param {Predicate} predicate The refinement/predicate function. * @return {(fa: Stream) => Stream} A function that takes a * stream to drop its left while the condition holds. * * @__PURE__ */ export declare function dropLeftWhile(predicate: Predicate): (fa: Stream) => Stream;