superdoc 2.29.0-next.9 → 2.30.0-next.13

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.
Files changed (177) hide show
  1. package/README.md +127 -25
  2. package/dist/chunks/{FindReplaceSurface-BKVHzhQ4.es.js → FindReplaceSurface-BEnRLpD9.es.js} +1 -1
  3. package/dist/chunks/{FindReplaceSurface-BNDrJ6VS.cjs → FindReplaceSurface-DWXgWgg7.cjs} +1 -1
  4. package/dist/chunks/{PasswordPromptSurface-6mF6Azda.es.js → PasswordPromptSurface-DjV1JgjD.es.js} +1 -1
  5. package/dist/chunks/{PasswordPromptSurface-BNkaztaP.cjs → PasswordPromptSurface-VFPnQOML.cjs} +1 -1
  6. package/dist/chunks/{PdfViewer-aOWhUVI7.es.js → PdfViewer-C2r-K8zC.es.js} +4 -10
  7. package/dist/chunks/{PdfViewer-DmSkZehl.cjs → PdfViewer-DYTbPVUr.cjs} +4 -10
  8. package/dist/chunks/{_plugin-vue_export-helper-6MBoygIY.cjs → _plugin-vue_export-helper-BzM2_tVU.cjs} +40 -7
  9. package/dist/chunks/{_plugin-vue_export-helper-CsJQtMvr.es.js → _plugin-vue_export-helper-CmkaJDnr.es.js} +23 -8
  10. package/dist/chunks/{create-super-doc-ui-Bm5kmx0W.es.js → create-super-doc-ui--o8TcYYv.es.js} +3322 -2729
  11. package/dist/chunks/{create-super-doc-ui-DN70aatf.cjs → create-super-doc-ui-CvK1JdZv.cjs} +3447 -2854
  12. package/dist/collaboration-upgrade-engine.cjs +1 -1
  13. package/dist/collaboration-upgrade-engine.es.js +1 -1
  14. package/dist/document-api/src/changes/changes.d.ts +26 -0
  15. package/dist/document-api/src/changes/changes.types.d.ts +156 -0
  16. package/dist/document-api/src/comments/comment-create-attribution.d.ts +4 -0
  17. package/dist/document-api/src/comments/comments.types.d.ts +4 -0
  18. package/dist/document-api/src/contract/command-catalog.d.ts +1 -1
  19. package/dist/document-api/src/contract/operation-definitions.d.ts +76 -8
  20. package/dist/document-api/src/contract/operation-registry.d.ts +2 -2
  21. package/dist/document-api/src/contract/schemas.d.ts +7 -1
  22. package/dist/document-api/src/create/create.d.ts +0 -4
  23. package/dist/document-api/src/diff/diff.types.d.ts +6 -6
  24. package/dist/document-api/src/header-footers/header-footers.d.ts +1 -3
  25. package/dist/document-api/src/index.d.ts +13 -1
  26. package/dist/document-api/src/inline-semantics/token-sets.d.ts +0 -2
  27. package/dist/document-api/src/insert/insert.d.ts +0 -1
  28. package/dist/document-api/src/paragraphs/paragraphs.d.ts +8 -3
  29. package/dist/document-api/src/paragraphs/paragraphs.types.d.ts +49 -5
  30. package/dist/document-api/src/tables/data/table-preset-appearance.generated.d.ts +2 -0
  31. package/dist/document-api/src/tables/table-style-presets.d.ts +73 -0
  32. package/dist/document-api/src/tables/tables.d.ts +4 -1
  33. package/dist/document-api/src/types/sd-props.d.ts +7 -0
  34. package/dist/document-api/src/types/table-operations.types.d.ts +12 -15
  35. package/dist/layout-engine/contracts/src/index.d.ts +4 -1
  36. package/dist/layout-engine/contracts/src/table-cell-vector-overlay.d.ts +2 -0
  37. package/dist/layout-engine/dom-contract/src/data-attrs.d.ts +4 -0
  38. package/dist/layout-engine/layout-bridge/src/coupled-footnote-pagination.d.ts +1 -0
  39. package/dist/layout-engine/layout-bridge/src/footnote-page-certificate.d.ts +1 -0
  40. package/dist/layout-engine/layout-bridge/src/footnote-page-planner.d.ts +5 -0
  41. package/dist/layout-engine/layout-bridge/src/incrementalLayout.d.ts +1 -0
  42. package/dist/layout-engine/layout-engine/src/footnote-page-flow.d.ts +3 -0
  43. package/dist/layout-engine/layout-engine/src/index.d.ts +7 -0
  44. package/dist/layout-engine/layout-engine/src/layout-paragraph.d.ts +5 -0
  45. package/dist/layout-engine/layout-engine/src/layout-table.d.ts +3 -1
  46. package/dist/layout-engine/layout-engine/src/layout-utils.d.ts +0 -4
  47. package/dist/layout-engine/layout-engine/src/paginator.d.ts +4 -0
  48. package/dist/layout-engine/painters/dom/src/index.d.ts +2 -0
  49. package/dist/layout-engine/painters/dom/src/paragraph/list-marker.d.ts +1 -1
  50. package/dist/layout-engine/painters/dom/src/paragraph/renderParagraphContent.d.ts +1 -1
  51. package/dist/layout-engine/painters/dom/src/styles.d.ts +0 -10
  52. package/dist/layout-engine/painters/dom/src/svg-utils.d.ts +1 -13
  53. package/dist/public/ui-react.cjs +1 -1
  54. package/dist/public/ui-react.es.js +1 -1
  55. package/dist/public/ui-vue.cjs +1 -1
  56. package/dist/public/ui-vue.es.js +1 -1
  57. package/dist/public/ui.cjs +1 -1
  58. package/dist/public/ui.es.js +1 -1
  59. package/dist/shared/common/Telemetry.d.ts +50 -0
  60. package/dist/shared/common/event-types.d.ts +13 -0
  61. package/dist/shared/font-system/src/bundled-face-names.d.ts +1 -0
  62. package/dist/shared/font-system/src/resolver.d.ts +1 -0
  63. package/dist/style.css +1 -1
  64. package/dist/style.layered.css +1 -1
  65. package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +17 -33
  66. package/dist/superdoc/src/components/CommentsLayer/collect-removed-comment-ids.d.ts +11 -1
  67. package/dist/superdoc/src/components/CommentsLayer/collect-tracked-change-thread.d.ts +25 -6
  68. package/dist/superdoc/src/components/CommentsLayer/comment-params.d.ts +84 -0
  69. package/dist/superdoc/src/components/CommentsLayer/comment-urls.d.ts +1 -1
  70. package/dist/superdoc/src/components/CommentsLayer/commentsList/super-comments-list.d.ts +23 -20
  71. package/dist/superdoc/src/components/CommentsLayer/helpers.d.ts +1 -4
  72. package/dist/superdoc/src/components/CommentsLayer/tracked-change-threading.d.ts +16 -1
  73. package/dist/superdoc/src/components/CommentsLayer/use-comment.d.ts +15 -95
  74. package/dist/superdoc/src/components/Whiteboard/WhiteboardLayer.vue.d.ts +4 -5
  75. package/dist/superdoc/src/components/Whiteboard/WhiteboardPage.vue.d.ts +3 -4
  76. package/dist/superdoc/src/components/Whiteboard/use-whiteboard.d.ts +30 -9
  77. package/dist/superdoc/src/components/Whiteboard/whiteboard-types.d.ts +2 -0
  78. package/dist/superdoc/src/components/surfaces/watermark-surface-runtime.d.ts +7 -7
  79. package/dist/superdoc/src/composables/use-comment-sidebar.d.ts +6 -0
  80. package/dist/superdoc/src/composables/use-comment-small-screen.d.ts +11 -7
  81. package/dist/superdoc/src/composables/use-compact-comment-popover.d.ts +44 -18
  82. package/dist/superdoc/src/composables/use-document.d.ts +51 -99
  83. package/dist/superdoc/src/composables/use-find-replace.d.ts +13 -3
  84. package/dist/superdoc/src/composables/use-password-prompt.d.ts +1 -1
  85. package/dist/superdoc/src/composables/use-viewport-fit.d.ts +62 -26
  86. package/dist/superdoc/src/core/SuperDoc.d.ts +15 -6
  87. package/dist/superdoc/src/core/collaboration/cdn-collaboration-comment-map.d.ts +1 -0
  88. package/dist/superdoc/src/core/collaboration/collaboration-comment-map.d.ts +2 -0
  89. package/dist/superdoc/src/core/collaboration/helpers.d.ts +1 -1
  90. package/dist/superdoc/src/core/config/normalize-interaction-config.d.ts +10 -1
  91. package/dist/superdoc/src/core/document-open-telemetry.d.ts +1 -1
  92. package/dist/superdoc/src/core/editor-runtime/types.d.ts +4 -0
  93. package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +1 -0
  94. package/dist/superdoc/src/core/pdf/pdf-adapter.d.ts +6 -2
  95. package/dist/superdoc/src/core/types/index.d.ts +147 -43
  96. package/dist/superdoc/src/core/v2-integration/browser-peer-runtime.d.ts +5 -3
  97. package/dist/superdoc/src/core/v2-integration/cdn-engine-loader.d.ts +3 -13
  98. package/dist/superdoc/src/core/v2-integration/internal-vue-runtime.d.ts +64 -59
  99. package/dist/superdoc/src/helpers/deprecation.d.ts +12 -3
  100. package/dist/superdoc/src/helpers/object-guards.d.ts +2 -0
  101. package/dist/superdoc/src/helpers/v2-author-required-rejection.d.ts +8 -11
  102. package/dist/superdoc/src/helpers/v2-bulk-decision-event.d.ts +9 -7
  103. package/dist/superdoc/src/helpers/v2-keyboard-edit-rejection.d.ts +8 -7
  104. package/dist/superdoc/src/helpers/v2-mutation-exception.d.ts +12 -8
  105. package/dist/superdoc/src/helpers/v2-review-geometry-delivery.d.ts +22 -0
  106. package/dist/superdoc/src/helpers/v2-review-target.d.ts +11 -1
  107. package/dist/superdoc/src/helpers/v2-selection-sync.d.ts +40 -14
  108. package/dist/superdoc/src/helpers/v2-typing-mutation-event.d.ts +14 -5
  109. package/dist/superdoc/src/icons.d.ts +11 -19
  110. package/dist/superdoc/src/internal/diagnostics/translate-diagnostic.d.ts +6 -4
  111. package/dist/superdoc/src/internal/toolbar/built-in/PageNumberMenu.vue.d.ts +25 -15
  112. package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +1 -0
  113. package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +3 -1
  114. package/dist/superdoc/src/internal/toolbar/built-in/font-options.d.ts +15 -1
  115. package/dist/superdoc/src/internal/toolbar/built-in/font-typeahead.d.ts +37 -7
  116. package/dist/superdoc/src/internal/toolbar/built-in/general.d.ts +12 -1
  117. package/dist/superdoc/src/internal/toolbar/built-in/helpers.d.ts +9 -4
  118. package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +2 -2
  119. package/dist/superdoc/src/internal/toolbar/built-in/page-number-feedback.d.ts +4 -5
  120. package/dist/superdoc/src/internal/toolbar/built-in/scroll-helpers.d.ts +3 -4
  121. package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +78 -145
  122. package/dist/superdoc/src/internal/toolbar/built-in/url-safety.d.ts +11 -3
  123. package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +4 -3
  124. package/dist/superdoc/src/internal/toolbar/image-upload.d.ts +29 -39
  125. package/dist/superdoc/src/public/content-control-ref.d.ts +12 -0
  126. package/dist/superdoc/src/public/index.d.cts +20 -0
  127. package/dist/superdoc/src/public/index.d.ts +4 -1
  128. package/dist/superdoc/src/public/ui/async-read-cache.d.ts +32 -0
  129. package/dist/superdoc/src/public/ui/block-commands.d.ts +39 -0
  130. package/dist/superdoc/src/public/ui/command-results.d.ts +39 -0
  131. package/dist/superdoc/src/public/ui/commands.d.ts +5 -1
  132. package/dist/superdoc/src/public/ui/create-super-doc-ui.d.ts +1 -17
  133. package/dist/superdoc/src/public/ui/document-change-records.d.ts +7 -0
  134. package/dist/superdoc/src/public/ui/entity-rows.d.ts +14 -0
  135. package/dist/superdoc/src/public/ui/font-options.d.ts +7 -0
  136. package/dist/superdoc/src/public/ui/format-painter-helpers.d.ts +2 -8
  137. package/dist/superdoc/src/public/ui/format-painter-paragraph.d.ts +7 -0
  138. package/dist/superdoc/src/public/ui/format-painter-state.d.ts +29 -0
  139. package/dist/superdoc/src/public/ui/heavy-read-policy.d.ts +11 -0
  140. package/dist/superdoc/src/public/ui/host-events.d.ts +3 -0
  141. package/dist/superdoc/src/public/ui/inline-values.d.ts +80 -0
  142. package/dist/superdoc/src/public/ui/loose-record.d.ts +4 -0
  143. package/dist/superdoc/src/public/ui/reasons.d.ts +1 -0
  144. package/dist/superdoc/src/public/ui/selection-targets.d.ts +53 -0
  145. package/dist/superdoc/src/public/ui/shared-tracked-changes-catalog.d.ts +16 -0
  146. package/dist/superdoc/src/public/ui/tracked-change-ids.d.ts +51 -0
  147. package/dist/superdoc/src/public/ui/types.d.ts +25 -2
  148. package/dist/superdoc/src/public/ui/ui-bench-timing.d.ts +9 -0
  149. package/dist/superdoc/src/public/ui.d.cts +18 -0
  150. package/dist/superdoc/src/public/ui.d.ts +1 -1
  151. package/dist/superdoc/src/stores/comments-store.d.ts +23028 -552
  152. package/dist/superdoc/src/stores/helpers/comment-document-scope.d.ts +22 -0
  153. package/dist/superdoc/src/stores/helpers/comment-grouping.d.ts +1 -1
  154. package/dist/superdoc/src/stores/helpers/comment-identity.d.ts +10 -10
  155. package/dist/superdoc/src/stores/helpers/pending-selection-snapshot.d.ts +17 -0
  156. package/dist/superdoc/src/stores/helpers/review-presentation.d.ts +91 -0
  157. package/dist/superdoc/src/stores/helpers/tracked-change-compaction.d.ts +16 -0
  158. package/dist/superdoc/src/stores/helpers/tracked-change-decision.d.ts +45 -0
  159. package/dist/superdoc/src/stores/helpers/tracked-change-identity.d.ts +4 -2
  160. package/dist/superdoc/src/stores/helpers/tracked-change-row-values.d.ts +1 -8
  161. package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +1 -1
  162. package/dist/superdoc/src/stores/helpers/v2-review-adapters.d.ts +147 -0
  163. package/dist/superdoc/src/stores/superdoc-store.d.ts +12 -2895
  164. package/dist/superdoc.cjs +1330 -972
  165. package/dist/superdoc.es.js +1242 -884
  166. package/dist/word-layout/src/marker-utils.d.ts +0 -5
  167. package/dist/word-layout/src/unit-conversions.d.ts +0 -1
  168. package/dist-cdn/style.layered.css +1 -1
  169. package/dist-cdn/superdoc.min.css +1 -1
  170. package/dist-cdn/superdoc.min.js +38 -42
  171. package/package.json +13 -3
  172. package/dist/document-api/src/diff/index.d.ts +0 -3
  173. package/dist/document-api/src/write/locator.d.ts +0 -24
  174. package/dist/layout-engine/painters/dom/src/features/feature-registry.d.ts +0 -41
  175. package/dist/superdoc/src/internal/toolbar/built-in/format-negation.d.ts +0 -5
  176. package/dist/superdoc/src/main.d.ts +0 -1
  177. package/dist/word-layout/src/tab-layout.d.ts +0 -193
