import { type $geoLineString } from "https://deno.land/x/mongo@v0.31.1/src/types/geospatial.ts";
Example:
{
$geometry: { type: "LineString", coordinates: [ [ 40, 5 ], [ 41, 6 ] ] }
}
https://www.mongodb.com/docs/manual/reference/geojson/#linestring