import { Iterator } from '../../lazy'; import { Options } from '../../core'; /** * Restricts the number of documents in an aggregation pipeline. * * @param collection * @param value * @param options * @returns {Object|*} */ export declare function $limit(collection: Iterator, expr: number, options: Options): Iterator;