import { Eq } from 'fp-ts/lib/Eq';
import { Stream } from '../uri';
/**
* Tests if a value is a member of a {@link Stream}.
*
* Takes a {@link Eq} of `A` as a single argument which returns the function
* to use to search for a value of type `A` in a {@link Stream}.
*
* **Warning: This function consumes the stream.**
*
* @export
* @template A The value type.
* @param {Eq} E The equality instance.
* @return {(a: A) => (fa: Stream) => boolean} A function to use to search
* for a value in the stream.
*
* @__PURE__
*/
export declare function elem(E: Eq): {
(a: A): (fa: Stream) => boolean;
(a: A, fa: Stream): boolean;
};