import { AsyncIterableX } from '../asynciterablex.js'; import { MonoTypeOperatorAsyncFunction } from '../../interfaces.js'; /** @ignore */ export declare class UnionAsyncIterable extends AsyncIterableX { private _left; private _right; private _comparer; constructor(left: AsyncIterable, right: AsyncIterable, comparer: (x: TSource, y: TSource) => boolean | Promise); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator, void, unknown>; } /** * 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 async-iterable sequence whose distinct elements form the second set for the union. * @param {((x: TSource, y: TSource) => boolean | Promise)} [comparer=comparerAsync] The equality comparer to compare values. * @returns {MonoTypeOperatorAsyncFunction} An async-iterable sequence that contains the elements from both input sequences, * excluding duplicates. */ export declare function union(right: AsyncIterable, comparer?: (x: TSource, y: TSource) => boolean | Promise): MonoTypeOperatorAsyncFunction;