import { Iterator } from '../../lazy'; import { Options } from '../../core'; /** * Takes all input documents and returns them in a stream of sorted documents. * * @param collection * @param sortKeys * @param {Object} options * @returns {*} */ export declare function $sort(collection: Iterator, sortKeys: object, options: Options): Iterator;