@beyondwork/docx-react-component 1.0.132 → 1.0.134

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 (94) hide show
  1. package/dist/api/public-types.cjs +161 -68
  2. package/dist/api/public-types.d.cts +1 -1
  3. package/dist/api/public-types.d.ts +1 -1
  4. package/dist/api/public-types.js +3 -3
  5. package/dist/api/v3.cjs +9878 -7387
  6. package/dist/api/v3.d.cts +2 -2
  7. package/dist/api/v3.d.ts +2 -2
  8. package/dist/api/v3.js +10 -10
  9. package/dist/{chunk-QUTVR72L.js → chunk-3YR47WTD.js} +296 -587
  10. package/dist/{chunk-RYMMKOFI.js → chunk-5KTJKTNE.js} +32 -0
  11. package/dist/{chunk-UP2KDOYE.js → chunk-74R5B2EZ.js} +6 -2
  12. package/dist/{chunk-6736GA6J.js → chunk-7Y6JCIK3.js} +1 -1
  13. package/dist/{chunk-43JAPM2F.js → chunk-EBSI6VQX.js} +546 -144
  14. package/dist/{chunk-JVTDBX67.js → chunk-EFEW7BTT.js} +2 -2
  15. package/dist/{chunk-YUHNDEV5.js → chunk-ESEEWELA.js} +3534 -1870
  16. package/dist/{chunk-XYTWOJII.js → chunk-IJD6D7HU.js} +745 -103
  17. package/dist/{chunk-UFPBYJMA.js → chunk-INLRCC4N.js} +2 -2
  18. package/dist/{chunk-N5FTU4HZ.js → chunk-MQ5GAJ54.js} +68 -39
  19. package/dist/{chunk-W2I47J2Q.js → chunk-NJFKPDNG.js} +216 -2
  20. package/dist/{chunk-LPLJZJT2.js → chunk-O4EDZR44.js} +131 -70
  21. package/dist/{chunk-4HGFJ6Z2.js → chunk-PZIEOEJZ.js} +1 -1
  22. package/dist/{chunk-C5LXKR54.js → chunk-QTRJLKR2.js} +1 -1
  23. package/dist/{chunk-SZ6BJA4Q.js → chunk-REFHJ2FN.js} +3 -3
  24. package/dist/{chunk-ZDYGRO2Z.js → chunk-RP76USJE.js} +1 -1
  25. package/dist/{chunk-RBWJHRNP.js → chunk-T66OS7MN.js} +8 -3
  26. package/dist/{chunk-ALWXYGXP.js → chunk-V2JF42SI.js} +2 -2
  27. package/dist/{chunk-CDEZGLQ3.js → chunk-VA24T4EB.js} +1 -1
  28. package/dist/{chunk-6TLZ6CMP.js → chunk-WDDFU2N2.js} +2 -2
  29. package/dist/{chunk-U3UMKA7B.js → chunk-XBQFDBXE.js} +1 -1
  30. package/dist/core/commands/formatting-commands.d.cts +1 -1
  31. package/dist/core/commands/formatting-commands.d.ts +1 -1
  32. package/dist/core/commands/image-commands.cjs +32 -0
  33. package/dist/core/commands/image-commands.d.cts +1 -1
  34. package/dist/core/commands/image-commands.d.ts +1 -1
  35. package/dist/core/commands/image-commands.js +5 -5
  36. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  37. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  38. package/dist/core/commands/style-commands.d.cts +1 -1
  39. package/dist/core/commands/style-commands.d.ts +1 -1
  40. package/dist/core/commands/table-structure-commands.cjs +32 -0
  41. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  42. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  43. package/dist/core/commands/table-structure-commands.js +4 -4
  44. package/dist/core/commands/text-commands.cjs +99 -38
  45. package/dist/core/commands/text-commands.d.cts +12 -1
  46. package/dist/core/commands/text-commands.d.ts +12 -1
  47. package/dist/core/commands/text-commands.js +5 -5
  48. package/dist/core/selection/mapping.d.cts +1 -1
  49. package/dist/core/selection/mapping.d.ts +1 -1
  50. package/dist/core/state/editor-state.d.cts +1 -1
  51. package/dist/core/state/editor-state.d.ts +1 -1
  52. package/dist/index.cjs +5365 -2298
  53. package/dist/index.d.cts +4 -4
  54. package/dist/index.d.ts +4 -4
  55. package/dist/index.js +388 -63
  56. package/dist/io/docx-session.cjs +7 -2
  57. package/dist/io/docx-session.d.cts +3 -3
  58. package/dist/io/docx-session.d.ts +3 -3
  59. package/dist/io/docx-session.js +4 -4
  60. package/dist/legal.js +3 -3
  61. package/dist/{loader-MAa8VpzW.d.cts → loader-CK3lZy4h.d.cts} +2 -2
  62. package/dist/{loader-CfpeEPAa.d.ts → loader-CQXplstv.d.ts} +2 -2
  63. package/dist/{public-types-KBS6JnOs.d.cts → public-types-BR1SYK2F.d.cts} +783 -189
  64. package/dist/{public-types-Cjs8glST.d.ts → public-types-DXNZVKrS.d.ts} +783 -189
  65. package/dist/public-types.cjs +161 -68
  66. package/dist/public-types.d.cts +1 -1
  67. package/dist/public-types.d.ts +1 -1
  68. package/dist/public-types.js +3 -3
  69. package/dist/runtime/collab.d.cts +2 -2
  70. package/dist/runtime/collab.d.ts +2 -2
  71. package/dist/runtime/document-runtime.cjs +1597 -444
  72. package/dist/runtime/document-runtime.d.cts +1 -1
  73. package/dist/runtime/document-runtime.d.ts +1 -1
  74. package/dist/runtime/document-runtime.js +14 -14
  75. package/dist/{session-CkoH8FoY.d.ts → session-C9UjrhJF.d.ts} +2 -2
  76. package/dist/{session-wwe0Gib-.d.cts → session-CSbwkgII.d.cts} +2 -2
  77. package/dist/session.cjs +7 -2
  78. package/dist/session.d.cts +4 -4
  79. package/dist/session.d.ts +4 -4
  80. package/dist/session.js +5 -5
  81. package/dist/tailwind.cjs +451 -650
  82. package/dist/tailwind.d.cts +1 -1
  83. package/dist/tailwind.d.ts +1 -1
  84. package/dist/tailwind.js +7 -7
  85. package/dist/{types-B3SGRW0w.d.cts → types-CZtAueri.d.cts} +1 -1
  86. package/dist/{types-CH7NWqVL.d.ts → types-RzkCXDNV.d.ts} +1 -1
  87. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  88. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  89. package/dist/ui-tailwind/editor-surface/search-plugin.js +4 -4
  90. package/dist/ui-tailwind.cjs +451 -650
  91. package/dist/ui-tailwind.d.cts +3 -2
  92. package/dist/ui-tailwind.d.ts +3 -2
  93. package/dist/ui-tailwind.js +7 -7
  94. package/package.json +1 -1
@@ -124,7 +124,7 @@ type ProductSectionBreakType = "nextPage" | "continuous" | "evenPage" | "oddPage
124
124
  * kinds; the builder then asks the registry for every action whose
125
125
  * `targetKinds` set includes at least one of the resolved kinds.
126
126
  */
127
- type TargetKind = "plain-text" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
127
+ type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "toc-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
128
128
  /**
129
129
  * Host callbacks the editor shell passes down to the registry. All
130
130
  * fields are optional — the registry's `when()` predicates filter out
@@ -187,6 +187,8 @@ interface EditorActionHostCallbacks {
187
187
  readonly onEditHyperlink?: () => void;
188
188
  readonly onRemoveHyperlink?: () => void;
189
189
  readonly onOpenHyperlink?: () => void;
190
+ readonly onUpdateFields?: () => void;
191
+ readonly onUpdateTableOfContents?: () => void;
190
192
  readonly onJumpToScopeInRail?: () => void;
191
193
  readonly onOpenScopeCard?: () => void;
192
194
  readonly onMarkScopeResolved?: () => void;
@@ -4555,6 +4557,21 @@ interface GeometryNumberingFormatPosture {
4555
4557
  renderedFormat: "decimal";
4556
4558
  reason: "unsupported-numbering-format-decimal-fallback" | "numbering-format-range-decimal-fallback";
4557
4559
  }
4560
+ interface GeometryNumberingMarkerTextPosture {
4561
+ status: "normalized";
4562
+ sourceText: string;
4563
+ renderedText: string;
4564
+ reason: "symbol-font-bullet-normalized";
4565
+ fontFamily?: string;
4566
+ }
4567
+ interface GeometryNumberingPictureBulletPosture {
4568
+ status: "media-rendered" | "glyph-fallback" | "preserve-only";
4569
+ picBulletId: string;
4570
+ mediaId?: string;
4571
+ fallbackGlyph?: string;
4572
+ sourceRef?: CanonicalSourceRef;
4573
+ reason: "picture-bullet-media-rendered" | "picture-bullet-media-unavailable" | "picture-bullet-catalog-entry-missing";
4574
+ }
4558
4575
  interface GeometryNumberingMarkerBoundary {
4559
4576
  generatedContent: "numbering-marker";
4560
4577
  caretPolicy: "snap-to-authored-text";
@@ -4612,9 +4629,13 @@ interface SemanticDisplayEntry {
4612
4629
  numberingCanonicalAddressKey?: string;
4613
4630
  numberingListAddressKey?: string;
4614
4631
  numberingMarkerText?: string;
4632
+ numberingMarkerTextPosture?: GeometryNumberingMarkerTextPosture;
4615
4633
  numberingMarkerSuffix?: "tab" | "space" | "nothing";
4616
4634
  numberingFormat?: string;
4617
4635
  numberingFormatPosture?: GeometryNumberingFormatPosture;
4636
+ numberingPicBulletId?: string;
4637
+ numberingPicBulletMediaId?: string;
4638
+ numberingPictureBulletPosture?: GeometryNumberingPictureBulletPosture;
4618
4639
  numberingUnavailableReasons?: readonly GeometryNumberingUnavailableReason[];
4619
4640
  markerGlyphRect?: GeometryRect$1;
4620
4641
  markerLaneRect?: GeometryRect$1;
@@ -5680,6 +5701,25 @@ declare function removeTableRowPure(table: TableNode, rowIndex: number): TableNo
5680
5701
  */
5681
5702
  declare function removeCellFromRow(table: TableNode, rowIndex: number, cellIndex: number): TableNode;
5682
5703
 