@@ -19,7 +19,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
19
19
  var PRIVATE_ENGINE_INFO = (0, _superdoc_docx_engine_collaboration_upgrade_engine.getCollaborationUpgradeEngineInfo)();
20
20
  var ENGINE_INFO = Object.freeze({
21
21
  ...PRIVATE_ENGINE_INFO,
22
- superdocVersion: "2.29.0-next.9",
22
+ superdocVersion: "2.30.0-next.13",
23
23
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
24
24
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
25
25
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -18,7 +18,7 @@ var COLLABORATION_UPGRADE_ENGINE_MINIMUM_NODE_MAJOR = 20;
18
18
  var PRIVATE_ENGINE_INFO = getCollaborationUpgradeEngineInfo$1();
19
19
  var ENGINE_INFO = Object.freeze({
20
20
  ...PRIVATE_ENGINE_INFO,
21
- superdocVersion: "2.29.0-next.9",
21
+ superdocVersion: "2.30.0-next.13",
22
22
  roomSchemaVersion: Object.freeze({ ...PRIVATE_ENGINE_INFO.roomSchemaVersion }),
23
23
  supportedBundleVersions: SUPPORTED_COLLABORATION_UPGRADE_BUNDLE_VERSIONS,
24
24
  supportedV1ReaderContractVersions: SUPPORTED_V1_READER_CONTRACT_VERSIONS
@@ -0,0 +1,26 @@
1
+ import { ChangeRecord, ChangesActorsResult, ChangesGetInput, ChangesListInput, ChangesListResult, ChangesResolveInput, ChangesResolveResult, ChangesSnapshotInput, ChangesSnapshotResult } from './changes.types.js';
2
+ export interface ChangesAdapter {
3
+ list(input: ChangesListInput): Promise<ChangesListResult>;
4
+ get(input: ChangesGetInput): Promise<ChangeRecord | null>;
5
+ resolve(input: ChangesResolveInput): Promise<ChangesResolveResult>;
6
+ actors(): Promise<ChangesActorsResult>;
7
+ snapshot(input: ChangesSnapshotInput): Promise<ChangesSnapshotResult>;
8
+ }
9
+ export interface ChangesApi {
10
+ list(input?: ChangesListInput): Promise<ChangesListResult>;
11
+ get(input: ChangesGetInput): Promise<ChangeRecord | null>;
12
+ resolve(input: ChangesResolveInput): Promise<ChangesResolveResult>;
13
+ actors(): Promise<ChangesActorsResult>;
14
+ snapshot(input?: ChangesSnapshotInput): Promise<ChangesSnapshotResult>;
15
+ }
16
+ export declare const CHANGES_LIST_LIMIT_MAX = 1000;
17
+ export declare const CHANGES_WAIT_MS_MAX = 30000;
18
+ export declare function validateChangesListInput(input: unknown): ChangesListInput;
19
+ export declare function validateChangesGetInput(input: unknown): ChangesGetInput;
20
+ export declare function validateChangesResolveInput(input: unknown): ChangesResolveInput;
21
+ export declare function validateChangesSnapshotInput(input: unknown): ChangesSnapshotInput;
22
+ export declare function executeChangesList(adapter: ChangesAdapter | undefined, input?: ChangesListInput): Promise<ChangesListResult>;
23
+ export declare function executeChangesGet(adapter: ChangesAdapter | undefined, input: ChangesGetInput): Promise<ChangeRecord | null>;
24
+ export declare function executeChangesResolve(adapter: ChangesAdapter | undefined, input: ChangesResolveInput): Promise<ChangesResolveResult>;
25
+ export declare function executeChangesActors(adapter: ChangesAdapter | undefined): Promise<ChangesActorsResult>;
26
+ export declare function executeChangesSnapshot(adapter: ChangesAdapter | undefined, input?: ChangesSnapshotInput): Promise<ChangesSnapshotResult>;
@@ -0,0 +1,156 @@
1
+ import { StoryLocator } from '../types/story.types.js';
2
+ export type ChangeCause = 'user' | 'api' | 'undo' | 'redo';
3
+ export type ChangeProvenance = 'authored' | 'declared' | 'relayed' | 'unknown';
4
+ export type ChangeOrigin = 'local' | 'remote';
5
+ export type ChangeActorType = 'human' | 'code';
6
+ export type ChangesIdentityState = 'configured' | 'missing';
7
+ export type ChangeSidecarKind = 'comment' | 'trackedChange' | 'bookmark';
8
+ export interface ChangeActor {
9
+ id: string | null;
10
+ name?: string;
11
+ email?: string;
12
+ claim?: string;
13
+ }
14
+ export interface ChangeTextRange {
15
+ start: number;
16
+ end: number;
17
+ }
18
+ export interface TextBlockChange {
19
+ kind: 'text';
20
+ story: StoryLocator;
21
+ blockId: string;
22
+ range: ChangeTextRange;
23
+ inserted: string;
24
+ deleted: string;
25
+ }
26
+ export interface FormatBlockChange {
27
+ kind: 'format';
28
+ story: StoryLocator;
29
+ blockId: string;
30
+ range: ChangeTextRange;
31
+ attributes: Record<string, unknown>;
32
+ }
33
+ export interface ParagraphBlockChange {
34
+ kind: 'paragraph';
35
+ story: StoryLocator;
36
+ blockId: string;
37
+ properties: Record<string, unknown>;
38
+ }
39
+ export interface SplitBlockChange {
40
+ kind: 'split';
41
+ story: StoryLocator;
42
+ blockId: string;
43
+ tailBlockId: string;
44
+ offset: number;
45
+ }
46
+ export interface MergeBlockChange {
47
+ kind: 'merge';
48
+ story: StoryLocator;
49
+ blockId: string;
50
+ mergedBlockId: string;
51
+ }
52
+ export interface MoveBlockChange {
53
+ kind: 'move';
54
+ story: StoryLocator;
55
+ blockId: string;
56
+ afterBlockId: string | null;
57
+ }
58
+ export interface CreateBlockChange {
59
+ kind: 'create';
60
+ story: StoryLocator;
61
+ blockId: string;
62
+ text: string;
63
+ }
64
+ export interface RemoveBlockChange {
65
+ kind: 'remove';
66
+ story: StoryLocator;
67
+ blockId: string;
68
+ text: string;
69
+ }
70
+ export interface TableBlockChange {
71
+ kind: 'table';
72
+ story: StoryLocator;
73
+ tableId: string;
74
+ detail: Record<string, unknown>;
75
+ }
76
+ export interface SidecarBlockChange {
77
+ kind: 'sidecar';
78
+ affects: ChangeSidecarKind;
79
+ ids: string[];
80
+ }
81
+ export type BlockChange = TextBlockChange | FormatBlockChange | ParagraphBlockChange | SplitBlockChange | MergeBlockChange | MoveBlockChange | CreateBlockChange | RemoveBlockChange | TableBlockChange | SidecarBlockChange;
82
+ export interface ChangeRecordTimes {
83
+ declared: string | null;
84
+ observed: string;
85
+ }
86
+ export interface ChangeRecordSession {
87
+ id: string | null;
88
+ clientId: number;
89
+ }
90
+ export interface ChangeRecord {
91
+ id: string;
92
+ seq: number;
93
+ revision: string;
94
+ origin: ChangeOrigin;
95
+ actor: ChangeActor | null;
96
+ contributors?: ChangeActor[];
97
+ actorType: ChangeActorType | null;
98
+ cause: ChangeCause | null;
99
+ provenance: ChangeProvenance;
100
+ at: ChangeRecordTimes;
101
+ session: ChangeRecordSession;
102
+ changeTag?: string;
103
+ changes: BlockChange[];
104
+ update?: string;
105
+ }
106
+ export interface ChangesListInput {
107
+ after?: string;
108
+ limit?: number;
109
+ story?: StoryLocator;
110
+ blockId?: string;
111
+ actorId?: string;
112
+ includeUpdate?: boolean;
113
+ waitMs?: number;
114
+ }
115
+ export interface ChangesListResult {
116
+ items: ChangeRecord[];
117
+ cursor: string | null;
118
+ truncated: boolean;
119
+ identity: ChangesIdentityState;
120
+ collaboration: boolean;
121
+ }
122
+ export interface ChangesGetInput {
123
+ id: string;
124
+ }
125
+ export interface ChangesResolveInput {
126
+ blockId: string;
127
+ limit?: number;
128
+ }
129
+ export interface ChangesResolveResult {
130
+ blockId: string;
131
+ lineage: string[];
132
+ items: ChangeRecord[];
133
+ }
134
+ export interface ChangesActorBinding {
135
+ clientId: number;
136
+ actorId: string | null;
137
+ name?: string;
138
+ email?: string;
139
+ sessionId: string;
140
+ declaredAt: string;
141
+ claim?: string;
142
+ }
143
+ export interface ChangesActorsResult {
144
+ items: ChangesActorBinding[];
145
+ }
146
+ export interface ChangesSnapshotInput {
147
+ includeState?: boolean;
148
+ }
149
+ export interface ChangesSnapshotResult {
150
+ revision: string;
151
+ cursor: string | null;
152
+ lastChangeId: string | null;
153
+ stateVector: string;
154
+ state?: string;
155
+ at: string;
156
+ }
@@ -1,2 +1,6 @@
1
1
  import { CommentCreateAttributionInput } from './comments.types.js';
2
2
  export declare function normalizeCommentCreateAttribution(input: CommentCreateAttributionInput): CommentCreateAttributionInput | null;
3
+ export declare function normalizeCommentIdentity(value: unknown): {
4
+ providerId: string;
5
+ userId: string;
6
+ } | null;
@@ -9,6 +9,10 @@ export type CommentMetadataValue = string | number | boolean | null | readonly C
9
9
  export type CommentMetadata = Readonly<Record<string, CommentMetadataValue>>;
10
10
  /** Optional caller-owned identity and authorship for a newly-created comment. */
11
11
  export interface CommentCreateAttributionInput {
12
+ authorIdentity?: {
13
+ providerId: string;
14
+ userId: string;
15
+ } | null;
12
16
  /**
13
17
  * Durable document-scoped integration id, distinct from the Word-compatible
14
18
  * `commentId` returned by the operation. Must be unique when provided and no
@@ -1,7 +1,7 @@
1
1
  import { CommandCatalog, CommandStaticMetadata, OperationId } from './types.js';
2
2
  export declare const COMMAND_CATALOG: CommandCatalog;
3
3
  /** Operation IDs whose catalog entry has `mutates: true`. */
4
- export declare const MUTATING_OPERATION_IDS: ("replace" | "find" | "delete" | "insert" | "info" | "selection.extractOoxml" | "selection.current" | "selection.releaseSnapshot" | "format.readSelection" | "projectHtml" | "projectMarkdown" | "capabilities.check" | "format.apply" | "comments.patch" | "trackChanges.decide" | "styles.getCatalog" | "blocks.delete" | "comments.create" | "blocks.split" | "blocks.merge" | "blocks.move" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "format.paragraph.setMarkRunProps" | "tables.moveRow" | "tables.moveColumn" | "format.bold" | "format.strike" | "format.color" | "format.position" | "format.cs" | "format.shading" | "format.rtl" | "format.fontFamily" | "format.lang" | "format.fontSize" | "format.fontSizeCs" | "format.highlight" | "format.italic" | "format.underline" | "format.caps" | "format.smallCaps" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.border" | "format.dstrike" | "format.vertAlign" | "format.bCs" | "format.iCs" | "format.snapToGrid" | "format.oMath" | "format.letterSpacing" | "format.charScale" | "format.kerning" | "format.fitText" | "format.rStyle" | "format.rFonts" | "format.eastAsianLayout" | "format.em" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "get" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "markdownToFragment" | "htmlToFragment" | "extract" | "clearContent" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.deleteRange" | "styles.apply" | "styles.create" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "query.match" | "ranges.resolve" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve")[];
4
+ export declare const MUTATING_OPERATION_IDS: ("insert" | "replace" | "find" | "delete" | "info" | "selection.extractOoxml" | "selection.current" | "selection.releaseSnapshot" | "format.readSelection" | "projectHtml" | "projectMarkdown" | "capabilities.check" | "format.apply" | "comments.patch" | "trackChanges.decide" | "styles.getCatalog" | "blocks.delete" | "comments.create" | "format.paragraph.applyBatch" | "blocks.split" | "blocks.merge" | "blocks.move" | "lists.getState" | "lists.apply" | "lists.continue" | "lists.restart" | "lists.remove" | "format.paragraph.setMarkRunProps" | "tables.moveRow" | "tables.moveColumn" | "format.bold" | "format.strike" | "format.color" | "format.position" | "format.cs" | "format.shading" | "format.rtl" | "format.fontFamily" | "format.lang" | "format.fontSize" | "format.fontSizeCs" | "format.highlight" | "format.italic" | "format.underline" | "format.caps" | "format.smallCaps" | "format.outline" | "format.shadow" | "format.emboss" | "format.imprint" | "format.vanish" | "format.webHidden" | "format.specVanish" | "format.border" | "format.dstrike" | "format.vertAlign" | "format.bCs" | "format.iCs" | "format.snapToGrid" | "format.oMath" | "format.letterSpacing" | "format.charScale" | "format.kerning" | "format.fitText" | "format.rStyle" | "format.rFonts" | "format.eastAsianLayout" | "format.em" | "format.ligatures" | "format.numForm" | "format.numSpacing" | "format.stylisticSets" | "format.contextualAlternates" | "get" | "getNode" | "getNodeById" | "getText" | "getMarkdown" | "getHtml" | "markdownToFragment" | "htmlToFragment" | "extract" | "clearContent" | "formatRange" | "blocks.findText" | "blocks.list" | "blocks.deleteRange" | "styles.apply" | "styles.create" | "styles.getTheme" | "templates.apply" | "create.paragraph" | "create.heading" | "create.sectionBreak" | "sections.list" | "sections.get" | "sections.setBreakType" | "sections.setPageMargins" | "sections.setHeaderFooterMargins" | "sections.setPageSetup" | "sections.setColumns" | "sections.setLineNumbering" | "sections.setPageNumbering" | "sections.setTitlePage" | "sections.setOddEvenHeadersFooters" | "sections.setVerticalAlign" | "sections.setSectionDirection" | "sections.setHeaderFooterRef" | "sections.clearHeaderFooterRef" | "sections.setLinkToPrevious" | "sections.setPageBorders" | "sections.clearPageBorders" | "styles.paragraph.setStyle" | "styles.paragraph.setStyleRef" | "styles.paragraph.clearStyle" | "format.paragraph.resetDirectFormatting" | "format.paragraph.setAlignment" | "format.paragraph.clearAlignment" | "format.paragraph.setIndentation" | "format.paragraph.clearIndentation" | "format.paragraph.setSpacing" | "format.paragraph.clearSpacing" | "format.paragraph.setKeepOptions" | "format.paragraph.setOutlineLevel" | "format.paragraph.setFlowOptions" | "format.paragraph.setTabStop" | "format.paragraph.clearTabStop" | "format.paragraph.clearAllTabStops" | "format.paragraph.setBorder" | "format.paragraph.clearBorder" | "format.paragraph.setShading" | "format.paragraph.clearShading" | "format.paragraph.setDirection" | "format.paragraph.clearDirection" | "format.paragraph.setNumbering" | "lists.list" | "lists.get" | "lists.insert" | "lists.create" | "lists.attach" | "lists.detach" | "lists.delete" | "lists.indent" | "lists.outdent" | "lists.join" | "lists.canJoin" | "lists.separate" | "lists.merge" | "lists.split" | "lists.setLevel" | "lists.setValue" | "lists.continuePrevious" | "lists.canContinuePrevious" | "lists.setLevelRestart" | "lists.convertToText" | "lists.applyTemplate" | "lists.applyPreset" | "lists.setType" | "lists.captureTemplate" | "lists.setLevelNumbering" | "lists.setLevelBullet" | "lists.setLevelPictureBullet" | "lists.setLevelAlignment" | "lists.setLevelIndents" | "lists.setLevelTrailingCharacter" | "lists.setLevelMarkerFont" | "lists.clearLevelOverrides" | "lists.getStyle" | "lists.applyStyle" | "lists.restartAt" | "lists.setLevelNumberStyle" | "lists.setLevelText" | "lists.setLevelStart" | "lists.setLevelLayout" | "comments.delete" | "comments.get" | "comments.list" | "trackChanges.list" | "trackChanges.get" | "query.match" | "ranges.resolve" | "mutations.beginTemporary" | "mutations.replaceTemporary" | "mutations.rollbackTemporary" | "mutations.commitTemporary" | "mutations.preview" | "mutations.apply" | "plan.execute" | "capabilities.get" | "capabilities.resolve" | "create.table" | "tables.convertFromText" | "tables.delete" | "tables.clearContents" | "tables.move" | "tables.split" | "tables.convertToText" | "tables.setLayout" | "tables.insertRow" | "tables.deleteRow" | "tables.setRowHeight" | "tables.distributeRows" | "tables.setRowOptions" | "tables.insertColumn" | "tables.deleteColumn" | "tables.setColumnWidth" | "tables.distributeColumns" | "tables.insertCell" | "tables.deleteCell" | "tables.mergeCells" | "tables.unmergeCells" | "tables.splitCell" | "tables.setCellProperties" | "tables.setCellText" | "tables.sort" | "tables.setAltText" | "tables.setStyle" | "tables.clearStyle" | "tables.setStyleOption" | "tables.setBorder" | "tables.clearBorder" | "tables.applyBorderPreset" | "tables.setShading" | "tables.clearShading" | "tables.setTablePadding" | "tables.setCellPadding" | "tables.setCellSpacing" | "tables.clearCellSpacing" | "tables.applyStyle" | "tables.setBorders" | "tables.setTableOptions" | "tables.applyPreset" | "tables.listPresets" | "tables.get" | "tables.getCells" | "tables.getProperties" | "tables.getStyles" | "tables.setDefaultStyle" | "tables.clearDefaultStyle" | "create.tableOfContents" | "toc.list" | "toc.get" | "toc.configure" | "toc.update" | "toc.remove" | "toc.markEntry" | "toc.unmarkEntry" | "toc.listEntries" | "toc.getEntry" | "toc.editEntry" | "history.get" | "history.undo" | "history.redo" | "changes.list" | "changes.get" | "changes.resolve" | "changes.actors" | "changes.snapshot" | "create.image" | "images.list" | "images.get" | "images.delete" | "images.move" | "images.convertToInline" | "images.convertToFloating" | "images.setSize" | "images.setWrapType" | "images.setWrapSide" | "images.setWrapDistances" | "images.setPosition" | "images.setAnchorOptions" | "images.setZOrder" | "images.scale" | "images.setLockAspectRatio" | "images.rotate" | "images.flip" | "images.crop" | "images.resetCrop" | "images.replaceSource" | "images.setAltText" | "images.setDecorative" | "images.setName" | "images.setHyperlink" | "images.insertCaption" | "images.updateCaption" | "images.removeCaption" | "hyperlinks.list" | "hyperlinks.get" | "hyperlinks.wrap" | "hyperlinks.insert" | "hyperlinks.patch" | "hyperlinks.remove" | "headerFooters.list" | "headerFooters.get" | "headerFooters.resolve" | "headerFooters.refs.set" | "headerFooters.refs.clear" | "headerFooters.refs.setLinkedToPrevious" | "headerFooters.parts.list" | "headerFooters.parts.create" | "headerFooters.parts.delete" | "headerFooters.pageNumbers.get" | "headerFooters.pageNumbers.insert" | "headerFooters.pageNumbers.set" | "headerFooters.pageNumbers.remove" | "watermarks.apply" | "watermarks.list" | "watermarks.insert" | "watermarks.replace" | "watermarks.remove" | "create.contentControl" | "contentControls.list" | "contentControls.get" | "contentControls.listInRange" | "contentControls.selectByTag" | "contentControls.selectByTitle" | "contentControls.listChildren" | "contentControls.getParent" | "contentControls.wrap" | "contentControls.unwrap" | "contentControls.delete" | "contentControls.copy" | "contentControls.move" | "contentControls.patch" | "contentControls.setLockMode" | "contentControls.setType" | "contentControls.getContent" | "contentControls.replaceContent" | "contentControls.clearContent" | "contentControls.appendContent" | "contentControls.prependContent" | "contentControls.insertBefore" | "contentControls.insertAfter" | "contentControls.getBinding" | "contentControls.setBinding" | "contentControls.clearBinding" | "contentControls.getRawProperties" | "contentControls.patchRawProperties" | "contentControls.validateWordCompatibility" | "contentControls.normalizeWordCompatibility" | "contentControls.normalizeTagPayload" | "contentControls.text.setMultiline" | "contentControls.text.setValue" | "contentControls.text.clearValue" | "contentControls.date.setValue" | "contentControls.date.clearValue" | "contentControls.date.setDisplayFormat" | "contentControls.date.setDisplayLocale" | "contentControls.date.setStorageFormat" | "contentControls.date.setCalendar" | "contentControls.checkbox.getState" | "contentControls.checkbox.setState" | "contentControls.checkbox.toggle" | "contentControls.checkbox.setSymbolPair" | "contentControls.choiceList.getItems" | "contentControls.choiceList.setItems" | "contentControls.choiceList.setSelected" | "contentControls.repeatingSection.listItems" | "contentControls.repeatingSection.insertItemBefore" | "contentControls.repeatingSection.insertItemAfter" | "contentControls.repeatingSection.cloneItem" | "contentControls.repeatingSection.deleteItem" | "contentControls.repeatingSection.setAllowInsertDelete" | "contentControls.group.wrap" | "contentControls.group.ungroup" | "bookmarks.list" | "bookmarks.get" | "bookmarks.insert" | "bookmarks.rename" | "bookmarks.remove" | "footnotes.list" | "footnotes.get" | "footnotes.insert" | "footnotes.update" | "footnotes.remove" | "footnotes.configure" | "clipboard.parse" | "clipboard.insert" | "clipboard.serializeSelection" | "crossRefs.list" | "crossRefs.get" | "crossRefs.insert" | "crossRefs.rebuild" | "crossRefs.remove" | "index.list" | "index.get" | "index.insert" | "index.configure" | "index.rebuild" | "index.remove" | "index.entries.list" | "index.entries.get" | "index.entries.insert" | "index.entries.update" | "index.entries.remove" | "captions.list" | "captions.get" | "captions.insert" | "captions.update" | "captions.remove" | "captions.configure" | "fields.list" | "fields.get" | "fields.insert" | "fields.rebuild" | "fields.remove" | "citations.list" | "citations.get" | "citations.insert" | "citations.update" | "citations.remove" | "citations.sources.list" | "citations.sources.get" | "citations.sources.insert" | "citations.sources.update" | "citations.sources.remove" | "citations.bibliography.get" | "citations.bibliography.insert" | "citations.bibliography.rebuild" | "citations.bibliography.configure" | "citations.bibliography.remove" | "authorities.list" | "authorities.get" | "authorities.insert" | "authorities.configure" | "authorities.rebuild" | "authorities.remove" | "authorities.entries.list" | "authorities.entries.get" | "authorities.entries.insert" | "authorities.entries.update" | "authorities.entries.remove" | "diff.capture" | "diff.compare" | "diff.apply" | "export.toDocx" | "protection.get" | "protection.setEditingRestriction" | "protection.clearEditingRestriction" | "permissionRanges.list" | "permissionRanges.get" | "permissionRanges.create" | "permissionRanges.remove" | "permissionRanges.updatePrincipal" | "customXml.parts.list" | "customXml.parts.get" | "customXml.parts.create" | "customXml.parts.patch" | "customXml.parts.remove" | "metadata.attach" | "metadata.list" | "metadata.get" | "metadata.update" | "metadata.remove" | "metadata.resolve")[];
5
5
  /** Maps each operation to its human-readable description. */
6
6
  export declare const OPERATION_DESCRIPTION_MAP: Record<OperationId, string>;
7
7
  /** Maps each operation to whether it requires an open document to execute. */
@@ -1,5 +1,5 @@
1
1
  import { CommandStaticMetadata } from './metadata-types.js';
2
- export type ReferenceGroupKey = 'core' | 'blocks' | 'capabilities' | 'create' | 'sections' | 'format' | 'format.paragraph' | 'styles' | 'styles.paragraph' | 'templates' | 'lists' | 'comments' | 'trackChanges' | 'query' | 'mutations' | 'tables' | 'history' | 'toc' | 'images' | 'hyperlinks' | 'headerFooters' | 'watermarks' | 'contentControls' | 'bookmarks' | 'footnotes' | 'clipboard' | 'crossRefs' | 'index' | 'captions' | 'fields' | 'citations' | 'authorities' | 'ranges' | 'selection' | 'diff' | 'export' | 'protection' | 'permissionRanges' | 'customXml' | 'metadata';
2
+ export type ReferenceGroupKey = 'core' | 'blocks' | 'capabilities' | 'create' | 'sections' | 'format' | 'format.paragraph' | 'styles' | 'styles.paragraph' | 'templates' | 'lists' | 'comments' | 'trackChanges' | 'query' | 'mutations' | 'tables' | 'history' | 'changes' | 'toc' | 'images' | 'hyperlinks' | 'headerFooters' | 'watermarks' | 'contentControls' | 'bookmarks' | 'footnotes' | 'clipboard' | 'crossRefs' | 'index' | 'captions' | 'fields' | 'citations' | 'authorities' | 'ranges' | 'selection' | 'diff' | 'export' | 'protection' | 'permissionRanges' | 'customXml' | 'metadata';
3
3
  export interface OperationDefinitionEntry {
4
4
  memberPath: string;
5
5
  description: string;
@@ -28,7 +28,7 @@ export interface IntentGroupMeta {
28
28
  */
29
29
  inputExamples?: Record<string, unknown>[];
30
30
  }
31
- export declare const V1_RUNTIME_UNAVAILABLE_OPERATION_IDS: readonly ["selection.releaseSnapshot", "blocks.split", "blocks.merge", "blocks.move", "lists.getState", "lists.apply", "lists.continue", "lists.restart", "lists.remove", "format.paragraph.setMarkRunProps", "tables.moveRow", "tables.moveColumn"];
31
+ export declare const V1_RUNTIME_UNAVAILABLE_OPERATION_IDS: readonly ["format.paragraph.applyBatch", "selection.releaseSnapshot", "blocks.split", "blocks.merge", "blocks.move", "lists.getState", "lists.apply", "lists.continue", "lists.restart", "lists.remove", "format.paragraph.setMarkRunProps", "tables.moveRow", "tables.moveColumn"];
32
32
  export declare const INTENT_GROUP_META: Record<string, IntentGroupMeta>;
33
33
  export declare const OPERATION_DEFINITIONS: {
34
34
  readonly 'format.readSelection': {
@@ -319,6 +319,15 @@ export declare const OPERATION_DEFINITIONS: {
319
319
  readonly referenceDocPath: "format/paragraph/reset-direct-formatting.mdx";
320
320
  readonly referenceGroup: "format.paragraph";
321
321
  };
322
+ readonly 'format.paragraph.applyBatch': {
323
+ readonly memberPath: "format.paragraph.applyBatch";
324
+ readonly description: "Apply an explicit ordered paragraph action program target-major to 1..1000 unique existing targets in one story, atomically. Accepts 1..1000 closed actions, at most 32000 expanded writer calls and 1048576 JSON bytes, cumulative across batches in an atomic plan. Uses existing writer validation; omitted groups are preserved. No nested plans, per-action targets/options or dry run. Expected revision is consumed once at batch start; live freshness is checked again before publication. Shared sessions support direct identity-preserving writes only.";
325
+ readonly expectedResult: "Resolves to ParagraphBatchMutationResult with resolution.targets, applied mode and tracked refs when committed, or indexed failure details. An all-no-op batch succeeds without revision, publication or history. Standalone commits once; inside an atomic plan shares its one preparation, publication and Undo/Redo unit.";
326
+ readonly requiresDocumentContext: true;
327
+ readonly metadata: CommandStaticMetadata;
328
+ readonly referenceDocPath: "format/paragraph/apply-batch.mdx";
329
+ readonly referenceGroup: "format.paragraph";
330
+ };
322
331
  readonly 'format.paragraph.setAlignment': {
323
332
  readonly memberPath: "format.paragraph.setAlignment";
324
333
  readonly description: "Set visual paragraph alignment on a paragraph-like block. For RTL paragraphs, left/right are translated to Word-compatible stored justification values.";
@@ -1610,12 +1619,21 @@ export declare const OPERATION_DEFINITIONS: {
1610
1619
  readonly 'tables.applyPreset': {
1611
1620
  readonly memberPath: "tables.applyPreset";
1612
1621
  readonly description: string;
1613
- readonly expectedResult: "Returns a TableMutationResult receipt.";
1622
+ readonly expectedResult: "Returns a TableMutationResult receipt. Read tables.getProperties to see the installed Word style ID, which can differ from the Word default when the document already customizes that style.";
1614
1623
  readonly requiresDocumentContext: true;
1615
1624
  readonly metadata: CommandStaticMetadata;
1616
1625
  readonly referenceDocPath: "tables/apply-preset.mdx";
1617
1626
  readonly referenceGroup: "tables";
1618
1627
  };
1628
+ readonly 'tables.listPresets': {
1629
+ readonly memberPath: "tables.listPresets";
1630
+ readonly description: string;
1631
+ readonly expectedResult: "Returns a TablesListPresetsOutput page with items (id, name, source, group, accent, appearance), the exact filtered total, the page offset, and nextOffset (null when no more matches remain).";
1632
+ readonly requiresDocumentContext: true;
1633
+ readonly metadata: CommandStaticMetadata;
1634
+ readonly referenceDocPath: "tables/list-presets.mdx";
1635
+ readonly referenceGroup: "tables";
1636
+ };
1619
1637
  readonly 'tables.get': {
1620
1638
  readonly memberPath: "tables.get";
1621
1639
  readonly description: "Retrieve table structure and dimensions by locator.";
@@ -1636,8 +1654,8 @@ export declare const OPERATION_DEFINITIONS: {
1636
1654
  };
1637
1655
  readonly 'tables.getProperties': {
1638
1656
  readonly memberPath: "tables.getProperties";
1639
- readonly description: "Retrieve layout and style properties of a table.";
1640
- readonly expectedResult: "Returns a TablesGetPropertiesOutput with direct table layout and style state, including style options, borders, default cell margins, and cell spacing when explicitly set.";
1657
+ readonly description: "Retrieve layout, style, and authored row and grid column dimensions of a table.";
1658
+ readonly expectedResult: "Returns a TablesGetPropertiesOutput with direct table layout and style state and optional indexed rows and columns. Row heightPt and grid widthPt are authored points, not rendered sizes. Unspecified dimensions and unstored heightRule are omitted; explicit zero and auto are retained. Existing style options, borders, default cell margins, and cell spacing are included when explicitly set.";
1641
1659
  readonly requiresDocumentContext: true;
1642
1660
  readonly metadata: CommandStaticMetadata;
1643
1661
  readonly referenceDocPath: "tables/get-properties.mdx";
@@ -1800,6 +1818,56 @@ export declare const OPERATION_DEFINITIONS: {
1800
1818
  readonly intentGroup: "edit";
1801
1819
  readonly intentAction: "redo";
1802
1820
  };
1821
+ readonly 'changes.list': {
1822
+ readonly memberPath: "changes.list";
1823
+ readonly description: "List the change records this session retains, oldest first, with each change's actor, cause, provenance and affected blocks. Pass the returned cursor back as `after` to read only newer records; `waitMs` long-polls until at least one newer record exists.";
1824
+ readonly expectedResult: "Returns a ChangesListResult with items (oldest to newest), a resume cursor, a truncated flag when records after `after` were evicted, the session identity state and whether the session is collaborative.";
1825
+ readonly requiresDocumentContext: true;
1826
+ readonly metadata: CommandStaticMetadata;
1827
+ readonly referenceDocPath: "changes/list.mdx";
1828
+ readonly referenceGroup: "changes";
1829
+ readonly batchable: false;
1830
+ };
1831
+ readonly 'changes.get': {
1832
+ readonly memberPath: "changes.get";
1833
+ readonly description: "Get one retained change record by id.";
1834
+ readonly expectedResult: "Returns the ChangeRecord with that id, or null when this session does not retain it.";
1835
+ readonly requiresDocumentContext: true;
1836
+ readonly metadata: CommandStaticMetadata;
1837
+ readonly referenceDocPath: "changes/get.mdx";
1838
+ readonly referenceGroup: "changes";
1839
+ readonly batchable: false;
1840
+ };
1841
+ readonly 'changes.resolve': {
1842
+ readonly memberPath: "changes.resolve";
1843
+ readonly description: "List the retained change records that touched a block, following the blocks it was split from or merged with.";
1844
+ readonly expectedResult: "Returns a ChangesResolveResult with the block id, its lineage (the block plus the blocks it was split from or merged with) and the matching records, oldest to newest.";
1845
+ readonly requiresDocumentContext: true;
1846
+ readonly metadata: CommandStaticMetadata;
1847
+ readonly referenceDocPath: "changes/resolve.mdx";
1848
+ readonly referenceGroup: "changes";
1849
+ readonly batchable: false;
1850
+ };
1851
+ readonly 'changes.actors': {
1852
+ readonly memberPath: "changes.actors";
1853
+ readonly description: "List the identities that collaboration clients declared for this document. Identities and claims are declared by each client and are not verified by SuperDoc.";
1854
+ readonly expectedResult: "Returns a ChangesActorsResult with one item per declared client binding: client id, actor id, optional name, email and claim, session id and declaration time.";
1855
+ readonly requiresDocumentContext: true;
1856
+ readonly metadata: CommandStaticMetadata;
1857
+ readonly referenceDocPath: "changes/actors.mdx";
1858
+ readonly referenceGroup: "changes";
1859
+ readonly batchable: false;
1860
+ };
1861
+ readonly 'changes.snapshot': {
1862
+ readonly memberPath: "changes.snapshot";
1863
+ readonly description: "Capture the current revision, change cursor and collaboration state vector so a verifier can later replay or compare change records against this point.";
1864
+ readonly expectedResult: "Returns a ChangesSnapshotResult with the revision, change cursor, last change id, base64 state vector, optional base64 full state and capture time.";
1865
+ readonly requiresDocumentContext: true;
1866
+ readonly metadata: CommandStaticMetadata;
1867
+ readonly referenceDocPath: "changes/snapshot.mdx";
1868
+ readonly referenceGroup: "changes";
1869
+ readonly batchable: false;
1870
+ };
1803
1871
  readonly 'create.image': {
1804
1872
  readonly memberPath: "create.image";
1805
1873
  readonly description: "Insert a new image at the target position.";
@@ -3717,7 +3785,7 @@ export declare const OPERATION_DEFINITIONS: {
3717
3785
  readonly get: {
3718
3786
  readonly memberPath: "get";
3719
3787
  readonly description: "Read the full document as an SDDocument structure.";
3720
- readonly expectedResult: "Returns an SDDocument with body content projected into SDM/1 canonical shapes, plus the document's authored styles, theme (labeled document or fallback), docDefaults, and diagnostics for missing or unreadable style parts.";
3788
+ readonly expectedResult: "Returns an SDDocument with body content projected into SDM/1 canonical shapes, plus the document's authored styles, theme (labeled document or fallback), docDefaults, and diagnostics for missing or unreadable style parts. Paragraph indent *Chars values remain hundredths of a character; numeric distances remain points. Read-model fields do not expand operation-specific authoring support.";
3721
3789
  readonly requiresDocumentContext: true;
3722
3790
  readonly metadata: CommandStaticMetadata;
3723
3791
  readonly referenceDocPath: "get.mdx";
@@ -3736,7 +3804,7 @@ export declare const OPERATION_DEFINITIONS: {
3736
3804
  readonly getNode: {
3737
3805
  readonly memberPath: "getNode";
3738
3806
  readonly description: "Retrieve a single node by target position.";
3739
- readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address.";
3807
+ readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address. Paragraph indent *Chars values remain hundredths of a character; numeric distances remain points. Paragraph setters and fragment materialization retain their operation-specific property limits.";
3740
3808
  readonly requiresDocumentContext: true;
3741
3809
  readonly metadata: CommandStaticMetadata;
3742
3810
  readonly referenceDocPath: "get-node.mdx";
@@ -3745,7 +3813,7 @@ export declare const OPERATION_DEFINITIONS: {
3745
3813
  readonly getNodeById: {
3746
3814
  readonly memberPath: "getNodeById";
3747
3815
  readonly description: "Resolve a block ID across the body, linked headers/footers, and supported textboxes, optionally restricted by story. Paragraphs at every table-cell depth and top-level body/header/footer tables are supported; notes, comments, glossary, and nested table containers are excluded.";
3748
- readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address.";
3816
+ readonly expectedResult: "Returns an SDNodeResult envelope with the projected SDM/1 node and canonical address. Paragraph indent *Chars values remain hundredths of a character; numeric distances remain points. Paragraph setters and fragment materialization retain their operation-specific property limits.";
3749
3817
  readonly requiresDocumentContext: true;
3750
3818
  readonly metadata: CommandStaticMetadata;
3751
3819
  readonly referenceDocPath: "get-node-by-id.mdx";
@@ -20,7 +20,7 @@ export type OperationRegistry = {
20
20
  [Id in OperationId]: ResolveMemberPath<DocumentApiSurface, (typeof OPERATION_DEFINITIONS)[Id]['memberPath']> extends infer Method ? {
21
21
  input: MethodInput<Method>;
22
22
  options: MethodOptions<Method>;
23
- output: Id extends 'mutations.preview' | 'mutations.apply' | 'plan.execute' ? Awaited<MethodReturn<Method>> : MethodReturn<Method>;
23
+ output: Id extends 'mutations.preview' | 'mutations.apply' | 'plan.execute' | 'format.paragraph.applyBatch' ? Awaited<MethodReturn<Method>> : MethodReturn<Method>;
24
24
  } : never;
25
25
  };
26
26
  type MethodInvokeRequest<T extends OperationId> = OperationRegistry[T]['options'] extends never ? {
@@ -47,7 +47,7 @@ type AttributedInvokeRequest<T extends OperationId> = T extends 'insert' ? {
47
47
  /** Typed invoke request narrowed by `operationId` and supported content shape. */
48
48
  export type InvokeRequest<T extends OperationId> = MethodInvokeRequest<T> | AttributedInvokeRequest<T>;
49
49
  /** Typed invoke result narrowed by `operationId`. */
50
- export type InvokeResult<T extends OperationId> = T extends 'mutations.preview' | 'mutations.apply' ? Promise<OperationRegistry[T]['output']> : T extends 'plan.execute' ? OperationRegistry[T]['output'] | Promise<OperationRegistry[T]['output']> : OperationRegistry[T]['output'];
50
+ export type InvokeResult<T extends OperationId> = T extends 'mutations.preview' | 'mutations.apply' | 'format.paragraph.applyBatch' ? Promise<OperationRegistry[T]['output']> : T extends 'plan.execute' ? OperationRegistry[T]['output'] | Promise<OperationRegistry[T]['output']> : OperationRegistry[T]['output'];
51
51
  export type OperationCall<T extends OperationId> = InvokeRequest<T> extends infer Request ? (Request extends unknown ? Omit<Request, 'operationId'> : never) : never;
52
52
  export type OperationInput<T extends OperationId> = InvokeRequest<T>['input'];
53
53
  export type OperationOptions<T extends OperationId> = Exclude<InvokeRequest<T>['options'], undefined>;
@@ -1,5 +1,11 @@
1
1
  import { OperationId } from './types.js';
2
- type JsonSchema = Record<string, unknown>;
2
+ type JsonSchema = {
3
+ [key: string]: unknown;
4
+ properties?: Record<string, JsonSchema>;
5
+ required?: readonly string[];
6
+ anyOf?: JsonSchema[];
7
+ oneOf?: JsonSchema[];
8
+ };
3
9
  /** JSON Schema descriptors for a single operation's input, output, and result variants. */
4
10
  export interface OperationSchemaSet {
5
11
  /** Schema describing the operation's accepted input payload. */
@@ -17,11 +17,7 @@ export interface CreateApi {
17
17
  export type CreateAdapter = CreateApi;
18
18
  export declare function normalizeCreateParagraphInput(input: CreateParagraphInput): CreateParagraphInput;
19
19
  export declare function executeCreateParagraph(adapter: CreateAdapter, input: CreateParagraphInput, options?: MutationOptions): CreateParagraphResult;
20
- export declare function normalizeCreateHeadingInput(input: CreateHeadingInput): CreateHeadingInput;
21
20
  export declare function executeCreateHeading(adapter: CreateAdapter, input: CreateHeadingInput, options?: MutationOptions): CreateHeadingResult;
22
- export declare function normalizeCreateTableInput(input: CreateTableInput): CreateTableInput;
23
21
  export declare function executeCreateTable(adapter: CreateAdapter, input: CreateTableInput, options?: MutationOptions): CreateTableResult;
24
- export declare function normalizeCreateSectionBreakInput(input: CreateSectionBreakInput): CreateSectionBreakInput;
25
22
  export declare function executeCreateSectionBreak(adapter: CreateAdapter, input: CreateSectionBreakInput, options?: MutationOptions): CreateSectionBreakResult;
26
- export declare function normalizeCreateTableOfContentsInput(input: CreateTableOfContentsInput): CreateTableOfContentsInput;
27
23
  export declare function executeCreateTableOfContents(adapter: CreateAdapter, input: CreateTableOfContentsInput, options?: MutationOptions): CreateTableOfContentsResult;
@@ -105,23 +105,23 @@ export interface DiffApplyResult {
105
105
  coverage: DiffCoverage;
106
106
  summary: DiffSummary;
107
107
  diagnostics: string[];
108
- /** Style definitions applied directly; these changes remain when body revisions are rejected. */
108
+ /** Style policy used for this comparison. Tracked mode preserves unused proposal definitions after rejection. */
109
109
  styleChanges?: {
110
- changeMode: 'direct';
110
+ changeMode: 'direct' | 'tracked';
111
111
  partUris: string[];
112
112
  };
113
113
  }
114
114
  /** Input for `diff.compare`. */
115
115
  export interface DiffCompareInput {
116
116
  targetSnapshot: DiffSnapshot;
117
- /** Assess tracked eligibility with explicit consent to apply style definitions directly. */
118
- styleChangeMode?: 'direct';
117
+ /** Directly adopt definitions, or review references to separate proposed styles. */
118
+ styleChangeMode?: 'direct' | 'tracked';
119
119
  }
120
120
  /** Input for `diff.apply`. */
121
121
  export interface DiffApplyInput {
122
122
  diff: DiffPayload;
123
- /** Apply target style definitions directly, even when body changes are tracked. */
124
- styleChangeMode?: 'direct';
123
+ /** Tracked styles require tracked application; direct styles persist after body rejection. */
124
+ styleChangeMode?: 'direct' | 'tracked';
125
125
  }
126
126
  /** How body content changes are applied. */
127
127
  export type DiffChangeMode = 'direct' | 'tracked';
@@ -1,6 +1,6 @@
1
1
  import { MutationOptions } from '../write/write.js';
2
2
  import { SectionMutationResult } from '../sections/sections.types.js';
3
- import { HeaderFooterKind, HeaderFooterVariant, HeaderFooterSlotAddress, HeaderFooterPartAddress, HeaderFooterSlotEntry, HeaderFooterResolveResult, HeaderFootersListQuery, HeaderFootersListResult, HeaderFootersGetInput, HeaderFootersResolveInput, HeaderFootersRefsSetInput, HeaderFootersRefsClearInput, HeaderFootersRefsSetLinkedToPreviousInput, HeaderFootersPartsListQuery, HeaderFootersPartsListResult, HeaderFootersPartsCreateInput, HeaderFootersPartsDeleteInput, HeaderFooterPartsMutationResult, HeaderFootersPageNumbersInsertInput, HeaderFooterPageNumbersInsertResult, HeaderFootersPageNumbersSetInput, HeaderFooterPageNumbersSetResult, HeaderFootersPageNumbersRemoveInput, HeaderFooterPageNumbersRemoveResult, HeaderFootersPageNumbersGetInput, HeaderFooterPageNumbersInfo } from './header-footers.types.js';
3
+ import { HeaderFooterSlotAddress, HeaderFooterPartAddress, HeaderFooterSlotEntry, HeaderFooterResolveResult, HeaderFootersListQuery, HeaderFootersListResult, HeaderFootersGetInput, HeaderFootersResolveInput, HeaderFootersRefsSetInput, HeaderFootersRefsClearInput, HeaderFootersRefsSetLinkedToPreviousInput, HeaderFootersPartsListQuery, HeaderFootersPartsListResult, HeaderFootersPartsCreateInput, HeaderFootersPartsDeleteInput, HeaderFooterPartsMutationResult, HeaderFootersPageNumbersInsertInput, HeaderFooterPageNumbersInsertResult, HeaderFootersPageNumbersSetInput, HeaderFooterPageNumbersSetResult, HeaderFootersPageNumbersRemoveInput, HeaderFooterPageNumbersRemoveResult, HeaderFootersPageNumbersGetInput, HeaderFooterPageNumbersInfo } from './header-footers.types.js';
4
4
  export type { HeaderFooterKind, HeaderFooterVariant, HeaderFooterSlotAddress, HeaderFooterPartAddress, HeaderFooterSlotEntry, HeaderFooterResolveResult, HeaderFooterPartEntry, HeaderFootersListQuery, HeaderFootersListResult, HeaderFootersGetInput, HeaderFootersResolveInput, HeaderFootersRefsSetInput, HeaderFootersRefsClearInput, HeaderFootersRefsSetLinkedToPreviousInput, HeaderFootersPartsListQuery, HeaderFootersPartsListResult, HeaderFootersPartsCreateInput, HeaderFootersPartsDeleteInput, HeaderFooterPartsMutationResult, HeaderFooterRefsMutationResult, HeaderFooterRefsMutationSuccessResult, HeaderFooterRefsMutationFailureResult, HeaderFooterPartsMutationSuccessResult, HeaderFooterPartsMutationFailureResult, HeaderFooterPageNumberAlignment, HeaderFootersPageNumbersInsertInput, HeaderFooterPageNumbersInsertResult, HeaderFooterPageNumbersInsertSuccessResult, HeaderFooterPageNumbersInsertFailureResult, HeaderFootersPageNumbersNumberingInput, HeaderFootersPageNumbersSetInput, HeaderFooterPageNumbersSetResult, HeaderFootersPageNumbersRemoveInput, HeaderFooterPageNumbersRemoveResult, HeaderFooterPageNumbersRemoveSuccessResult, HeaderFootersPageNumbersGetInput, HeaderFooterPageNumberPlacement, HeaderFooterPageNumbersInfo, } from './header-footers.types.js';
5
5
  export interface HeaderFootersAdapter {
6
6
  list(query?: HeaderFootersListQuery): HeaderFootersListResult;
@@ -27,8 +27,6 @@ export interface HeaderFootersAdapter {
27
27
  export type HeaderFootersApi = Omit<HeaderFootersAdapter, 'pageNumbers'> & {
28
28
  pageNumbers: NonNullable<HeaderFootersAdapter['pageNumbers']>;
29
29
  };
30
- export declare function validateHeaderFooterKind(operationName: string, kind: unknown): asserts kind is HeaderFooterKind;
31
- export declare function validateHeaderFooterVariant(operationName: string, variant: unknown): asserts variant is HeaderFooterVariant;
32
30
  export declare function assertHeaderFooterSlotTarget(input: unknown, operationName: string): asserts input is {
33
31
  target: HeaderFooterSlotAddress;
34
32
  };