import { AsyncIterableX } from './../asynciterablex.js'; import { MonoTypeOperatorAsyncFunction } from '../../interfaces.js'; import { DistinctOptions } from './distinctoptions.js'; /** @ignore */ export declare class DistinctAsyncIterable extends AsyncIterableX { private _source; private _keySelector; private _comparer; constructor(source: AsyncIterable, keySelector: (value: TSource, signal?: AbortSignal) => TKey | Promise, comparer: (x: TKey, y: TKey) => boolean | Promise); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator, void, unknown>; } /** * Returns an async-iterable sequence that contains only distinct elements according to the keySelector and comparer. * * @template TSource The type of the elements in the source sequence. * @template TKey The type of the discriminator key computed for each element in the source sequence. * @param {DistinctOptions} [options] The optional arguments for a key selector and comparer function. * @returns {MonoTypeOperatorAsyncFunction} An operator that returns distinct elements according to the keySelector and options. */ export declare function distinct(options?: DistinctOptions): MonoTypeOperatorAsyncFunction;