import type { Document, Long } from '../bson'; import type { Server } from '../sdam/server'; import type { ClientSession } from '../sessions'; import type { Callback, MongoDBNamespace } from '../utils'; import { AbstractOperation, OperationOptions } from './operation'; /** * @public */ export interface GetMoreOptions extends OperationOptions { /** Set the batchSize for the getMoreCommand when iterating over the query results. */ batchSize?: number; /** You can put a $comment field on a query to make looking in the profiler logs simpler. */ comment?: string | Document; /** Number of milliseconds to wait before aborting the query. */ maxTimeMS?: number; } /** @public */ export declare class GetMoreOperation extends AbstractOperation { cursorId: Long; options: GetMoreOptions; server: Server; constructor(ns: MongoDBNamespace, cursorId: Long, server: Server, options?: GetMoreOptions); /** * Although there is a server already associated with the get more operation, the signature * for execute passes a server so we will just use that one. */ execute(server: Server, session: ClientSession, callback: Callback): void; } //# sourceMappingURL=get_more.d.ts.map