import { OperatorFunction } from 'rxjs'; import { IChangeSet } from '../IChangeSet'; /** * Converts the changeset into a fully formed sorted collection. Each change in the source results in a new sorted collection * @typeparam TObject The type of the object. * @typeparam TKey The type of the key. * @typeparam TSortKey The sort key * @param sortSelector The sort function * @param sortOrder The sort order. Defaults to ascending */ export declare function toSortedCollection(sortSelector: (value: TObject) => TSortKey, sortOrder?: 'asc' | 'desc'): OperatorFunction, TObject[]>; /** * Converts the changeset into a fully formed sorted collection. Each change in the source results in a new sorted collection * @typeparam TObject The type of the object. * @typeparam TKey The type of the key. * @typeparam TSortKey The sort key * @param sortSelector The sort function * @param comparer The sort comparer * @param sortOrder The sort order. Defaults to ascending */ export declare function toSortedCollection(sortSelector: (value: TObject) => TSortKey, comparer: (a: TSortKey, b: TSortKey) => number, sortOrder?: 'asc' | 'desc'): OperatorFunction, TObject[]>;