oasis-editor 0.0.371 → 0.0.372
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EditorState } from '../../core/model.js';
|
|
2
|
+
import { OpaqueTransferManifest } from '../../ooxml/word/opaqueTransferManifest.js';
|
|
3
|
+
/** Capture from a single selected original chart. No clipboard API yet. */
|
|
4
|
+
export declare function captureSelectedOpaqueChart(state: EditorState): OpaqueTransferManifest;
|
|
5
|
+
/** Prepare an asynchronous, immutable editor transaction, not an immediate
|
|
6
|
+
* mutation. The caller MUST compare the current state to the captured input
|
|
7
|
+
* before committing the returned state as a single undoable transaction.
|
|
8
|
+
* No native clipboard, arbitrary selection replacement or collaboration yet.
|
|
9
|
+
* Rebase onto a privately staged, audited source snapshot, retaining model IDs.
|
|
10
|
+
*/
|
|
11
|
+
export declare function prepareOpaqueChartPaste(state: EditorState, manifest: unknown): Promise<EditorState>;
|