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