import { Iterator } from "../../lazy";
import { AnyObject, Options } from "../../types";
/**
 * Replaces the input document with the specified document. The operation replaces all existing fields in the input document, including the _id field.
 *
 * See {@link https://www.mongodb.com/docs/manual/reference/operator/aggregation/replaceWith/ usage}.
 */
export declare function $replaceWith(coll: Iterator, expr: AnyObject, options: Options): Iterator;
