import { IterableX } from '../iterablex.js'; import { MonoTypeOperatorFunction } from '../../interfaces.js'; /** @ignore */ export declare class UnionIterable extends IterableX { private _left; private _right; private _comparer; constructor(left: Iterable, right: Iterable, comparer: (x: TSource, y: TSource) => boolean); [Symbol.iterator](): Generator; } /** * Produces the set union of two sequences by using the given equality comparer. * * @template TSource The type of the elements of the input sequences. * @param {AsyncIterable} right An iterable sequence whose distinct elements form the second set for the union. * @param {((x: TSource, y: TSource) => boolean)} [comparer=defaultComparer] The equality comparer to compare values. * @returns {MonoTypeOperatorFunction} An iterable sequence that contains the elements from both input sequences, * excluding duplicates. */ export declare function union(right: Iterable, comparer?: (x: TSource, y: TSource) => boolean): MonoTypeOperatorFunction;