import { IterableX } from '../../iterable/iterablex'; import { OrderedIterableX } from '../../iterable/orderby'; import { thenBy as _thenBy, thenByDescending as _thenByDescending } from '../../iterable/orderby'; /** * @ignore */ export declare function orderByProto(this: IterableX, keySelector: (item: TSource) => TKey, comparer?: (fst: TKey, snd: TKey) => number): OrderedIterableX; /** * @ignore */ export declare function orderByDescendingProto(this: IterableX, keySelector: (item: TSource) => TKey, comparer?: (fst: TKey, snd: TKey) => number): OrderedIterableX; export declare namespace iterable { let thenBy: typeof _thenBy; let thenByDescending: typeof _thenByDescending; } declare module '../../iterable/iterablex' { interface IterableX { orderBy: typeof orderByProto; orderByDescending: typeof orderByDescendingProto; } }