import { Collection } from '../collection'; import type { Server } from '../sdam/server'; import type { ClientSession } from '../sessions'; import { Callback } from '../utils'; import type { CommandOperationOptions } from './command'; import { RunAdminCommandOperation } from './run_command'; /** @public */ export interface RenameOptions extends CommandOperationOptions { /** Drop the target name collection if it previously exists. */ dropTarget?: boolean; /** Unclear */ new_collection?: boolean; } /** @internal */ export declare class RenameOperation extends RunAdminCommandOperation { options: RenameOptions; collection: Collection; newName: string; constructor(collection: Collection, newName: string, options: RenameOptions); execute(server: Server, session: ClientSession | undefined, callback: Callback): void; } //# sourceMappingURL=rename.d.ts.map