/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module ai/aicore/utils/getoperationsfordocumentsuggestions */ import { type DocumentChanges, type DocumentChangesOptions } from "../../aisdk/documentchanges.js"; import { type Operation } from "@ckeditor/ckeditor5-engine"; import type { DocumentSuggestions } from "./builddocumentsuggestionsmap.js"; /** * Returns operations that need to be applied to the editor documents to apply the AI reply. * The result is a `Map` keyed by `documentId`, each entry holding the operations for that document. */ export declare function getOperationsForDocumentSuggestions({ documentSuggestions, transform, documentChanges, documentChangesOptions }: { documentSuggestions: Map; transform: boolean; documentChanges: DocumentChanges; documentChangesOptions: DocumentChangesOptions; }): Map>;