import { AsyncIterableX } from '../asynciterablex.js'; import { MonoTypeOperatorAsyncFunction } from '../../interfaces.js'; /** @ignore */ export declare class IntersectAsyncIterable extends AsyncIterableX { private _first; private _second; private _comparer; constructor(first: AsyncIterable, second: AsyncIterable, comparer: (x: TSource, y: TSource) => boolean | Promise); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator, void, unknown>; } /** * Produces the set intersection of two async-iterable sequences. * * @template TSource The type of the elements of the input sequences. * @param {AsyncIterable} second An async-iterable sequence whose distinct elements that also * appear in the first sequence will be returned. * @param {((x: TSource, y: TSource) => boolean | Promise)} [comparer=comparerAsync] An equality comparer to compare values. * @returns {MonoTypeOperatorAsyncFunction} An operator that returns a sequence that contains the elements that form the set * intersection of two sequences. */ export declare function intersect(second: AsyncIterable, comparer?: (x: TSource, y: TSource) => boolean | Promise): MonoTypeOperatorAsyncFunction;