import { IterableX } from './iterablex'; export declare class DistinctIterable extends IterableX { private _source; private _keySelector; private _cmp; constructor(source: Iterable, keySelector: (value: TSource) => TKey, cmp: (x: TKey, y: TKey) => boolean); [Symbol.iterator](): IterableIterator; } /** * Returns elements with a distinct key value by using the specified comparer to compare key values. * @param source Source sequence. * @param {function(value: TSource): TKey} [keySelector] Key selector. * @param {function(x: TKey, y: TKey): boolean} [comparer] Comparer used to compare key values. * @return {Iterable} Sequence that contains the elements from the source sequence with distinct key values. */ export declare function distinct(source: Iterable, keySelector?: (value: TSource) => TKey, comparer?: (x: TKey, y: TKey) => boolean): IterableX;