import type { QueryPlan } from '@prisma-next/framework-components/runtime'; import type { AnyMongoCommand } from './commands'; import type { MongoResultShape } from './result-shape'; declare const __mongoQueryPlanRow: unique symbol; /** * Mongo-domain query plan produced by lanes before lowering. * * Extends the framework-level `QueryPlan` marker (`meta + _row`) and * adds Mongo-specific fields (`collection`, `command`). The unique-symbol * phantom is retained alongside the inherited `_row` for backwards * compatibility with anything that may have relied on it. */ export interface MongoQueryPlan extends QueryPlan { readonly collection: string; readonly command: Command; readonly resultShape?: MongoResultShape; readonly [__mongoQueryPlanRow]?: Row; }