import { IterableX } from './iterablex'; export declare class DistinctUntilChangedIterable extends IterableX { private _source; private _keySelector; private _comparer; constructor(source: Iterable, keySelector: (value: TSource) => TKey, comparer: (first: TKey, second: TKey) => boolean); [Symbol.iterator](): IterableIterator; } /** * Returns consecutive distinct elements based on a key value by using the specified equality comparer to compare key values. * @param {Iterable} 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 without adjacent non-distinct elements. */ export declare function distinctUntilChanged(source: Iterable, keySelector?: (value: TSource) => TKey, comparer?: (first: TKey, second: TKey) => boolean): IterableX;