import { Eq } from 'fp-ts/lib/Eq';
import { Stream } from '../uri';
/**
* Creates a {@link Stream} of unique values that included in all given
* {@link Stream} using a {@link Eq} for equality comparisons.
*
* The order and references of result values are determined by the first
* {@link Stream}.
*
* @export
* @template A The value type.
* @param {Eq} E The equality comparer instance.
* @return {(xs: Stream) => (ys: Stream) => Stream} A function that
* takes a stream to modify.
*
* @__PURE__
*/
export declare function intersection(E: Eq): {
(xs: Stream): (ys: Stream) => Stream;
(xs: Stream, ys: Stream): Stream;
};