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 from the end to the start.
*
* **Warning: This function consumes the stream.**
*
* @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 dropRightWhile(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 from the end to the start.
*
* **Warning: This function consumes the stream.**
*
* @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 dropRightWhile(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 from the end to the start.
*
* **Warning: This function consumes the stream.**
*
* @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 dropRightWhile(predicate: Predicate): (fa: Stream) => Stream;