import { type DeserializeOptions } from "https://deno.land/x/atlas_sdk@v1.1.3/mod.ts";
Properties
when deserializing a Long will fit it into a Number if it's smaller than 53 bits.
when deserializing a Binary will return it as a node.js Buffer instance.
when deserializing will promote BSON values to their Node.js closest equivalent types.
optional
fieldsAsRaw: Documentallow to specify if there what fields we wish to return as unserialized raw buffer.
allows the buffer to be larger than the parsed BSON object.