5704
+ /**
5705
+ * Optional callbacks the runtime can wire into `applyTextTransaction` to
5706
+ * surface scope-surface reuse decisions in perf telemetry. Adding a counter
5707
+ * here is the brittleness guard that keeps future helpers honest: if a new
5708
+ * resolver bypasses {@link ScopeSurfaceCache} and calls
5709
+ * `createEditorSurfaceSnapshot` directly on the typing path, the runtime's
5710
+ * `surface.scope.builds` counter will jump and tests/benches catch it.
5711
+ */
5712
+ interface ScopeSurfaceTelemetry {
5713
+ /** Fires once per `applyTextTransaction` call when the precomputed surface
5714
+ * passed by the caller satisfies the freshness contract and is reused. */
5715
+ readonly onPrecomputedSurfaceHit?: () => void;
5716
+ /** Fires once per `applyTextTransaction` call the first time a scope helper
5717
+ * needs the surface and no usable precomputed one was supplied, so the
5718
+ * text-transaction layer builds its own (`NO_EDITABLE_TARGETS_INDEX`).
5719
+ * Subsequent helper calls in the same transaction reuse the cached value
5720
+ * without firing this callback again. */
5721
+ readonly onScopeSurfaceBuild?: () => void;
5722
+ }
5683
5723
  interface TextTransactionResult {
5684
5724
  document: CanonicalDocumentEnvelope$1;
5685
5725
  selection: SelectionSnapshot$1;
@@ -5842,6 +5882,17 @@ type EditorCommand = {
5842
5882
  selection?: SelectionSnapshot$1;
5843
5883
  editableTarget?: EditableTargetRef;
5844
5884
  origin?: CommandOrigin;
5885
+ } | {
5886
+ /**
5887
+ * Suggesting-mode structured-fragment replacement. Inserts the fragment
5888
+ * at the replacement boundary, leaves the original range in place, and
5889
+ * authors linked insertion/deletion revisions for accept/reject.
5890
+ */
5891
+ type: "fragment.insert-tracked";
5892
+ fragment: CanonicalDocumentFragment;
5893
+ selection?: SelectionSnapshot$1;
5894
+ editableTarget?: EditableTargetRef;
5895
+ origin?: CommandOrigin;
5845
5896
  } | {
5846
5897
  type: "runtime.set-read-only";
5847
5898
  readOnly: boolean;
@@ -6100,6 +6151,19 @@ interface CommandExecutionContext {
6100
6151
  * callers that cannot produce it.
6101
6152
  */
6102
6153
  renderSnapshot?: RuntimeRenderSnapshot;
6154
+ /**
6155
+ * Optional pre-built scope surface for the canonical text-transaction
6156
+ * layer (`applyTextTransaction`). Populated automatically by
6157
+ * {@link withCommandTextTarget} from `renderSnapshot.surface` so the L02
6158
+ * text transaction reuses the runtime's cached surface instead of
6159
+ * rebuilding it on every keystroke. Layer separation is preserved: text
6160
+ * commands accept this as an optional hint and remain functional when it
6161
+ * is absent.
6162
+ */
6163
+ precomputedSurface?: EditorSurfaceSnapshot;
6164
+ /** Optional perf-counter callbacks the runtime wires in to surface the
6165
+ * scope-surface reuse rate; see `text-transaction.ScopeSurfaceTelemetry`. */
6166
+ surfaceTelemetry?: ScopeSurfaceTelemetry;
6103
6167
  activeStorySize?: number;
6104
6168
  activeStoryKey?: string;
6105
6169
  editableTargetCache?: EditableTargetBlockCache;
@@ -7094,6 +7158,51 @@ interface ScopeBundle$1 {
7094
7158
  readonly evidence: ScopeBundleEvidence;
7095
7159
  readonly generatedAtUtc: string;
7096
7160
  }
7161
+ type ScopeEditableGraphContentModel = "text" | "value" | "structure" | "object" | "metadata" | "mixed";
7162
+ type ScopeEditableGraphTargetFamily = "text" | "value" | "structure" | "object" | "metadata" | "preservation";
7163
+ type ScopeEditableGraphTargetStatus = "ready" | "needs-command" | "preserve" | "diagnostic";
7164
+ interface ScopeEditableGraphTarget {
7165
+ readonly targetId: string;
7166
+ readonly family: ScopeEditableGraphTargetFamily;
7167
+ readonly kind: string;
7168
+ readonly relation?: ScopeEditableTargetRelation;
7169
+ readonly status: ScopeEditableGraphTargetStatus;
7170
+ readonly commandFamily?: string;
7171
+ readonly actionHandle?: string;
7172
+ readonly canonicalAddress?: EditableTargetCanonicalAddress;
7173
+ readonly readback?: ScopeEditableTargetReadbackEvidence;
7174
+ readonly blockers: readonly string[];
7175
+ readonly warnings: readonly string[];
7176
+ readonly intents: readonly ScopeEditableTargetRuntimeCommandIntent[];
7177
+ }
7178
+ interface ScopeEditableGraphOperation {
7179
+ readonly kind: "replace-text" | "replace-value" | "edit-structure" | "edit-object" | "attach-metadata";
7180
+ readonly status: "ready" | "needs-target" | "needs-command";
7181
+ readonly targetIds: readonly string[];
7182
+ readonly commandFamilies: readonly string[];
7183
+ }
7184
+ interface ScopeEditableGraphReadiness {
7185
+ readonly status: "ready" | "partial" | "metadata-only";
7186
+ readonly readyTargetCount: number;
7187
+ readonly needsCommandTargetCount: number;
7188
+ readonly preserveTargetCount: number;
7189
+ readonly blockers: readonly string[];
7190
+ readonly warnings: readonly string[];
7191
+ }
7192
+ interface ScopeEditableGraph {
7193
+ readonly scope: ScopeHandle;
7194
+ readonly contentModel: ScopeEditableGraphContentModel;
7195
+ readonly targets: readonly ScopeEditableGraphTarget[];
7196
+ readonly textTargets: readonly ScopeEditableGraphTarget[];
7197
+ readonly valueTargets: readonly ScopeEditableGraphTarget[];
7198
+ readonly structureTargets: readonly ScopeEditableGraphTarget[];
7199
+ readonly objectTargets: readonly ScopeEditableGraphTarget[];
7200
+ readonly metadataTargets: readonly ScopeEditableGraphTarget[];
7201
+ readonly preservationTargets: readonly ScopeEditableGraphTarget[];
7202
+ readonly operations: readonly ScopeEditableGraphOperation[];
7203
+ readonly readiness: ScopeEditableGraphReadiness;
7204
+ readonly summary: string;
7205
+ }
7097
7206
  type ScopeReplacementOperationKind = "replace" | "insert-before" | "insert-after";
7098
7207
  /**
7099
7208
  * Compiler-internal proposal operation. Public replacement surfaces accept
@@ -7226,7 +7335,7 @@ interface ValidationResult$1 {
7226
7335
  * Kept narrow — one step per mutation — so the audit bundle's
7227
7336
  * `compiledOperations` is a faithful ledger of what the runtime did.
7228
7337
  */
7229
- type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "formatting-apply";
7338
+ type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "fragment-replace-tracked" | "formatting-apply";
7230
7339
  interface RuntimeOperationStep {
7231
7340
  readonly kind: RuntimeOperationStepKind;
7232
7341
  /** Human-readable one-line description; used in audit `compiledOperations`. */
@@ -7801,6 +7910,8 @@ type ActiveStoryTextCommand = Extract<EditorCommand, {
7801
7910
  type: "paragraph.split";
7802
7911
  }> | Extract<EditorCommand, {
7803
7912
  type: "fragment.insert";
7913
+ }> | Extract<EditorCommand, {
7914
+ type: "fragment.insert-tracked";
7804
7915
  }>;
7805
7916
  interface DocumentRuntime {
7806
7917
  subscribe(listener: () => void): Unsubscribe;
@@ -10165,6 +10276,46 @@ interface AIActionPolicy {
10165
10276
  fallbackBehavior: 'fail-safe' | 'user-prompt' | 'degrade-gracefully' | 'block-entirely';
10166
10277
  }
10167
10278
 
10279
+ /**
10280
+ * Slice 5 — replacement apply pipeline.
10281
+ *
10282
+ * Composition (honouring §7 of the Slice-5 handover):
10283
+ * 1. Re-resolve + re-compile the target scope against live state.
10284
+ * 2. Re-run `composeScopeValidation` — never trust a propose-time
10285
+ * verdict; Yjs remote or local edits may have moved since propose.
10286
+ * 3. When `validation.safe === false`, refuse with a typed result and
10287
+ * do NOT dispatch anything.
10288
+ * 4. Compile the per-kind `RuntimeOperationPlan` (no-op kinds land as
10289
+ * `compile-refused:<kind>` blockers).
10290
+ * 5. Dispatch through `runtimeSink.applyScopeReplacement(plan)`.
10291
+ * 6. Emit exactly one `ScopeActionAudit` on the `scope` telemetry
10292
+ * channel (S5).
10293
+ *
10294
+ * The "runtimeSink" parameter is a narrow interface rather than
10295
+ * `DocumentRuntime` so the apply pipeline stays testable and doesn't
10296
+ * drag the full runtime surface into the compiler.
10297
+ */
10298
+
10299
+ interface ApplyScopeReplacementResult {
10300
+ readonly applied: boolean;
10301
+ readonly reason?: string;
10302
+ readonly validation: ValidationResult$1;
10303
+ readonly audit?: ScopeActionAudit;
10304
+ readonly plan?: RuntimeOperationPlan;
10305
+ readonly scope?: SemanticScope;
10306
+ /**
10307
+ * Gap A (coord-08 post-Slice-7 integration) — revision IDs authored
10308
+ * by the runtime during this apply. Populated for suggest-mode
10309
+ * dispatch (where `text-insert-tracked` / `text-delete-tracked`
10310
+ * commands author `RevisionRecord` entries in
10311
+ * `review.revisions`); empty array for direct-edit (no revisions
10312
+ * authored). Agents can pass each id into `ai.acceptRevision` /
10313
+ * `ai.rejectRevision` to land or discard the proposal without
10314
+ * having to diff the runtime's revision map themselves.
10315
+ */
10316
+ readonly authoredRevisionIds: readonly string[];
10317
+ }
10318
+
10168
10319
  /**
10169
10320
  * Resolved numbering geometry. **All numeric distance values are in OOXML
10170
10321
  * twips (1/1440 in)** — the same unit `w:ind`/`w:tabs`/`w:spacing` carry on
@@ -10921,6 +11072,215 @@ declare function createListsFamily(runtime: RuntimeApiHandle): {
10921
11072
  applyCommand(input: RuntimeListApplyInput): RuntimeListApplyResult;
10922
11073
  };
10923
11074
 
11075
+ /**
11076
+ * Compact AI-facing pointer to an emitted ScopeActionAudit.
11077
+ *
11078
+ * The full audit bundle remains on the `scope` telemetry channel. Mutation
11079
+ * return values expose only enough provenance for agents to cite the action
11080
+ * and correlate it with telemetry.
11081
+ */
11082
+
11083
+ interface AiActionAuditReference {
11084
+ readonly actionId: string;
11085
+ readonly actorId: string;
11086
+ readonly origin: ScopeActionAudit["origin"];
11087
+ readonly emittedAtUtc: string;
11088
+ }
11089
+
11090
+ /**
11091
+ * @endStateApi v3 — `ai.attach` family.
11092
+ *
11093
+ * attachExplanation (live-with-adapter) / createIssue (live-with-adapter).
11094
+ *
11095
+ * Both route through the Layer-08 compiler-service facade
11096
+ * (`createScopeCompilerService`), which wraps Layer-06's
11097
+ * `attachScopeMetadata` writer. Metadata persists as
11098
+ * `WorkflowMetadataEntry` records with stable `metadataId` prefixes
11099
+ * (`ai.explanation`, `ai.issue`).
11100
+ *
11101
+ * Coverage: /06's derived-scope resolver (2026-04-23, `1a3d127e`) lets
11102
+ * both paths succeed on paragraph-like derived scopeIds (`para:*`,
11103
+ * `heading:*`, `li:*`) in addition to overlay scopes — no overlay
11104
+ * promotion step required. Non-paragraph-like derived table/field scopeIds,
11105
+ * comment-thread scopes, and revision scopes return `{attached: false,
11106
+ * reason: "scope-not-resolvable:<id>"}` / `{created: false, reason}`
11107
+ * — the broader prefix reflects §13c's two-stage resolution (overlay
11108
+ * miss then derived-resolver miss); pre-§13c was `scope-not-in-overlay:`.
11109
+ *
11110
+ * Architecture A4 — every mutating function emits exactly one
11111
+ * `ScopeActionAudit` on the `scope` telemetry channel. The facade does
11112
+ * not own audit emission for metadata writes; this module does, via
11113
+ * `_metadata-audit.ts`. `applyReplacementScope`'s audit emission stays
11114
+ * inside /08's replacement pipeline. Together the three mutating
11115
+ * functions (`applyReplacementScope`, `attachExplanation`, `createIssue`)
11116
+ * carry exactly-one-audit-per-mutation coverage.
11117
+ */
11118
+
11119
+ interface AttachExplanationInput {
11120
+ readonly scopeId: string;
11121
+ readonly explanation: string;
11122
+ readonly actorId?: string;
11123
+ readonly origin?: "ui" | "agent" | "host";
11124
+ }
11125
+ interface AttachExplanationResult {
11126
+ readonly explanationId: string;
11127
+ readonly attached: boolean;
11128
+ readonly auditReference?: AiActionAuditReference;
11129
+ /**
11130
+ * Present when `attached: false`. Mirrors the primitive's refusal
11131
+ * reason (`scope-not-resolvable:<scopeId>` post-coord-06 §13c;
11132
+ * pre-§13c: `scope-not-in-overlay:<scopeId>`). Restored in
11133
+ * `cross-layer-coord-09.md §1.17` — symmetry with
11134
+ * `CreateIssueResult.reason`.
11135
+ */
11136
+ readonly reason?: string;
11137
+ }
11138
+ interface CreateIssueInput {
11139
+ readonly scopeId: string;
11140
+ readonly summary: string;
11141
+ readonly severity?: "info" | "warning" | "error";
11142
+ readonly actorId?: string;
11143
+ readonly origin?: "ui" | "agent" | "host";
11144
+ }
11145
+ interface CreateIssueResult {
11146
+ readonly issueId: string;
11147
+ readonly created: boolean;
11148
+ readonly auditReference?: AiActionAuditReference;
11149
+ readonly reason?: string;
11150
+ }
11151
+ declare function createAttachFamily(runtime: RuntimeApiHandle): {
11152
+ attachExplanation(input: AttachExplanationInput): AttachExplanationResult;
11153
+ createIssue(input: CreateIssueInput): CreateIssueResult;
11154
+ };
11155
+
11156
+ /**
11157
+ * @endStateApi v3 — `ai.table` family.
11158
+ *
11159
+ * Agent-facing table structure commands use opaque action handles. The AI
11160
+ * surface consumes Layer-08 editable-target evidence (`table-structure-action`)
11161
+ * and dispatches through the existing Layer-07 runtime command, without
11162
+ * widening broad table/row/cell replacement authority or exposing target refs.
11163
+ */
11164
+
11165
+ type AiTableActionOperation = Exclude<TableOp, {
11166
+ readonly kind: "insert";
11167
+ }>;
11168
+ type AiTableCellTransferOperation = {
11169
+ readonly kind: "paste-cell-content";
11170
+ readonly content?: {
11171
+ readonly kind: "text";
11172
+ readonly text: string;
11173
+ } | {
11174
+ readonly kind: "structured";
11175
+ readonly value: unknown;
11176
+ };
11177
+ } | {
11178
+ readonly kind: "drop-cell-content";
11179
+ readonly content?: {
11180
+ readonly kind: "text";
11181
+ readonly text: string;
11182
+ } | {
11183
+ readonly kind: "structured";
11184
+ readonly value: unknown;
11185
+ };
11186
+ };
11187
+ type AiTableCallableOperation = AiTableActionOperation | AiTableCellTransferOperation;
11188
+ type AiTableActionOperationKind = AiTableCallableOperation["kind"];
11189
+ type AiTableActionTargetScope = EditableTargetTableIdentity["operationScope"];
11190
+ type AiTableActionHandle = string;
11191
+ interface ListTableActionsInput {
11192
+ readonly handle: ScopeHandle;
11193
+ readonly nowUtc: string;
11194
+ }
11195
+ interface AiTableActionDescriptor {
11196
+ readonly actionHandle: AiTableActionHandle;
11197
+ readonly family: "table-structure" | "table-text";
11198
+ readonly targetKind: string;
11199
+ readonly relation: string;
11200
+ readonly operationScope: AiTableActionTargetScope;
11201
+ readonly callableOperations: readonly AiTableActionOperationKind[];
11202
+ readonly selectionRequiredOperations?: readonly AiTableActionOperationKind[];
11203
+ readonly supportedOperations: readonly AiTableActionOperationKind[];
11204
+ readonly readback?: AiTableTextReadback;
11205
+ readonly reason: string;
11206
+ }
11207
+ interface AiTableActionListResult {
11208
+ readonly scopeId: string;
11209
+ readonly actions: readonly AiTableActionDescriptor[];
11210
+ readonly blockers?: readonly string[];
11211
+ }
11212
+ interface ApplyTableActionInput {
11213
+ readonly actionHandle: AiTableActionHandle;
11214
+ readonly operation: AiTableCallableOperation;
11215
+ /**
11216
+ * Optional owning scope id to include in metadata fallback instructions.
11217
+ * This is not used for mutation targeting.
11218
+ */
11219
+ readonly scopeId?: string;
11220
+ readonly actorId?: string;
11221
+ readonly origin?: "ui" | "agent" | "host";
11222
+ readonly proposalId?: string;
11223
+ }
11224
+ interface AiTableActionBlockerDetail {
11225
+ readonly code: string;
11226
+ readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
11227
+ readonly message: string;
11228
+ readonly nextStep: string;
11229
+ readonly actionHandle?: AiTableActionHandle;
11230
+ readonly operation?: string;
11231
+ readonly operationScope?: string;
11232
+ }
11233
+ interface AiTableActionCommandReference {
11234
+ readonly command: "table.apply-structure" | "table.apply-text" | "fragment.insert";
11235
+ readonly actorId: string;
11236
+ readonly origin: "ui" | "agent" | "host";
11237
+ readonly emittedAtUtc: string;
11238
+ }
11239
+ interface AiTableActionTargetReadback {
11240
+ readonly actionHandle: AiTableActionHandle;
11241
+ readonly targetKind: string;
11242
+ readonly operationScope: AiTableActionTargetScope;
11243
+ readonly family: "table-structure" | "table-text";
11244
+ }
11245
+ interface AiTableTextReadback {
11246
+ readonly text: string;
11247
+ readonly isEmpty: boolean;
11248
+ }
11249
+ type AiTableActionPosture = "supported";
11250
+ interface AiTableActionSupport {
11251
+ readonly undo: "supported";
11252
+ readonly replay: "supported";
11253
+ readonly exportReopen: "supported";
11254
+ readonly audit: "command-reference";
11255
+ readonly emptyCell: "supported";
11256
+ }
11257
+ interface ApplyTableActionResult {
11258
+ readonly proposalId: string;
11259
+ readonly applied: boolean;
11260
+ readonly changed: boolean;
11261
+ readonly actionHandle: AiTableActionHandle;
11262
+ readonly operation: AiTableActionOperationKind;
11263
+ readonly reason?: string;
11264
+ readonly blockers?: readonly string[];
11265
+ readonly blockerDetails?: readonly AiTableActionBlockerDetail[];
11266
+ /**
11267
+ * Table actions route through the runtime command bus, not the
11268
+ * scope-replacement audit producer. This compact command reference lets
11269
+ * agents cite the dispatch without pretending a ScopeActionAudit exists.
11270
+ */
11271
+ readonly commandReference?: AiTableActionCommandReference;
11272
+ readonly target?: AiTableActionTargetReadback;
11273
+ readonly afterReadback?: AiTableTextReadback;
11274
+ readonly readback?: AiTableTextReadback;
11275
+ readonly readbackText?: string;
11276
+ readonly posture?: AiTableActionPosture;
11277
+ readonly support?: AiTableActionSupport;
11278
+ }
11279
+ declare function createTableActionFamily(runtime: RuntimeApiHandle): {
11280
+ listTableActions(input: ListTableActionsInput): AiTableActionListResult;
11281
+ applyTableAction(input: ApplyTableActionInput): ApplyTableActionResult;
11282
+ };
11283
+
10924
11284
  /**
10925
11285
  * Layer 09 PE2 evidence projection.
10926
11286
  *
@@ -11019,17 +11379,6 @@ interface AiPe2EvidenceOptions {
11019
11379
  readonly oracle?: AiPe2OracleEvidenceProvider;
11020
11380
  }
11021
11381
 
11022
- /**
11023
- * @endStateApi v3 — `ai.inspect` family.
11024
- *
11025
- * Slice 2 of refactor/08 graduated both functions from `partial` →
11026
- * `live-with-adapter`. Live path delegates to `src/runtime/scopes/` via
11027
- * an adapter that reads canonical + overlay from the runtime.
11028
- *
11029
- * The v3 surface stays a thin shim — semantic-scope compilation lives
11030
- * under `src/runtime/scopes/**` (layer 08), not here.
11031
- */
11032
-
11033
11382
  interface InspectDocumentResult {
11034
11383
  readonly documentId: string;
11035
11384
  readonly scopeCount: number;
@@ -11038,8 +11387,231 @@ interface InspectDocumentResult {
11038
11387
  readonly kindDistribution: Readonly<Partial<Record<SemanticScopeKind, number>>>;
11039
11388
  readonly pe2Evidence: AiPe2DocumentEvidence;
11040
11389
  }
11041
- declare function createInspectFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
11042
- inspectDocument(): InspectDocumentResult;
11390
+ interface InspectScopeEditableGraphInput {
11391
+ readonly scope?: ScopeHandle;
11392
+ readonly handle?: ScopeHandle;
11393
+ readonly nowUtc?: string;
11394
+ }
11395
+ interface InspectScopeEditableGraphNotFound {
11396
+ readonly notFound: true;
11397
+ readonly scopeId: string;
11398
+ readonly reason: string;
11399
+ }
11400
+ interface ScopeEditReplaceOperation {
11401
+ readonly kind: "replace";
11402
+ readonly text: string;
11403
+ readonly targetId?: string;
11404
+ }
11405
+ interface ScopeEditTableActionOperation {
11406
+ readonly kind: "table-action";
11407
+ readonly operation: AiTableCallableOperation;
11408
+ readonly targetId: string;
11409
+ }
11410
+ interface ScopeEditFieldRefreshOperation {
11411
+ readonly kind: "field-refresh";
11412
+ readonly targetId?: string;
11413
+ readonly supportedOnly?: boolean;
11414
+ }
11415
+ interface ScopeEditTocRefreshOperation {
11416
+ readonly kind: "toc-refresh";
11417
+ readonly targetId?: string;
11418
+ readonly tocId?: string;
11419
+ readonly mode?: "regenerate" | "preserveCached";
11420
+ readonly maxLevel?: number;
11421
+ }
11422
+ interface ScopeEditBookmarkOperation {
11423
+ readonly kind: "bookmark-edit";
11424
+ readonly text: string;
11425
+ readonly targetId?: string;
11426
+ }
11427
+ interface ScopeEditHyperlinkDestinationOperation {
11428
+ readonly kind: "hyperlink-destination-edit";
11429
+ readonly href: string;
11430
+ readonly targetId?: string;
11431
+ }
11432
+ type ScopeEditListOperationKind = {
11433
+ readonly kind: "toggle";
11434
+ readonly listKind: "bulleted" | "numbered";
11435
+ } | {
11436
+ readonly kind: "indent";
11437
+ } | {
11438
+ readonly kind: "outdent";
11439
+ } | {
11440
+ readonly kind: "restart-numbering";
11441
+ readonly startAt?: number;
11442
+ } | {
11443
+ readonly kind: "continue-numbering";
11444
+ };
11445
+ interface ScopeEditListOperation {
11446
+ readonly kind: "list-operation";
11447
+ readonly operation: ScopeEditListOperationKind;
11448
+ readonly targetId?: string;
11449
+ }
11450
+ type ScopeEditMetadataPayload = {
11451
+ readonly kind: "explanation";
11452
+ readonly explanation: string;
11453
+ } | {
11454
+ readonly kind: "issue";
11455
+ readonly summary: string;
11456
+ readonly severity?: "info" | "warning" | "error";
11457
+ };
11458
+ interface ScopeEditAttachMetadataOperation {
11459
+ readonly kind: "attach-metadata";
11460
+ readonly metadata: ScopeEditMetadataPayload;
11461
+ readonly targetId?: string;
11462
+ }
11463
+ type ScopeEditOperation = ScopeEditReplaceOperation | ScopeEditTableActionOperation | ScopeEditFieldRefreshOperation | ScopeEditTocRefreshOperation | ScopeEditBookmarkOperation | ScopeEditHyperlinkDestinationOperation | ScopeEditListOperation | ScopeEditAttachMetadataOperation;
11464
+ interface PlanScopeEditInput {
11465
+ readonly scope?: ScopeHandle;
11466
+ readonly handle?: ScopeHandle;
11467
+ readonly operation: ScopeEditOperation;
11468
+ readonly mode?: "preview";
11469
+ readonly nowUtc?: string;
11470
+ }
11471
+ interface ScopeEditPlan {
11472
+ readonly planId: string;
11473
+ readonly status: "ready" | "blocked";
11474
+ readonly scope: ScopeHandle;
11475
+ readonly operation: ScopeEditOperation;
11476
+ readonly route: "scope-replacement" | "table-text-action" | "table-structure-action" | "field-refresh-action" | "toc-refresh-action" | "bookmark-edit-action" | "hyperlink-destination-action" | "list-text-action" | "list-operation-action" | "metadata-attach-action";
11477
+ readonly targetId: string;
11478
+ readonly actionHandle?: string;
11479
+ readonly blockers: readonly string[];
11480
+ readonly warnings: readonly string[];
11481
+ readonly graph: ScopeEditableGraph;
11482
+ }
11483
+ interface ScopeEditPlanBlocked {
11484
+ readonly planId: string;
11485
+ readonly status: "blocked";
11486
+ readonly scopeId: string;
11487
+ readonly operation: ScopeEditOperation;
11488
+ readonly blockers: readonly string[];
11489
+ readonly warnings: readonly string[];
11490
+ readonly graph?: ScopeEditableGraph;
11491
+ }
11492
+ interface ApplyScopeEditPlanInput {
11493
+ readonly plan: ScopeEditPlan | ScopeEditPlanBlocked;
11494
+ readonly actorId?: string;
11495
+ readonly origin?: "ui" | "agent" | "host";
11496
+ readonly emittedAtUtc?: string;
11497
+ }
11498
+ declare function createInspectFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
11499
+ scopes: Readonly<{
11500
+ inspect(input: InspectScopeEditableGraphInput): ScopeEditableGraph | InspectScopeEditableGraphNotFound;
11501
+ plan(input: PlanScopeEditInput): ScopeEditPlan | ScopeEditPlanBlocked;
11502
+ apply(input: ApplyScopeEditPlanInput): ApplyScopeReplacementResult | ApplyTableActionResult | AttachExplanationResult | CreateIssueResult | {
11503
+ applied: boolean;
11504
+ proposalId: string;
11505
+ reason: string;
11506
+ blockers: readonly string[];
11507
+ warnings: readonly string[];
11508
+ changed?: undefined;
11509
+ commandReference?: undefined;
11510
+ listReadback?: undefined;
11511
+ beforeReadback?: undefined;
11512
+ afterReadback?: undefined;
11513
+ } | {
11514
+ applied: boolean;
11515
+ changed: boolean;
11516
+ proposalId: string;
11517
+ reason: string;
11518
+ blockers: readonly string[];
11519
+ warnings: readonly string[];
11520
+ commandReference?: undefined;
11521
+ listReadback?: undefined;
11522
+ beforeReadback?: undefined;
11523
+ afterReadback?: undefined;
11524
+ } | {
11525
+ applied: boolean;
11526
+ changed: boolean;
11527
+ proposalId: string;
11528
+ commandReference: {
11529
+ command: "field.refresh" | "toc.refresh" | "bookmark.edit-content" | "hyperlink.update-destination";
11530
+ actorId: string;
11531
+ origin: "agent" | "host" | "ui";
11532
+ emittedAtUtc: string;
11533
+ };
11534
+ warnings: readonly string[];
11535
+ reason?: undefined;
11536
+ blockers?: undefined;
11537
+ listReadback?: undefined;
11538
+ beforeReadback?: undefined;
11539
+ afterReadback?: undefined;
11540
+ } | {
11541
+ applied: boolean;
11542
+ changed: boolean;
11543
+ proposalId: string;
11544
+ reason: string | RuntimeListBlocker;
11545
+ blockers: readonly (string | RuntimeListBlocker)[];
11546
+ warnings: readonly string[];
11547
+ listReadback: {
11548
+ after?: RuntimeListReadback | undefined;
11549
+ before?: RuntimeListReadback | undefined;
11550
+ };
11551
+ commandReference?: undefined;
11552
+ beforeReadback?: undefined;
11553
+ afterReadback?: undefined;
11554
+ } | {
11555
+ applied: boolean;
11556
+ changed: boolean;
11557
+ proposalId: string;
11558
+ commandReference: {
11559
+ command: string;
11560
+ actorId: string;
11561
+ origin: "agent" | "host" | "ui";
11562
+ emittedAtUtc: string;
11563
+ };
11564
+ warnings: readonly string[];
11565
+ listReadback: {
11566
+ after?: RuntimeListReadback | undefined;
11567
+ before?: RuntimeListReadback | undefined;
11568
+ };
11569
+ reason?: undefined;
11570
+ blockers?: undefined;
11571
+ beforeReadback?: undefined;
11572
+ afterReadback?: undefined;
11573
+ } | {
11574
+ afterReadback?: {
11575
+ readonly text: string;
11576
+ readonly isEmpty: boolean;
11577
+ } | undefined;
11578
+ applied: boolean;
11579
+ changed: boolean;
11580
+ proposalId: string;
11581
+ reason: string;
11582
+ blockers: readonly string[];
11583
+ warnings: readonly string[];
11584
+ beforeReadback: {
11585
+ readonly text: string;
11586
+ readonly isEmpty: boolean;
11587
+ };
11588
+ commandReference?: undefined;
11589
+ listReadback?: undefined;
11590
+ } | {
11591
+ applied: boolean;
11592
+ changed: boolean;
11593
+ proposalId: string;
11594
+ commandReference: {
11595
+ command: string;
11596
+ actorId: string;
11597
+ origin: "agent" | "host" | "ui";
11598
+ emittedAtUtc: string;
11599
+ };
11600
+ warnings: readonly string[];
11601
+ beforeReadback: {
11602
+ readonly text: string;
11603
+ readonly isEmpty: boolean;
11604
+ };
11605
+ afterReadback: {
11606
+ readonly text: string;
11607
+ readonly isEmpty: boolean;
11608
+ };
11609
+ reason?: undefined;
11610
+ blockers?: undefined;
11611
+ listReadback?: undefined;
11612
+ };
11613
+ }>;
11614
+ inspectDocument(): InspectDocumentResult;
11043
11615
  listScopes(filter?: {
11044
11616
  readonly limit?: number;
11045
11617
  readonly kind?: SemanticScopeKind;
@@ -11182,21 +11754,6 @@ declare function createBundleFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiP
11182
11754
  getScopeBundle(input: GetScopeBundleInput): ScopeBundle | ScopeBundleNotFound;
11183
11755
  };
11184
11756
 
11185
- /**
11186
- * Compact AI-facing pointer to an emitted ScopeActionAudit.
11187
- *
11188
- * The full audit bundle remains on the `scope` telemetry channel. Mutation
11189
- * return values expose only enough provenance for agents to cite the action
11190
- * and correlate it with telemetry.
11191
- */
11192
-
11193
- interface AiActionAuditReference {
11194
- readonly actionId: string;
11195
- readonly actorId: string;
11196
- readonly origin: ScopeActionAudit["origin"];
11197
- readonly emittedAtUtc: string;
11198
- }
11199
-
11200
11757
  /**
11201
11758
  * @endStateApi v3 — `ai.replacement` family.
11202
11759
  *
@@ -11328,72 +11885,6 @@ declare function createReplacementFamily(runtime: RuntimeApiHandle): {
11328
11885
  applyScopeAction(input: ApplyScopeActionInput): ApplyResult;
11329
11886
  };
11330
11887
 
11331
- /**
11332
- * @endStateApi v3 — `ai.attach` family.
11333
- *
11334
- * attachExplanation (live-with-adapter) / createIssue (live-with-adapter).
11335
- *
11336
- * Both route through the Layer-08 compiler-service facade
11337
- * (`createScopeCompilerService`), which wraps Layer-06's
11338
- * `attachScopeMetadata` writer. Metadata persists as
11339
- * `WorkflowMetadataEntry` records with stable `metadataId` prefixes
11340
- * (`ai.explanation`, `ai.issue`).
11341
- *
11342
- * Coverage: /06's derived-scope resolver (2026-04-23, `1a3d127e`) lets
11343
- * both paths succeed on paragraph-like derived scopeIds (`para:*`,
11344
- * `heading:*`, `li:*`) in addition to overlay scopes — no overlay
11345
- * promotion step required. Non-paragraph-like derived table/field scopeIds,
11346
- * comment-thread scopes, and revision scopes return `{attached: false,
11347
- * reason: "scope-not-resolvable:<id>"}` / `{created: false, reason}`
11348
- * — the broader prefix reflects §13c's two-stage resolution (overlay
11349
- * miss then derived-resolver miss); pre-§13c was `scope-not-in-overlay:`.
11350
- *
11351
- * Architecture A4 — every mutating function emits exactly one
11352
- * `ScopeActionAudit` on the `scope` telemetry channel. The facade does
11353
- * not own audit emission for metadata writes; this module does, via
11354
- * `_metadata-audit.ts`. `applyReplacementScope`'s audit emission stays
11355
- * inside /08's replacement pipeline. Together the three mutating
11356
- * functions (`applyReplacementScope`, `attachExplanation`, `createIssue`)
11357
- * carry exactly-one-audit-per-mutation coverage.
11358
- */
11359
-
11360
- interface AttachExplanationInput {
11361
- readonly scopeId: string;
11362
- readonly explanation: string;
11363
- readonly actorId?: string;
11364
- readonly origin?: "ui" | "agent" | "host";
11365
- }
11366
- interface AttachExplanationResult {
11367
- readonly explanationId: string;
11368
- readonly attached: boolean;
11369
- readonly auditReference?: AiActionAuditReference;
11370
- /**
11371
- * Present when `attached: false`. Mirrors the primitive's refusal
11372
- * reason (`scope-not-resolvable:<scopeId>` post-coord-06 §13c;
11373
- * pre-§13c: `scope-not-in-overlay:<scopeId>`). Restored in
11374
- * `cross-layer-coord-09.md §1.17` — symmetry with
11375
- * `CreateIssueResult.reason`.
11376
- */
11377
- readonly reason?: string;
11378
- }
11379
- interface CreateIssueInput {
11380
- readonly scopeId: string;
11381
- readonly summary: string;
11382
- readonly severity?: "info" | "warning" | "error";
11383
- readonly actorId?: string;
11384
- readonly origin?: "ui" | "agent" | "host";
11385
- }
11386
- interface CreateIssueResult {
11387
- readonly issueId: string;
11388
- readonly created: boolean;
11389
- readonly auditReference?: AiActionAuditReference;
11390
- readonly reason?: string;
11391
- }
11392
- declare function createAttachFamily(runtime: RuntimeApiHandle): {
11393
- attachExplanation(input: AttachExplanationInput): AttachExplanationResult;
11394
- createIssue(input: CreateIssueInput): CreateIssueResult;
11395
- };
11396
-
11397
11888
  /**
11398
11889
  * @endStateApi v3 — `ai.export` family.
11399
11890
  *
@@ -11706,131 +12197,89 @@ declare function createOutlineFamily(runtime: RuntimeApiHandle): {
11706
12197
  };
11707
12198
 
11708
12199
  /**
11709
- * @endStateApi v3 — `ai.table` family.
12200
+ * @endStateApi v3 — `ai.object` family.
11710
12201
  *
11711
- * Agent-facing table structure commands use opaque action handles. The AI
11712
- * surface consumes Layer-08 editable-target evidence (`table-structure-action`)
11713
- * and dispatches through the existing Layer-07 runtime command, without
11714
- * widening broad table/row/cell replacement authority or exposing target refs.
12202
+ * Object mutations use opaque handles derived from L08 object editable-target
12203
+ * evidence. This promotes image layout mutation through existing L07 image
12204
+ * commands without treating object scopes as text-replacement surfaces.
11715
12205
  */
11716
12206
 
11717
- type AiTableActionOperation = Exclude<TableOp, {
11718
- readonly kind: "insert";
11719
- }>;
11720
- type AiTableCellTransferOperation = {
11721
- readonly kind: "paste-cell-content";
11722
- readonly content?: {
11723
- readonly kind: "text";
11724
- readonly text: string;
11725
- } | {
11726
- readonly kind: "structured";
11727
- readonly value: unknown;
11728
- };
11729
- } | {
11730
- readonly kind: "drop-cell-content";
11731
- readonly content?: {
11732
- readonly kind: "text";
11733
- readonly text: string;
11734
- } | {
11735
- readonly kind: "structured";
11736
- readonly value: unknown;
11737
- };
11738
- };
11739
- type AiTableCallableOperation = AiTableActionOperation | AiTableCellTransferOperation;
11740
- type AiTableActionOperationKind = AiTableCallableOperation["kind"];
11741
- type AiTableActionTargetScope = EditableTargetTableIdentity["operationScope"];
11742
- type AiTableActionHandle = string;
11743
- interface ListTableActionsInput {
12207
+ type AiObjectActionHandle = string;
12208
+ interface ListObjectActionsInput {
11744
12209
  readonly handle: ScopeHandle;
11745
12210
  readonly nowUtc: string;
11746
12211
  }
11747
- interface AiTableActionDescriptor {
11748
- readonly actionHandle: AiTableActionHandle;
11749
- readonly family: "table-structure" | "table-text";
12212
+ type AiObjectActionOperation = {
12213
+ readonly kind: "set-image-layout";
12214
+ readonly dimensions: {
12215
+ readonly widthEmu: number;
12216
+ readonly heightEmu: number;
12217
+ };
12218
+ };
12219
+ interface AiObjectActionDescriptor {
12220
+ readonly actionHandle: AiObjectActionHandle;
12221
+ readonly objectKind: string;
11750
12222
  readonly targetKind: string;
11751
12223
  readonly relation: string;
11752
- readonly operationScope: AiTableActionTargetScope;
11753
- readonly callableOperations: readonly AiTableActionOperationKind[];
11754
- readonly selectionRequiredOperations?: readonly AiTableActionOperationKind[];
11755
- readonly supportedOperations: readonly AiTableActionOperationKind[];
11756
- readonly readback?: AiTableTextReadback;
12224
+ readonly callableOperations: readonly AiObjectActionOperation["kind"][];
12225
+ readonly supportedOperations: readonly AiObjectActionOperation["kind"][];
12226
+ readonly readback?: AiObjectReadback;
11757
12227
  readonly reason: string;
11758
12228
  }
11759
- interface AiTableActionListResult {
12229
+ interface AiObjectReadback {
12230
+ readonly mediaId?: string;
12231
+ readonly widthEmu?: number;
12232
+ readonly heightEmu?: number;
12233
+ }
12234
+ interface AiObjectActionListResult {
11760
12235
  readonly scopeId: string;
11761
- readonly actions: readonly AiTableActionDescriptor[];
12236
+ readonly actions: readonly AiObjectActionDescriptor[];
11762
12237
  readonly blockers?: readonly string[];
11763
12238
  }
11764
- interface ApplyTableActionInput {
11765
- readonly actionHandle: AiTableActionHandle;
11766
- readonly operation: AiTableCallableOperation;
11767
- /**
11768
- * Optional owning scope id to include in metadata fallback instructions.
11769
- * This is not used for mutation targeting.
11770
- */
12239
+ interface ApplyObjectActionInput {
12240
+ readonly actionHandle: AiObjectActionHandle;
12241
+ readonly operation: AiObjectActionOperation;
11771
12242
  readonly scopeId?: string;
11772
12243
  readonly actorId?: string;
11773
12244
  readonly origin?: "ui" | "agent" | "host";
11774
12245
  readonly proposalId?: string;
11775
12246
  }
11776
- interface AiTableActionBlockerDetail {
12247
+ interface AiObjectActionBlockerDetail {
11777
12248
  readonly code: string;
11778
12249
  readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
11779
12250
  readonly message: string;
11780
12251
  readonly nextStep: string;
11781
- readonly actionHandle?: AiTableActionHandle;
12252
+ readonly actionHandle?: AiObjectActionHandle;
11782
12253
  readonly operation?: string;
11783
- readonly operationScope?: string;
11784
12254
  }
11785
- interface AiTableActionCommandReference {
11786
- readonly command: "table.apply-structure" | "table.apply-text" | "fragment.insert";
12255
+ interface AiObjectActionCommandReference {
12256
+ readonly command: "image.set-layout";
11787
12257
  readonly actorId: string;
11788
12258
  readonly origin: "ui" | "agent" | "host";
11789
12259
  readonly emittedAtUtc: string;
11790
12260
  }
11791
- interface AiTableActionTargetReadback {
11792
- readonly actionHandle: AiTableActionHandle;
11793
- readonly targetKind: string;
11794
- readonly operationScope: AiTableActionTargetScope;
11795
- readonly family: "table-structure" | "table-text";
11796
- }
11797
- interface AiTableTextReadback {
11798
- readonly text: string;
11799
- readonly isEmpty: boolean;
11800
- }
11801
- type AiTableActionPosture = "supported";
11802
- interface AiTableActionSupport {
11803
- readonly undo: "supported";
11804
- readonly replay: "supported";
11805
- readonly exportReopen: "supported";
11806
- readonly audit: "command-reference";
11807
- readonly emptyCell: "supported";
11808
- }
11809
- interface ApplyTableActionResult {
12261
+ interface ApplyObjectActionResult {
11810
12262
  readonly proposalId: string;
11811
12263
  readonly applied: boolean;
11812
12264
  readonly changed: boolean;
11813
- readonly actionHandle: AiTableActionHandle;
11814
- readonly operation: AiTableActionOperationKind;
12265
+ readonly actionHandle: AiObjectActionHandle;
12266
+ readonly operation: AiObjectActionOperation["kind"];
11815
12267
  readonly reason?: string;
11816
12268
  readonly blockers?: readonly string[];
11817
- readonly blockerDetails?: readonly AiTableActionBlockerDetail[];
11818
- /**
11819
- * Table actions route through the runtime command bus, not the
11820
- * scope-replacement audit producer. This compact command reference lets
11821
- * agents cite the dispatch without pretending a ScopeActionAudit exists.
11822
- */
11823
- readonly commandReference?: AiTableActionCommandReference;
11824
- readonly target?: AiTableActionTargetReadback;
11825
- readonly afterReadback?: AiTableTextReadback;
11826
- readonly readback?: AiTableTextReadback;
11827
- readonly readbackText?: string;
11828
- readonly posture?: AiTableActionPosture;
11829
- readonly support?: AiTableActionSupport;
12269
+ readonly blockerDetails?: readonly AiObjectActionBlockerDetail[];
12270
+ readonly commandReference?: AiObjectActionCommandReference;
12271
+ readonly readback?: AiObjectReadback;
12272
+ readonly posture?: "supported";
12273
+ readonly support?: {
12274
+ readonly undo: "supported";
12275
+ readonly replay: "supported";
12276
+ readonly exportReopen: "supported";
12277
+ readonly audit: "command-reference";
12278
+ };
11830
12279
  }
11831
- declare function createTableActionFamily(runtime: RuntimeApiHandle): {
11832
- listTableActions(input: ListTableActionsInput): AiTableActionListResult;
11833
- applyTableAction(input: ApplyTableActionInput): ApplyTableActionResult;
12280
+ declare function createObjectActionFamily(runtime: RuntimeApiHandle): {
12281
+ listObjectActions(input: ListObjectActionsInput): AiObjectActionListResult;
12282
+ applyObjectAction(input: ApplyObjectActionInput): ApplyObjectActionResult;
11834
12283
  };
11835
12284
 
11836
12285
  /**
@@ -11888,6 +12337,42 @@ interface LocateActionsResult {
11888
12337
  readonly blockers?: readonly string[];
11889
12338
  readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11890
12339
  }
12340
+ interface CreatePlaceholderScopesActionsInput {
12341
+ /**
12342
+ * Defaults to a bracketed placeholder regex: `\[[^\[\]]{1,200}\]`.
12343
+ */
12344
+ readonly query?: string;
12345
+ readonly regex?: boolean;
12346
+ readonly limit?: number;
12347
+ readonly matchCase?: boolean;
12348
+ readonly mode?: "edit" | "suggest" | "comment" | "view";
12349
+ readonly labelPrefix?: string;
12350
+ readonly visibility?: ScopeVisibility;
12351
+ readonly guardPolicy?: WorkflowScopeGuardPolicy;
12352
+ readonly assoc?: {
12353
+ readonly start: -1 | 1;
12354
+ readonly end: -1 | 1;
12355
+ };
12356
+ readonly stableRefHint?: "scope-id" | "bookmark" | "semantic-path" | "runtime-handle";
12357
+ }
12358
+ interface PlaceholderScopeCreationItem {
12359
+ readonly status: "created" | "blocked";
12360
+ readonly text: string;
12361
+ readonly excerpt: string;
12362
+ readonly scopeId?: string;
12363
+ readonly handle?: ScopeHandle;
12364
+ readonly blockers?: readonly string[];
12365
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
12366
+ }
12367
+ interface CreatePlaceholderScopesActionsResult {
12368
+ readonly status: "created" | "partial" | "not-found" | "blocked";
12369
+ readonly totalHits: number;
12370
+ readonly created: number;
12371
+ readonly blocked: number;
12372
+ readonly scopes: readonly PlaceholderScopeCreationItem[];
12373
+ readonly blockers?: readonly string[];
12374
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
12375
+ }
11891
12376
  interface DiscoverActionsInput {
11892
12377
  readonly target?: AiActionsTargetInput;
11893
12378
  }
@@ -12129,6 +12614,28 @@ interface TableSelectionActionsInput {
12129
12614
  readonly origin?: "ui" | "agent" | "host";
12130
12615
  readonly proposalId?: string;
12131
12616
  }
12617
+ type TableContentCellInput = string | {
12618
+ readonly kind: "text";
12619
+ readonly text: string;
12620
+ } | {
12621
+ readonly kind: "structured";
12622
+ readonly value: unknown;
12623
+ };
12624
+ interface TableContentActionsInput {
12625
+ readonly target: AiActionsExactTargetInput;
12626
+ /**
12627
+ * Complete replacement matrix for a table scope. The planner maps rows and
12628
+ * cells by current L08 table text evidence and refuses dimension mismatch.
12629
+ */
12630
+ readonly rows?: readonly (readonly TableContentCellInput[])[];
12631
+ /**
12632
+ * Complete replacement vector for a table-row scope.
12633
+ */
12634
+ readonly cells?: readonly TableContentCellInput[];
12635
+ readonly actorId?: string;
12636
+ readonly origin?: "ui" | "agent" | "host";
12637
+ readonly proposalId?: string;
12638
+ }
12132
12639
  type AiActionsExactTargetInput = {
12133
12640
  readonly handle: ScopeHandle;
12134
12641
  } | {
@@ -12255,6 +12762,14 @@ type RunPlanActionsStep = (RunPlanStepBase & {
12255
12762
  readonly actorId?: string;
12256
12763
  readonly origin?: "ui" | "agent" | "host";
12257
12764
  readonly proposalId?: string;
12765
+ }) | (RunPlanStepBase & {
12766
+ readonly kind: "tableContent";
12767
+ readonly target: AiActionsExactTargetInput;
12768
+ readonly rows?: readonly (readonly TableContentCellInput[])[];
12769
+ readonly cells?: readonly TableContentCellInput[];
12770
+ readonly actorId?: string;
12771
+ readonly origin?: "ui" | "agent" | "host";
12772
+ readonly proposalId?: string;
12258
12773
  });
12259
12774
  interface RunPlanActionsInput {
12260
12775
  readonly mode?: "preview" | "apply";
@@ -12280,6 +12795,7 @@ interface ApplyActionsResult {
12280
12795
  readonly blockerDetails?: readonly AiActionsBlockerDetail[];
12281
12796
  readonly auditReference?: ApplyResult["auditReference"] | CreateIssueResult["auditReference"];
12282
12797
  readonly commandReference?: AiActionsCommandReference;
12798
+ readonly beforeReadback?: AiTableTextReadback;
12283
12799
  readonly afterReadback?: AiTableTextReadback;
12284
12800
  readonly listReadback?: AiListOperationReadback;
12285
12801
  readonly results?: readonly ApplyActionsResult[];
@@ -12336,6 +12852,7 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
12336
12852
  discover(input?: DiscoverActionsInput): DiscoverActionsResult;
12337
12853
  locate(input: LocateActionsInput): LocateActionsResult;
12338
12854
  locateAll(input: LocateActionsInput): LocateActionsResult;
12855
+ createPlaceholderScopes(input?: CreatePlaceholderScopesActionsInput): CreatePlaceholderScopesActionsResult;
12339
12856
  rewrite(input: RewriteActionsInput): ApplyActionsResult;
12340
12857
  rewriteAll(input: RewriteAllActionsInput): ApplyActionsResult;
12341
12858
  insertText(input: InsertTextActionsInput): ApplyActionsResult;
@@ -12354,6 +12871,7 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
12354
12871
  listOperation(input: ListOperationActionsInput): ApplyActionsResult;
12355
12872
  tableFragment(input: TableFragmentActionsInput): ApplyActionsResult;
12356
12873
  tableSelection(input: TableSelectionActionsInput): ApplyActionsResult;
12874
+ tableContent(input: TableContentActionsInput): ApplyActionsResult;
12357
12875
  runPlan(input: RunPlanActionsInput): RunPlanActionsResult;
12358
12876
  }>;
12359
12877
  };
@@ -13039,6 +13557,71 @@ interface UiScopeRailOptions {
13039
13557
  */
13040
13558
  readonly pageIndex?: number;
13041
13559
  }
13560
+ type UiListCommand = "toggle-numbered" | "toggle-bulleted" | "indent" | "outdent" | "restart-numbering" | "continue-numbering" | "create" | "attach" | "detach" | "join" | "separate" | "split" | "set-value" | "apply-template" | "capture-template" | "apply-preset" | "set-level-numbering" | "set-level-bullet" | "set-level-picture-bullet" | "set-level-alignment" | "set-level-indents" | "set-level-trailing-character" | "set-level-marker-font" | "set-level-text" | "set-level-start" | "set-level-layout" | "convert-to-text" | "paste-fragment" | "drop-fragment";
13561
+ interface UiListReadbackFilter {
13562
+ readonly storyKey?: string;
13563
+ readonly limit?: number;
13564
+ }
13565
+ interface UiListReadbackTarget {
13566
+ readonly targetKey?: string;
13567
+ readonly addressKey?: string;
13568
+ readonly actionHandle?: string;
13569
+ }
13570
+ interface UiListCommandAvailability {
13571
+ readonly command: UiListCommand;
13572
+ readonly enabled: boolean;
13573
+ readonly actionHandle?: string;
13574
+ readonly reason?: string;
13575
+ readonly ownerLayer?: "L07" | "L10";
13576
+ }
13577
+ interface UiListReadbackSnapshot {
13578
+ readonly source: "surface-render-snapshot";
13579
+ readonly targetKey: string;
13580
+ readonly actionHandle: string;
13581
+ readonly kind: EditableTargetRef["kind"];
13582
+ readonly storyKey: string;
13583
+ readonly blockPath: string;
13584
+ readonly leafPath: string;
13585
+ readonly addressKey: string;
13586
+ readonly hierarchyPath: readonly number[];
13587
+ readonly numberingInstanceId: string;
13588
+ readonly level: number;
13589
+ readonly listKind: "numbered" | "bulleted";
13590
+ readonly markerText?: string;
13591
+ readonly suffix?: ResolvedNumberingSnapshot["suffix"];
13592
+ readonly requestedFormat?: string;
13593
+ readonly renderedFormat?: string;
13594
+ readonly formatPosture?: ResolvedNumberingSnapshot["formatPosture"];
13595
+ readonly markerTextPosture?: ResolvedNumberingSnapshot["markerTextPosture"];
13596
+ readonly pictureBulletPosture?: ResolvedNumberingSnapshot["pictureBulletPosture"];
13597
+ readonly authoredTextRange: {
13598
+ readonly from: number;
13599
+ readonly to: number;
13600
+ };
13601
+ readonly editability: EditableTargetRef["editability"];
13602
+ readonly blockers: readonly string[];
13603
+ readonly supportedCommands: readonly UiListCommand[];
13604
+ readonly unsupportedCommands: readonly UiListCommand[];
13605
+ readonly commandSupport: readonly UiListCommandAvailability[];
13606
+ readonly canJoin: boolean;
13607
+ readonly canContinuePrevious: boolean;
13608
+ readonly staleDiscriminators: {
13609
+ readonly paragraphTextHash?: string;
13610
+ readonly paragraphTextLength?: number;
13611
+ readonly inlineCount?: number;
13612
+ readonly listAddressStaleHash?: string;
13613
+ };
13614
+ readonly geometry?: ResolvedNumberingGeometrySnapshot;
13615
+ readonly geometryUnavailableReason?: "marker-geometry-unavailable";
13616
+ }
13617
+ interface UiListCommandPreview {
13618
+ readonly command: UiListCommand;
13619
+ readonly supported: boolean;
13620
+ readonly target?: UiListReadbackSnapshot;
13621
+ readonly blockers: readonly UiListCommandAvailability[];
13622
+ readonly canJoin?: boolean;
13623
+ readonly canContinuePrevious?: boolean;
13624
+ }
13042
13625
  /**
13043
13626
  * Scope seam — mounted-path scope reads. Uses handle-backed compiled
13044
13627
  * projections so chrome surfaces do not reach directly into workflow
@@ -13068,6 +13651,16 @@ interface ApiV3UiScope {
13068
13651
  */
13069
13652
  getEvidence(scopeId: string): ScopeBundleEvidence | null;
13070
13653
  }
13654
+ interface ApiV3UiLists {
13655
+ /** Enumerate rendered list targets from the current runtime surface snapshot. */
13656
+ list(filter?: UiListReadbackFilter): readonly UiListReadbackSnapshot[];
13657
+ /** Resolve a single rendered list target by opaque action/address/target key. */
13658
+ get(target: UiListReadbackTarget): UiListReadbackSnapshot | null;
13659
+ /** Read command posture for one list target without dispatching a mutation. */
13660
+ previewCommand(target: UiListReadbackTarget & {
13661
+ readonly command: UiListCommand;
13662
+ }): UiListCommandPreview;
13663
+ }
13071
13664
  interface ApiV3Ui {
13072
13665
  readonly session: ApiV3UiSession;
13073
13666
  readonly surface: ApiV3UiSurface;
@@ -13076,6 +13669,7 @@ interface ApiV3Ui {
13076
13669
  readonly chrome: ApiV3UiChrome;
13077
13670
  readonly debug: ApiV3UiDebug;
13078
13671
  readonly scope: ApiV3UiScope;
13672
+ readonly lists: ApiV3UiLists;
13079
13673
  }
13080
13674
 
13081
13675
  /**
@@ -13119,7 +13713,7 @@ type ApiV3Runtime = {
13119
13713
  readonly viewport: ReturnType<typeof createViewportFamily>;
13120
13714
  readonly lists: ReturnType<typeof createListsFamily>;
13121
13715
  };
13122
- type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createActionsFamily>;
13716
+ type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createObjectActionFamily> & ReturnType<typeof createActionsFamily>;
13123
13717
  interface ApiV3 {
13124
13718
  readonly runtime: ApiV3Runtime;
13125
13719
  readonly ai: ApiV3Ai;
@@ -18885,4 +19479,4 @@ declare class MetadataResolverMissingError extends Error {
18885
19479
  constructor(diagnostic?: EditorDiagnostic);
18886
19480
  }
18887
19481
 
18888
- export { type ChromeHostPosture as $, type ApiStatus as A, type AiPe2GraphOracleReference as B, type CanonicalDocumentEnvelope$1 as C, type AiPe2OracleEvidence as D, type EditorHostAdapter as E, type AiPe2OracleEvidenceProvider as F, type AiPe2OracleEvidenceProviderInput as G, type AiPe2OracleVerdict as H, type InsertTableOptions as I, type ApiV3 as J, type ApiV3FnMetadata as K, type LoadStage as L, type MarginPresetDefinition as M, type ApiV3UiChrome as N, type ApiV3UiDebug as O, type PersistedEditorSnapshot as P, type ApiV3UiOverlays as Q, type RuntimeRenderSnapshot as R, type SelectionSnapshot$1 as S, type TextTransactionTextTarget as T, type UxIntent as U, type ApiV3UiSession as V, type ApiV3UiSurface as W, type ApiV3UiViewport as X, type BroadcastsVia as Y, type ChromeDebugMode as Z, type ChromeDocumentMode as _, type EditorSessionState as a, type EditorAnchorProjection$1 as a$, type ChromeMarkupDisplay as a0, type ChromePosture as a1, type ChromeReviewMode as a2, type ChromeSurface as a3, type ChromeSurfaceKind as a4, type CreateApiV3Opts as a5, type DebugAttachment as a6, type DebugSession as a7, type GeometryRect$1 as a8, type LiveEvidence as a9, type CreateCheckpointStoreOptions as aA, type CreateCommandEventInput as aB, type CreateWorkflowSharedOptions as aC, type RemoteCursorState as aD, type RemoteCursorTrackerHandle as aE, type RemoteCursorTrackerOptions as aF, type RuntimeCollabSyncEvent as aG, type RuntimeCollabSyncHandle as aH, type RuntimeCollabSyncOptions as aI, type RuntimeCommandAppliedBridge as aJ, type RuntimeCommandAppliedListener as aK, type SharedWorkflowState as aL, type WorkflowSharedHandle as aM, type WorkflowSharedResult as aN, clearLocalCursorState as aO, createCheckpointStore as aP, createCommandEvent as aQ, createRemoteCursorTracker as aR, createRuntimeCollabSync as aS, createRuntimeCommandAppliedBridge as aT, createWorkflowShared as aU, getCursorColorForUser as aV, getRemoteCursorStates as aW, isBroadcastCommand as aX, isLocalOnlyCommand as aY, mapRemoteCursorThroughMapping as aZ, setLocalCursorState as a_, type MockShape as aa, type OverlayAnchorQuery as ab, type PersistsTo as ac, type ScrollTarget as ad, type ScrollTargetBehavior as ae, type SelectionRangeInput as af, type SourceLayer as ag, type StateClass as ah, type SubscriptionShape as ai, type UiBinding as aj, type UiController as ak, type UiControllerKind as al, type UiListener as am, type UiUnsubscribe as an, type ViewportState as ao, createApiV3 as ap, validateApiV3Metadata as aq, type EditorStateNamespace as ar, type EditorStateLocation as as, type LoadScheduler as at, type CollabAuthorityProof as au, type CommandEvent as av, type RuntimeCollabAuthority as aw, COMMAND_EVENT_SCHEMA_VERSION as ax, type Checkpoint as ay, type CheckpointStoreHandle as az, type ExportDocxOptions as b, type CommentSidebarSnapshot as b$, type TextCommandAck as b0, type TextCommandRefreshClass as b1, type WordReviewEditorProps as b2, type WordReviewEditorRef as b3, validatePersistedEditorSnapshot as b4, type PayloadSigner as b5, type PayloadSignature as b6, type TransportStatus as b7, type CollabPosture as b8, type PresenceSnapshot as b9, type ChartSnapshotBubbleSeries as bA, type ChartSnapshotData as bB, type ChartSnapshotScatterSeries as bC, type ChartSnapshotSeries as bD, type CollabBlockReason as bE, type CollabSession as bF, type CollabSessionBridge as bG, type CollabSessionEvent as bH, type CollabSessionEventOrIntegrity as bI, type CollabSessionFacet as bJ, type CollabSessionOptions as bK, type CommandStateSnapshot as bL, type CommentAttachment as bM, type CommentAudience as bN, type CommentBody as bO, type CommentLabel as bP, type CommentMention as bQ, type CommentNegotiationAction as bR, type CommentNegotiationActionType as bS, type CommentNegotiationEntry as bT, type CommentNegotiationSnapshot as bU, type CommentNegotiationState as bV, type CommentPresentation as bW, type CommentPresentationAction as bX, type CommentPresentationReply as bY, type CommentPresentationSnapshot as bZ, type CommentReaction as b_, type AwarenessIdentity as ba, type ExternalCustody as bb, type ExternalCustodyResolver as bc, type ExternalCustodyRestoredContent as bd, type RuntimePageGraph as be, type ActiveListContext as bf, type ActiveNoteContext as bg, type AddCommentParams as bh, type AddCommentReplyResult as bi, type AddCommentResult as bj, type AiExplanationScopeInput as bk, type AiExplanationScopeResult as bl, type AttachPayloadArgs as bm, type AuthorKind as bn, type AutosaveConfig as bo, type AutosaveState as bp, type AwarenessPeer as bq, type BatchEditEntryResult as br, type BatchEditOperation as bs, type BatchEditOptions as bt, type BatchEditResult as bu, type CaretAffinity as bv, type ChangeAnchor as bw, type ChangeFilter as bx, type ChartPreviewResolveParams as by, type ChartSnapshot as bz, type ExportResult as c, type NegotiationVote as c$, type CommentSidebarThreadEntrySnapshot as c0, type CommentSidebarThreadSnapshot as c1, type CompatibilityFeatureClass as c2, type CompatibilityFeatureEntry as c3, type CompatibilityPanelSnapshot as c4, type CreateCollabSessionBridgeOptions as c5, type DispatchContext as c6, type DispatchResult as c7, type DocumentChunkKind as c8, type DocumentChunkSnapshot as c9, type EditorViewStateSnapshot as cA, type EditorWarning as cB, type EditorWarningCode as cC, type ExternalCustodyArchivePayload as cD, type ExternalDocumentSource as cE, type HeaderFooterLinkPatch as cF, type HostAnnotationItem as cG, type HostAnnotationKind as cH, type HostAnnotationOverlay as cI, type HostAnnotationSnapshot as cJ, ISSUE_METADATA_ID as cK, type InteractionGuardSnapshot as cL, type IssueMetadataValue as cM, type IssueMode as cN, type IssueOwner as cO, type IssueSeverity as cP, type LayoutMeasurement as cQ, type LoadRequest as cR, type LoadResult as cS, type LoadSourcePolicy as cT, type MetadataIntegrity as cU, type MetadataPersistenceMode as cV, MetadataResolverMissingError as cW, type NegotiationBlockReason as cX, type NegotiationCounterProposal as cY, type NegotiationHistoryRow as cZ, type NegotiationRole as c_, type DocumentHeadingSnapshot as ca, type DocumentLocationSnapshot as cb, type DocumentLocationSource as cc, type DocumentNavigationSnapshot as cd, type DocumentOutlineHeadingSnapshot as ce, type DocumentOutlineSnapshot as cf, type DocumentPageSnapshot as cg, type DocumentSectionSnapshot as ch, type DocumentStats as ci, type DocumentTextToken as cj, type EditorAnchorProjection as ck, type EditorDatastoreAdapter as cl, type EditorErrorCode as cm, type EditorStateBlob as cn, type EditorStatePartLoadFailure as co, type EditorStatePartPersistFailure as cp, type EditorStatePersister as cq, type EditorStatePolicy as cr, type EditorStatePolicyEntry as cs, type EditorStatePolicyMigration as ct, type EditorStateResolveErrorMode as cu, type EditorStateResolver as cv, type EditorStateStorageRef as cw, type EditorStoryTarget as cx, type EditorTelemetryEvent as cy, type EditorUser as cz, type TextTransactionResult as d, type SurfaceTextMark as d$, type PageLayoutSnapshot as d0, type PageRegionHitTest as d1, type Participant as d2, type ParticipantRole as d3, type ParticipantRoster as d4, type PayloadVerifier as d5, REVIEW_ACTION_METADATA_ID as d6, type RestorePointCheckpointType as d7, type RestorePointSnapshot as d8, type RestoreResult as d9, type ScopeCardModel as dA, type ScopeIssueAction as dB, type ScopeMetadataPersistence as dC, type ScopeMetadataResolver as dD, type ScopeMetadataStorageRef as dE, type ScopeTagTouch as dF, type SectionBreakType as dG, type SectionLayoutPatch as dH, type SectionPageNumberingPatch as dI, type SelectionToolKind as dJ, type SelectionToolRegistryEntry as dK, type SendToExternalCallArgs as dL, type SignatureAlgorithm as dM, type SnapshotRefreshChangeKind as dN, type SnapshotRefreshHints as dO, type SnapshotRefreshInvalidateTarget as dP, type SnapshotRefreshStaleTarget as dQ, type StoryTextStreamSnapshot as dR, type StyleCatalogEntrySnapshot as dS, type StyleCatalogSnapshot as dT, type SuggestionEntrySnapshot as dU, type SuggestionGroup as dV, type SuggestionsSnapshot as dW, type SurfaceBlockSnapshot as dX, type SurfaceInlineSegment as dY, type SurfaceTableCellSnapshot as dZ, type SurfaceTableRowSnapshot as d_, type ReviewActionKind as da, type ReviewActionMetadataValue as db, type ReviewQueueItem as dc, type ReviewQueueItemKind as dd, type ReviewQueueSnapshot as de, type ReviewWorkItemSnapshot as df, type ReviewWorkSnapshot as dg, type RuntimeContextAnalyticsActionHint as dh, type RuntimeContextAnalyticsBadge as di, type RuntimeContextAnalyticsCounts as dj, type RuntimeContextAnalyticsProvenance as dk, type RuntimeContextAnalyticsQuery as dl, type RuntimeContextAnalyticsScopeKind as dm, type RuntimeContextAnalyticsSnapshot as dn, type RuntimeContextAnalyticsState as dp, type RuntimeContextAnalyticsUnavailableField as dq, type RuntimeSendToExternalArgs as dr, type RuntimeSendToExternalResult as ds, SELECTION_TOOL_REGISTRY as dt, type SaveExportParams as du, type SaveExportResult as dv, type SaveSessionParams as dw, type SaveSessionResult as dx, type SaveSnapshotParams as dy, type SaveSnapshotResult as dz, type StructuralMutationResult as e, type WordReviewEditorLayoutFacet as e$, type TamperGate as e0, type TamperGateArgs as e1, type AttachArgs as e2, type TamperGateEvent as e3, type GuardResult as e4, type TextCommandAckKind as e5, type TextProjection as e6, type TextProjectionLine as e7, type TextProjectionOptions as e8, type TextProjectionStoryEntry as e9, type WorkflowOverlay as eA, type WorkflowOverlayPatch as eB, type WorkflowProtectedRangeMarkup as eC, type WorkflowRevisionMarkup as eD, type WorkflowScope as eE, type WorkflowScopeMode as eF, type WorkflowScopeSnapshot as eG, type WorkflowWorkItem as eH, type WorkspaceMode as eI, type ZoomLevel as eJ, createCollabSession as eK, createCollabSessionBridge as eL, createCollabSessionFacet as eM, createHmacSigner as eN, createHmacVerifier as eO, createTamperGate as eP, resolveSelectionToolRegistry as eQ, runtimeSendToExternal as eR, sendToExternal as eS, signWorkflowPayloadXml as eT, verifyWorkflowPayloadXml as eU, type ScopeRailSegment as eV, type ChromePinSurface as eW, type PinState as eX, type FormattingAlignment as eY, type InsertImageOptions as eZ, type SessionCapabilities as e_, type TocEntrySnapshot as ea, type TocRegionSnapshot as eb, type TocSnapshot as ec, type TrackedChangeEntrySnapshot as ed, type TrackedChangesSnapshot as ee, type ViewMode as ef, type WordReviewEditorChromeOptions as eg, type WordReviewEditorChromePreset as eh, type WordReviewEditorChromeVisibility as ei, type WordReviewEditorEvent as ej, type WorkflowBlockedCommandReason as ek, type WorkflowCandidateRange as el, type WorkflowCandidateRangeOptions as em, type WorkflowCommentMarkup as en, type WorkflowFieldMarkup as eo, type WorkflowHighlightMarkup as ep, type WorkflowMarkupBase as eq, type WorkflowMarkupItem as er, type WorkflowMarkupKind as es, type WorkflowMarkupSnapshot as et, type WorkflowMetadataDefinition as eu, type WorkflowMetadataEntry as ev, type WorkflowMetadataMarkup as ew, type WorkflowMetadataPersistence as ex, type WorkflowMetadataSnapshot as ey, type WorkflowOpaqueFragmentMarkup as ez, type TextFormattingDirective as f, createPersistedEditorSnapshot as f$, type GeometryFacet as f0, type WorkflowFacet as f1, type EditorActionHostCallbacks as f2, type TwWorkspaceChromeHostController as f3, type FormattingStateSnapshot as f4, type UiObjectDragStartInput as f5, type UiObjectDragSession as f6, type ActiveSelectionToolModel as f7, type TableStructureContextSnapshot as f8, type EditorRole as f9, getEffectiveRange as fA, mapAnchor as fB, mapPosition as fC, mapRange as fD, normalizeRange as fE, storyTargetsEqual as fF, type CommandStateSnapshot$1 as fG, type CommentEntryRecord as fH, type CommentResolutionRecord as fI, type CommentSidebarSnapshot$1 as fJ, type CommentThreadRecord as fK, type CompatibilityPanelSnapshot$1 as fL, type CreateEditorStateOptions as fM, type DocumentStats$1 as fN, type EditorRuntimeState as fO, type EditorState as fP, type PersistedEditorSnapshot$1 as fQ, type ReviewStore as fR, type RevisionMetadataRecord as fS, type RevisionRecord as fT, type RuntimePhase as fU, type RuntimeRenderSnapshot$1 as fV, type TrackedChangesSnapshot$1 as fW, createDefaultCanonicalDocument as fX, createEditorState as fY, createEmptyCompatibilityReport as fZ, createEmptyReviewStore as f_, type ToolbarChromeItemId as fa, type ToolbarChromePlacement as fb, type ScopeRailPosture as fc, type ChromePinsState as fd, type PublicMeasurementFidelity as fe, type FormattingInlineSelectionToolModel as ff, type EditableTargetRef as fg, deriveCapabilities as fh, type Assoc as fi, type BoundaryAssoc as fj, DEFAULT_BOUNDARY_ASSOC as fk, type DetachedAnchor as fl, type DocRange as fm, type InternalEditorAnchorProjection as fn, MAIN_STORY_TARGET as fo, type MappingResult as fp, type MappingStep as fq, type NodeAnchor as fr, type Position as fs, type RangeAnchor as ft, anchorUnaffectedByMapping as fu, areAnchorsEqual as fv, createDetachedAnchor as fw, createEmptyMapping as fx, createNodeAnchor as fy, createRangeAnchor as fz, type TransactionMapping as g, EMU_PER_PX as g$, createSelectionSnapshot as g0, deriveDocumentStats as g1, deriveRenderSnapshot as g2, normalizeCommentThreadRecord as g3, type Alignment as g4, type FormattingMutationResult as g5, type FormattingOperation as g6, type TextMarkClearTarget as g7, type TextMarkRangeOperation as g8, applyFormattingOperationToDocument as g9, type CommandAppliedMeta as gA, type CreateDocumentRuntimeOptions as gB, type DocumentRuntime as gC, type DocumentRuntimeEvent as gD, type RemoteCommandEnvelope as gE, type Unsubscribe as gF, __buildTocInlineNodes as gG, __collectFontLoaderInputUncached as gH, __fontFamiliesEqual as gI, createDocumentRuntime as gJ, getThemeColorResolver as gK, type ActiveMarginPreset as gL, type ActivePageFormat as gM, type AddScopeParams as gN, type AddScopeResult as gO, CAPABILITY_BY_ID as gP, type CanonicalDocumentFragment as gQ, type CapabilityBlockReason as gR, type CapabilityCategory as gS, type CapabilityKind as gT, type CapabilityShortcut as gU, type ClearHighlightOptions as gV, DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP as gW, DEFAULT_PX_PER_TWIP as gX, type DecorationIndex as gY, type DocumentMode as gZ, EMU_PER_INCH as g_, applyIndentation as ga, applyTextMarkOperationToDocumentRange as gb, getFormattingStateFromRenderSnapshot as gc, isMarkActive as gd, makeSetAlignment as ge, makeSetFontFamily as gf, makeSetFontSize as gg, makeSetHighlight as gh, makeSetTextColor as gi, makeToggleAllCaps as gj, makeToggleBold as gk, makeToggleItalic as gl, makeToggleSmallCaps as gm, makeToggleStrikethrough as gn, makeToggleSubscript as go, makeToggleSuperscript as gp, makeToggleUnderline as gq, type CellLocator as gr, type TableStructureOperation as gs, applyTableStructureOperation as gt, applyTableStructureOperationForEditableTarget as gu, getTableStructureContext as gv, removeCellFromRow as gw, removeTableRowPure as gx, tableStructureActionHandleForTarget as gy, type ActiveStoryTextCommand as gz, type SelectionSnapshot as h, type PublicTableEvent as h$, EditorApiError as h0, type EditorCapability as h1, type EditorDiagnostic as h2, type EditorDiagnosticCode as h3, type EditorDiagnosticLlmMetadata as h4, type EditorDiagnosticRecoveryClass as h5, type EditorDiagnosticRemediation as h6, type EditorDiagnosticSource as h7, type EditorDiagnosticTechnical as h8, type EffectiveSelectionMode as h9, type PublicCellLocator as hA, type PublicCellShading as hB, type PublicFieldDirtinessReport as hC, type PublicLayoutDivergence as hD, type PublicLineBox as hE, type PublicLineRunAnchor as hF, type PublicNoteAllocation as hG, type PublicPageAnchor as hH, type PublicPageFrame as hI, type PublicPageLocalStoryInstance as hJ, type PublicPageNode as hK, type PublicPagePaginationTelemetry as hL, type PublicPageRegion as hM, type PublicPageRegions as hN, type PublicPageSpan as hO, type PublicPaginationTelemetry as hP, type PublicRegionBlock as hQ, type PublicRegionKind as hR, type PublicResolvedPageStories as hS, type PublicResolvedParagraphFormatting as hT, type PublicResolvedRunFormatting as hU, type PublicResolvedStoryField as hV, type PublicSectionNode as hW, type PublicStoryAnchoredObject as hX, type PublicTableBorders as hY, type PublicTableCellBorders as hZ, type PublicTableCellMargins as h_, type EmbeddedDocumentManifestLike as ha, type ExportDelivery as hb, type FieldEntrySnapshot as hc, type FieldFamily as hd, type FieldRefreshStatus as he, type FieldSnapshot as hf, type FormattingBreadcrumbItem as hg, type LayoutFacetEvent as hh, type LayoutFacetInvalidationReason as hi, type LayoutInputIdentity as hj, type MetadataConflictPolicy as hk, type OverlayKind as hl, type OverlayVisibilityAuthorship as hm, type OverlayVisibilityEnforcement as hn, type OverlayVisibilityPolicy as ho, PERCENTAGE_PARTS as hp, type PageChromeReservations as hq, type PageFieldContext as hr, type PagePatchEntry as hs, type PagePatchPlan as ht, type PagePatchReason as hu, type PagePreviewMaps as hv, type ProtectionRange as hw, type PublicBlockFragment as hx, type PublicBlockMeasurement as hy, type PublicBorderSpec as hz, type PageFormatDefinition as i, type TableOpResult as i$, type PublicTableRenderPlan as i0, type PublicTableRowHeight as i1, type PublicTableStyle as i2, type PublicTableSummary as i3, type PublicTableWidth as i4, type PublicTwipsRect as i5, ROTATION_UNITS_PER_DEGREE as i6, type RenderAnchorIndex as i7, type RenderAnchorQuery as i8, type RenderBlock as i9, type ScopeChromeVisibility as iA, type ScopeChromeVisibilityState as iB, type ScopeHandle as iC, type ScopeQueryFilter as iD, type ScopeQueryResult as iE, type ScopeRailSnapshot as iF, type ScopeTagRegistry as iG, type ScopeVisibility as iH, type SearchResultSnapshot as iI, type SecondaryStorySurface as iJ, type SemanticScope as iK, type SemanticScopeKind as iL, type SetSelectionOptions as iM, type ShortcutDelegationContext as iN, type StorageReference as iO, type StoreEmbeddedDocParams as iP, type SupportedFieldFamily as iQ, type SurfaceDrawingAnchor as iR, type SurfacePictureEffects as iS, type SurfacePreserveOnlyObjectSizing as iT, type SurfaceTextBoxBodyProperties as iU, type SurfaceTextBoxBodySnapshot as iV, type SurfaceTextBoxBodyStatus as iW, type SurfaceTextBoxParagraphSnapshot as iX, type SurfaceTextBoxRunSnapshot as iY, TWIPS_PER_PX as iZ, type TableOp as i_, type RenderBlockDecoration as ia, type RenderFrame as ib, type RenderFrameQueryOptions as ic, type RenderFrameRect as id, type RenderHitResult as ie, type RenderKernelEvent as ig, type RenderLine as ih, type RenderLineAnchor as ii, type RenderPage as ij, type RenderPageRegions as ik, type RenderPoint as il, type RenderStoryRegion as im, type RenderZoom as io, type RenderZoomSummary as ip, type ResolveMetadataConflictInput as iq, type ResolvedNumberingGeometrySnapshot as ir, type ResolvedNumberingSnapshot as is, type RuntimeEditTargetContext as it, type RuntimePageNode as iu, SRCRECT_UNITS_PER_PERCENT as iv, type SanitizeResult as iw, type ScopeBundle$1 as ix, type ScopeBundleEvidence as iy, type ScopeBundleNeighborhood as iz, type SearchOptions as j, type TableOperationCapabilitySnapshot as j0, type TextStyleFilter as j1, type TocRefreshOptions as j2, type TocRefreshResult as j3, type TocRefreshTrigger as j4, type UpdateFieldsOptions as j5, type UpdateFieldsResult as j6, type WordReviewEditorChangesFacet as j7, type WordReviewEditorCommentsFacet as j8, type WordReviewEditorDiagnosticsFacet as j9, storyTargetKey as jA, type WordReviewEditorDocumentFacet as ja, type WordReviewEditorFieldsFacet as jb, type WordReviewEditorPasteEvent as jc, type WordReviewEditorScopesFacet as jd, type WordReviewEditorTablesFacet as je, type WorkflowEventOrigin as jf, type WorkflowLockedZone as jg, type WorkflowMarkupMode as jh, type WorkflowMarkupModeEnforcement as ji, type WorkflowMarkupModePolicy as jj, type WorkflowScopeGuardPolicy as jk, type WorkflowScopeMetadataField as jl, buildPagePreviewMaps as jm, buildSearchPattern as jn, createCanvasBackend as jo, createPagePatchPlan as jp, createPublicNodeAnchor as jq, createPublicRangeAnchor as jr, createScopeTagRegistry as js, estimateBlockHeight as jt, estimateParagraphLineCount as ju, estimateParagraphLineHeight as jv, findPageForOffset as jw, getUsableColumnWidth as jx, resolvePageFieldDisplayText as jy, sanitizeMarkdown as jz, type SearchTextOptions as k, type SecondaryStorySearchResult as l, createSearchExcerpt as m, findSearchMatches as n, type EditorSurfaceSnapshot as o, type LoadSchedulerBackend as p, type CompatibilityReport as q, type EditorError as r, searchSecondaryStories as s, type ProtectionSnapshot as t, type MockPayload as u, type RuntimeApiHandle as v, type UiControllerFactory as w, type ApiV3Ui as x, type AgentMetadata as y, type AiPe2EvidenceOptions as z };
19482
+ export { type ChromeDebugMode as $, type ApiStatus as A, type AiPe2EvidenceOptions as B, type CanonicalDocumentEnvelope$1 as C, type AiPe2GraphOracleReference as D, type EditorHostAdapter as E, type AiPe2OracleEvidence as F, type AiPe2OracleEvidenceProvider as G, type AiPe2OracleEvidenceProviderInput as H, type InsertTableOptions as I, type AiPe2OracleVerdict as J, type ApiV3 as K, type LoadStage as L, type MarginPresetDefinition as M, type ApiV3FnMetadata as N, type ApiV3UiChrome as O, type PersistedEditorSnapshot as P, type ApiV3UiDebug as Q, type RuntimeRenderSnapshot as R, type ScopeSurfaceTelemetry as S, type TextTransactionTextTarget as T, type UxIntent as U, type ApiV3UiLists as V, type ApiV3UiOverlays as W, type ApiV3UiSession as X, type ApiV3UiSurface as Y, type ApiV3UiViewport as Z, type BroadcastsVia as _, type EditorSessionState as a, createRuntimeCommandAppliedBridge as a$, type ChromeDocumentMode as a0, type ChromeHostPosture as a1, type ChromeMarkupDisplay as a2, type ChromePosture as a3, type ChromeReviewMode as a4, type ChromeSurface as a5, type ChromeSurfaceKind as a6, type CreateApiV3Opts as a7, type DebugAttachment as a8, type DebugSession as a9, type EditorStateLocation as aA, type LoadScheduler as aB, type CollabAuthorityProof as aC, type CommandEvent as aD, type RuntimeCollabAuthority as aE, COMMAND_EVENT_SCHEMA_VERSION as aF, type Checkpoint as aG, type CheckpointStoreHandle as aH, type CreateCheckpointStoreOptions as aI, type CreateCommandEventInput as aJ, type CreateWorkflowSharedOptions as aK, type RemoteCursorState as aL, type RemoteCursorTrackerHandle as aM, type RemoteCursorTrackerOptions as aN, type RuntimeCollabSyncEvent as aO, type RuntimeCollabSyncHandle as aP, type RuntimeCollabSyncOptions as aQ, type RuntimeCommandAppliedBridge as aR, type RuntimeCommandAppliedListener as aS, type SharedWorkflowState as aT, type WorkflowSharedHandle as aU, type WorkflowSharedResult as aV, clearLocalCursorState as aW, createCheckpointStore as aX, createCommandEvent as aY, createRemoteCursorTracker as aZ, createRuntimeCollabSync as a_, type GeometryRect$1 as aa, type LiveEvidence as ab, type MockShape as ac, type OverlayAnchorQuery as ad, type PersistsTo as ae, type ScrollTarget as af, type ScrollTargetBehavior as ag, type SelectionRangeInput as ah, type SourceLayer as ai, type StateClass as aj, type SubscriptionShape as ak, type UiBinding as al, type UiController as am, type UiControllerKind as an, type UiListCommand as ao, type UiListCommandAvailability as ap, type UiListCommandPreview as aq, type UiListReadbackFilter as ar, type UiListReadbackSnapshot as as, type UiListReadbackTarget as at, type UiListener as au, type UiUnsubscribe as av, type ViewportState as aw, createApiV3 as ax, validateApiV3Metadata as ay, type EditorStateNamespace as az, type ExportDocxOptions as b, type CommentNegotiationEntry as b$, createWorkflowShared as b0, getCursorColorForUser as b1, getRemoteCursorStates as b2, isBroadcastCommand as b3, isLocalOnlyCommand as b4, mapRemoteCursorThroughMapping as b5, setLocalCursorState as b6, type EditorAnchorProjection$1 as b7, type TextCommandAck as b8, type TextCommandRefreshClass as b9, type BatchEditOperation as bA, type BatchEditOptions as bB, type BatchEditResult as bC, type CaretAffinity as bD, type ChangeAnchor as bE, type ChangeFilter as bF, type ChartPreviewResolveParams as bG, type ChartSnapshot as bH, type ChartSnapshotBubbleSeries as bI, type ChartSnapshotData as bJ, type ChartSnapshotScatterSeries as bK, type ChartSnapshotSeries as bL, type CollabBlockReason as bM, type CollabSession as bN, type CollabSessionBridge as bO, type CollabSessionEvent as bP, type CollabSessionEventOrIntegrity as bQ, type CollabSessionFacet as bR, type CollabSessionOptions as bS, type CommandStateSnapshot as bT, type CommentAttachment as bU, type CommentAudience as bV, type CommentBody as bW, type CommentLabel as bX, type CommentMention as bY, type CommentNegotiationAction as bZ, type CommentNegotiationActionType as b_, type WordReviewEditorProps as ba, type WordReviewEditorRef as bb, validatePersistedEditorSnapshot as bc, type PayloadSigner as bd, type PayloadSignature as be, type TransportStatus as bf, type CollabPosture as bg, type PresenceSnapshot as bh, type AwarenessIdentity as bi, type ExternalCustody as bj, type ExternalCustodyResolver as bk, type ExternalCustodyRestoredContent as bl, type RuntimePageGraph as bm, type ActiveListContext as bn, type ActiveNoteContext as bo, type AddCommentParams as bp, type AddCommentReplyResult as bq, type AddCommentResult as br, type AiExplanationScopeInput as bs, type AiExplanationScopeResult as bt, type AttachPayloadArgs as bu, type AuthorKind as bv, type AutosaveConfig as bw, type AutosaveState as bx, type AwarenessPeer as by, type BatchEditEntryResult as bz, type ExportResult as c, type LoadSourcePolicy as c$, type CommentNegotiationSnapshot as c0, type CommentNegotiationState as c1, type CommentPresentation as c2, type CommentPresentationAction as c3, type CommentPresentationReply as c4, type CommentPresentationSnapshot as c5, type CommentReaction as c6, type CommentSidebarSnapshot as c7, type CommentSidebarThreadEntrySnapshot as c8, type CommentSidebarThreadSnapshot as c9, type EditorStatePolicyEntry as cA, type EditorStatePolicyMigration as cB, type EditorStateResolveErrorMode as cC, type EditorStateResolver as cD, type EditorStateStorageRef as cE, type EditorStoryTarget as cF, type EditorTelemetryEvent as cG, type EditorUser as cH, type EditorViewStateSnapshot as cI, type EditorWarning as cJ, type EditorWarningCode as cK, type ExternalCustodyArchivePayload as cL, type ExternalDocumentSource as cM, type HeaderFooterLinkPatch as cN, type HostAnnotationItem as cO, type HostAnnotationKind as cP, type HostAnnotationOverlay as cQ, type HostAnnotationSnapshot as cR, ISSUE_METADATA_ID as cS, type InteractionGuardSnapshot as cT, type IssueMetadataValue as cU, type IssueMode as cV, type IssueOwner as cW, type IssueSeverity as cX, type LayoutMeasurement as cY, type LoadRequest as cZ, type LoadResult as c_, type CompatibilityFeatureClass as ca, type CompatibilityFeatureEntry as cb, type CompatibilityPanelSnapshot as cc, type CreateCollabSessionBridgeOptions as cd, type DispatchContext as ce, type DispatchResult as cf, type DocumentChunkKind as cg, type DocumentChunkSnapshot as ch, type DocumentHeadingSnapshot as ci, type DocumentLocationSnapshot as cj, type DocumentLocationSource as ck, type DocumentNavigationSnapshot as cl, type DocumentOutlineHeadingSnapshot as cm, type DocumentOutlineSnapshot as cn, type DocumentPageSnapshot as co, type DocumentSectionSnapshot as cp, type DocumentStats as cq, type DocumentTextToken as cr, type EditorAnchorProjection as cs, type EditorDatastoreAdapter as ct, type EditorErrorCode as cu, type EditorStateBlob as cv, type EditorStatePartLoadFailure as cw, type EditorStatePartPersistFailure as cx, type EditorStatePersister as cy, type EditorStatePolicy as cz, type EditorSurfaceSnapshot as d, type StyleCatalogSnapshot as d$, type MetadataIntegrity as d0, type MetadataPersistenceMode as d1, MetadataResolverMissingError as d2, type NegotiationBlockReason as d3, type NegotiationCounterProposal as d4, type NegotiationHistoryRow as d5, type NegotiationRole as d6, type NegotiationVote as d7, type PageLayoutSnapshot as d8, type PageRegionHitTest as d9, type RuntimeSendToExternalResult as dA, SELECTION_TOOL_REGISTRY as dB, type SaveExportParams as dC, type SaveExportResult as dD, type SaveSessionParams as dE, type SaveSessionResult as dF, type SaveSnapshotParams as dG, type SaveSnapshotResult as dH, type ScopeCardModel as dI, type ScopeIssueAction as dJ, type ScopeMetadataPersistence as dK, type ScopeMetadataResolver as dL, type ScopeMetadataStorageRef as dM, type ScopeTagTouch as dN, type SectionBreakType as dO, type SectionLayoutPatch as dP, type SectionPageNumberingPatch as dQ, type SelectionToolKind as dR, type SelectionToolRegistryEntry as dS, type SendToExternalCallArgs as dT, type SignatureAlgorithm as dU, type SnapshotRefreshChangeKind as dV, type SnapshotRefreshHints as dW, type SnapshotRefreshInvalidateTarget as dX, type SnapshotRefreshStaleTarget as dY, type StoryTextStreamSnapshot as dZ, type StyleCatalogEntrySnapshot as d_, type Participant as da, type ParticipantRole as db, type ParticipantRoster as dc, type PayloadVerifier as dd, REVIEW_ACTION_METADATA_ID as de, type RestorePointCheckpointType as df, type RestorePointSnapshot as dg, type RestoreResult as dh, type ReviewActionKind as di, type ReviewActionMetadataValue as dj, type ReviewQueueItem as dk, type ReviewQueueItemKind as dl, type ReviewQueueSnapshot as dm, type ReviewWorkItemSnapshot as dn, type ReviewWorkSnapshot as dp, type RuntimeContextAnalyticsActionHint as dq, type RuntimeContextAnalyticsBadge as dr, type RuntimeContextAnalyticsCounts as ds, type RuntimeContextAnalyticsProvenance as dt, type RuntimeContextAnalyticsQuery as du, type RuntimeContextAnalyticsScopeKind as dv, type RuntimeContextAnalyticsSnapshot as dw, type RuntimeContextAnalyticsState as dx, type RuntimeContextAnalyticsUnavailableField as dy, type RuntimeSendToExternalArgs as dz, type SelectionSnapshot$1 as e, signWorkflowPayloadXml as e$, type SuggestionEntrySnapshot as e0, type SuggestionGroup as e1, type SuggestionsSnapshot as e2, type SurfaceBlockSnapshot as e3, type SurfaceInlineSegment as e4, type SurfaceTableCellSnapshot as e5, type SurfaceTableRowSnapshot as e6, type SurfaceTextMark as e7, type TamperGate as e8, type TamperGateArgs as e9, type WorkflowMarkupKind as eA, type WorkflowMarkupSnapshot as eB, type WorkflowMetadataDefinition as eC, type WorkflowMetadataEntry as eD, type WorkflowMetadataMarkup as eE, type WorkflowMetadataPersistence as eF, type WorkflowMetadataSnapshot as eG, type WorkflowOpaqueFragmentMarkup as eH, type WorkflowOverlay as eI, type WorkflowOverlayPatch as eJ, type WorkflowProtectedRangeMarkup as eK, type WorkflowRevisionMarkup as eL, type WorkflowScope as eM, type WorkflowScopeMode as eN, type WorkflowScopeSnapshot as eO, type WorkflowWorkItem as eP, type WorkspaceMode as eQ, type ZoomLevel as eR, createCollabSession as eS, createCollabSessionBridge as eT, createCollabSessionFacet as eU, createHmacSigner as eV, createHmacVerifier as eW, createTamperGate as eX, resolveSelectionToolRegistry as eY, runtimeSendToExternal as eZ, sendToExternal as e_, type AttachArgs as ea, type TamperGateEvent as eb, type GuardResult as ec, type TextCommandAckKind as ed, type TextProjection as ee, type TextProjectionLine as ef, type TextProjectionOptions as eg, type TextProjectionStoryEntry as eh, type TocEntrySnapshot as ei, type TocRegionSnapshot as ej, type TocSnapshot as ek, type TrackedChangeEntrySnapshot as el, type TrackedChangesSnapshot as em, type ViewMode as en, type WordReviewEditorChromeOptions as eo, type WordReviewEditorChromePreset as ep, type WordReviewEditorChromeVisibility as eq, type WordReviewEditorEvent as er, type WorkflowBlockedCommandReason as es, type WorkflowCandidateRange as et, type WorkflowCandidateRangeOptions as eu, type WorkflowCommentMarkup as ev, type WorkflowFieldMarkup as ew, type WorkflowHighlightMarkup as ex, type WorkflowMarkupBase as ey, type WorkflowMarkupItem as ez, type TextTransactionResult as f, type RevisionRecord as f$, verifyWorkflowPayloadXml as f0, type ScopeRailSegment as f1, type ChromePinSurface as f2, type PinState as f3, type FormattingAlignment as f4, type InsertImageOptions as f5, type SessionCapabilities as f6, type WordReviewEditorLayoutFacet as f7, type GeometryFacet as f8, type WorkflowFacet as f9, type Position as fA, type RangeAnchor as fB, anchorUnaffectedByMapping as fC, areAnchorsEqual as fD, createDetachedAnchor as fE, createEmptyMapping as fF, createNodeAnchor as fG, createRangeAnchor as fH, getEffectiveRange as fI, mapAnchor as fJ, mapPosition as fK, mapRange as fL, normalizeRange as fM, storyTargetsEqual as fN, type CommandStateSnapshot$1 as fO, type CommentEntryRecord as fP, type CommentResolutionRecord as fQ, type CommentSidebarSnapshot$1 as fR, type CommentThreadRecord as fS, type CompatibilityPanelSnapshot$1 as fT, type CreateEditorStateOptions as fU, type DocumentStats$1 as fV, type EditorRuntimeState as fW, type EditorState as fX, type PersistedEditorSnapshot$1 as fY, type ReviewStore as fZ, type RevisionMetadataRecord as f_, type EditorActionHostCallbacks as fa, type TwWorkspaceChromeHostController as fb, type FormattingStateSnapshot as fc, type UiObjectDragStartInput as fd, type UiObjectDragSession as fe, type ActiveSelectionToolModel as ff, type TableStructureContextSnapshot as fg, type EditorRole as fh, type ToolbarChromeItemId as fi, type ToolbarChromePlacement as fj, type ScopeRailPosture as fk, type ChromePinsState as fl, type PublicMeasurementFidelity as fm, type FormattingInlineSelectionToolModel as fn, type EditableTargetRef as fo, deriveCapabilities as fp, type Assoc as fq, type BoundaryAssoc as fr, DEFAULT_BOUNDARY_ASSOC as fs, type DetachedAnchor as ft, type DocRange as fu, type InternalEditorAnchorProjection as fv, MAIN_STORY_TARGET as fw, type MappingResult as fx, type MappingStep as fy, type NodeAnchor as fz, type StructuralMutationResult as g, type CapabilityKind as g$, type RuntimePhase as g0, type RuntimeRenderSnapshot$1 as g1, type TrackedChangesSnapshot$1 as g2, createDefaultCanonicalDocument as g3, createEditorState as g4, createEmptyCompatibilityReport as g5, createEmptyReviewStore as g6, createPersistedEditorSnapshot as g7, createSelectionSnapshot as g8, deriveDocumentStats as g9, type TableStructureOperation as gA, applyTableStructureOperation as gB, applyTableStructureOperationForEditableTarget as gC, getTableStructureContext as gD, removeCellFromRow as gE, removeTableRowPure as gF, tableStructureActionHandleForTarget as gG, type ActiveStoryTextCommand as gH, type CommandAppliedMeta as gI, type CreateDocumentRuntimeOptions as gJ, type DocumentRuntime as gK, type DocumentRuntimeEvent as gL, type RemoteCommandEnvelope as gM, type Unsubscribe as gN, __buildTocInlineNodes as gO, __collectFontLoaderInputUncached as gP, __fontFamiliesEqual as gQ, createDocumentRuntime as gR, getThemeColorResolver as gS, type ActiveMarginPreset as gT, type ActivePageFormat as gU, type AddScopeParams as gV, type AddScopeResult as gW, CAPABILITY_BY_ID as gX, type CanonicalDocumentFragment as gY, type CapabilityBlockReason as gZ, type CapabilityCategory as g_, deriveRenderSnapshot as ga, normalizeCommentThreadRecord as gb, type Alignment as gc, type FormattingMutationResult as gd, type FormattingOperation as ge, type TextMarkClearTarget as gf, type TextMarkRangeOperation as gg, applyFormattingOperationToDocument as gh, applyIndentation as gi, applyTextMarkOperationToDocumentRange as gj, getFormattingStateFromRenderSnapshot as gk, isMarkActive as gl, makeSetAlignment as gm, makeSetFontFamily as gn, makeSetFontSize as go, makeSetHighlight as gp, makeSetTextColor as gq, makeToggleAllCaps as gr, makeToggleBold as gs, makeToggleItalic as gt, makeToggleSmallCaps as gu, makeToggleStrikethrough as gv, makeToggleSubscript as gw, makeToggleSuperscript as gx, makeToggleUnderline as gy, type CellLocator as gz, type TextFormattingDirective as h, type PublicResolvedParagraphFormatting as h$, type CapabilityShortcut as h0, type ClearHighlightOptions as h1, DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP as h2, DEFAULT_PX_PER_TWIP as h3, type DecorationIndex as h4, type DocumentMode as h5, EMU_PER_INCH as h6, EMU_PER_PX as h7, EditorApiError as h8, type EditorCapability as h9, type PagePatchEntry as hA, type PagePatchPlan as hB, type PagePatchReason as hC, type PagePreviewMaps as hD, type ProtectionRange as hE, type PublicBlockFragment as hF, type PublicBlockMeasurement as hG, type PublicBorderSpec as hH, type PublicCellLocator as hI, type PublicCellShading as hJ, type PublicFieldDirtinessReport as hK, type PublicLayoutDivergence as hL, type PublicLineBox as hM, type PublicLineRunAnchor as hN, type PublicNoteAllocation as hO, type PublicPageAnchor as hP, type PublicPageFrame as hQ, type PublicPageLocalStoryInstance as hR, type PublicPageNode as hS, type PublicPagePaginationTelemetry as hT, type PublicPageRegion as hU, type PublicPageRegions as hV, type PublicPageSpan as hW, type PublicPaginationTelemetry as hX, type PublicRegionBlock as hY, type PublicRegionKind as hZ, type PublicResolvedPageStories as h_, type EditorDiagnostic as ha, type EditorDiagnosticCode as hb, type EditorDiagnosticLlmMetadata as hc, type EditorDiagnosticRecoveryClass as hd, type EditorDiagnosticRemediation as he, type EditorDiagnosticSource as hf, type EditorDiagnosticTechnical as hg, type EffectiveSelectionMode as hh, type EmbeddedDocumentManifestLike as hi, type ExportDelivery as hj, type FieldEntrySnapshot as hk, type FieldFamily as hl, type FieldRefreshStatus as hm, type FieldSnapshot as hn, type FormattingBreadcrumbItem as ho, type LayoutFacetEvent as hp, type LayoutFacetInvalidationReason as hq, type LayoutInputIdentity as hr, type MetadataConflictPolicy as hs, type OverlayKind as ht, type OverlayVisibilityAuthorship as hu, type OverlayVisibilityEnforcement as hv, type OverlayVisibilityPolicy as hw, PERCENTAGE_PARTS as hx, type PageChromeReservations as hy, type PageFieldContext as hz, type TransactionMapping as i, type SurfacePreserveOnlyObjectSizing as i$, type PublicResolvedRunFormatting as i0, type PublicResolvedStoryField as i1, type PublicSectionNode as i2, type PublicStoryAnchoredObject as i3, type PublicTableBorders as i4, type PublicTableCellBorders as i5, type PublicTableCellMargins as i6, type PublicTableEvent as i7, type PublicTableRenderPlan as i8, type PublicTableRowHeight as i9, type ResolvedNumberingSnapshot as iA, type RuntimeEditTargetContext as iB, type RuntimePageNode as iC, SRCRECT_UNITS_PER_PERCENT as iD, type SanitizeResult as iE, type ScopeBundle$1 as iF, type ScopeBundleEvidence as iG, type ScopeBundleNeighborhood as iH, type ScopeChromeVisibility as iI, type ScopeChromeVisibilityState as iJ, type ScopeHandle as iK, type ScopeQueryFilter as iL, type ScopeQueryResult as iM, type ScopeRailSnapshot as iN, type ScopeTagRegistry as iO, type ScopeVisibility as iP, type SearchResultSnapshot as iQ, type SecondaryStorySurface as iR, type SemanticScope as iS, type SemanticScopeKind as iT, type SetSelectionOptions as iU, type ShortcutDelegationContext as iV, type StorageReference as iW, type StoreEmbeddedDocParams as iX, type SupportedFieldFamily as iY, type SurfaceDrawingAnchor as iZ, type SurfacePictureEffects as i_, type PublicTableStyle as ia, type PublicTableSummary as ib, type PublicTableWidth as ic, type PublicTwipsRect as id, ROTATION_UNITS_PER_DEGREE as ie, type RenderAnchorIndex as ig, type RenderAnchorQuery as ih, type RenderBlock as ii, type RenderBlockDecoration as ij, type RenderFrame as ik, type RenderFrameQueryOptions as il, type RenderFrameRect as im, type RenderHitResult as io, type RenderKernelEvent as ip, type RenderLine as iq, type RenderLineAnchor as ir, type RenderPage as is, type RenderPageRegions as it, type RenderPoint as iu, type RenderStoryRegion as iv, type RenderZoom as iw, type RenderZoomSummary as ix, type ResolveMetadataConflictInput as iy, type ResolvedNumberingGeometrySnapshot as iz, type SelectionSnapshot as j, type SurfaceTextBoxBodyProperties as j0, type SurfaceTextBoxBodySnapshot as j1, type SurfaceTextBoxBodyStatus as j2, type SurfaceTextBoxParagraphSnapshot as j3, type SurfaceTextBoxRunSnapshot as j4, TWIPS_PER_PX as j5, type TableOp as j6, type TableOpResult as j7, type TableOperationCapabilitySnapshot as j8, type TextStyleFilter as j9, createScopeTagRegistry as jA, estimateBlockHeight as jB, estimateParagraphLineCount as jC, estimateParagraphLineHeight as jD, findPageForOffset as jE, getUsableColumnWidth as jF, resolvePageFieldDisplayText as jG, sanitizeMarkdown as jH, storyTargetKey as jI, type TocRefreshOptions as ja, type TocRefreshResult as jb, type TocRefreshTrigger as jc, type UpdateFieldsOptions as jd, type UpdateFieldsResult as je, type WordReviewEditorChangesFacet as jf, type WordReviewEditorCommentsFacet as jg, type WordReviewEditorDiagnosticsFacet as jh, type WordReviewEditorDocumentFacet as ji, type WordReviewEditorFieldsFacet as jj, type WordReviewEditorPasteEvent as jk, type WordReviewEditorScopesFacet as jl, type WordReviewEditorTablesFacet as jm, type WorkflowEventOrigin as jn, type WorkflowLockedZone as jo, type WorkflowMarkupMode as jp, type WorkflowMarkupModeEnforcement as jq, type WorkflowMarkupModePolicy as jr, type WorkflowScopeGuardPolicy as js, type WorkflowScopeMetadataField as jt, buildPagePreviewMaps as ju, buildSearchPattern as jv, createCanvasBackend as jw, createPagePatchPlan as jx, createPublicNodeAnchor as jy, createPublicRangeAnchor as jz, type PageFormatDefinition as k, type SearchOptions as l, type SearchTextOptions as m, type SecondaryStorySearchResult as n, createSearchExcerpt as o, findSearchMatches as p, type LoadSchedulerBackend as q, type CompatibilityReport as r, searchSecondaryStories as s, type EditorError as t, type ProtectionSnapshot as u, type MockPayload as v, type RuntimeApiHandle as w, type UiControllerFactory as x, type ApiV3Ui as y, type AgentMetadata as z };