@beyondwork/docx-react-component 1.0.120 → 1.0.121

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 (116) hide show
  1. package/README.md +1 -0
  2. package/dist/api/public-types.cjs +1713 -55
  3. package/dist/api/public-types.d.cts +2 -2
  4. package/dist/api/public-types.d.ts +2 -2
  5. package/dist/api/public-types.js +6 -6
  6. package/dist/api/v3.cjs +4958 -406
  7. package/dist/api/v3.d.cts +3 -3
  8. package/dist/api/v3.d.ts +3 -3
  9. package/dist/api/v3.js +14 -14
  10. package/dist/{canonical-document-fNawStsc.d.cts → canonical-document-ByIqTd4s.d.cts} +9 -1
  11. package/dist/{canonical-document-fNawStsc.d.ts → canonical-document-ByIqTd4s.d.ts} +9 -1
  12. package/dist/{chunk-5RNMPLXU.js → chunk-37SEJQ3G.js} +4 -4
  13. package/dist/{chunk-FXGQM2JB.js → chunk-3OFSP2IX.js} +11 -5
  14. package/dist/{chunk-U5BSQXF4.js → chunk-3OHVK2D6.js} +70 -12
  15. package/dist/{chunk-AUQDC5BD.js → chunk-3TUQCHYT.js} +101 -2
  16. package/dist/{chunk-SJSMYEMU.js → chunk-B4YHWFE3.js} +3 -3
  17. package/dist/{chunk-XC56YLIS.js → chunk-C2LWJ4CZ.js} +4 -0
  18. package/dist/{chunk-VDIUVT46.js → chunk-CX42VC67.js} +1 -1
  19. package/dist/{chunk-KCHEAX4Z.js → chunk-EMDH4IQN.js} +148 -70
  20. package/dist/{chunk-TMQGWF7R.js → chunk-G3B2OBCZ.js} +352 -17
  21. package/dist/{chunk-VCL5MJMZ.js → chunk-GON2DNTE.js} +149 -28
  22. package/dist/{chunk-WVZX4NYG.js → chunk-GZW2ERUO.js} +601 -47
  23. package/dist/{chunk-WDNEPRFW.js → chunk-ICX54W4U.js} +1 -1
  24. package/dist/{chunk-FIGWJ43K.js → chunk-IT2DK3A7.js} +1883 -90
  25. package/dist/{chunk-2ZWFQ74R.js → chunk-OBCP6VTG.js} +1 -1
  26. package/dist/{chunk-FLNQY74K.js → chunk-OYGMRRR7.js} +1 -1
  27. package/dist/{chunk-MPYYBRVN.js → chunk-PCXTMEGY.js} +782 -124
  28. package/dist/{chunk-4JNUMMM7.js → chunk-PGGPPZ65.js} +17 -2
  29. package/dist/{chunk-KHZNNBTN.js → chunk-QFU7ZOAD.js} +43 -39
  30. package/dist/{chunk-4ZNQFWFM.js → chunk-QIO6V46H.js} +84 -4
  31. package/dist/{chunk-IQ2VJEF6.js → chunk-QNGJRZ2D.js} +1 -1
  32. package/dist/{chunk-BM5NSDII.js → chunk-S4ANOS2M.js} +2 -2
  33. package/dist/{chunk-AQA7OZ2R.js → chunk-TFSXOIAI.js} +959 -43
  34. package/dist/{chunk-NQZUGMLW.js → chunk-TMU7JMXX.js} +184 -32
  35. package/dist/{chunk-KD5K5XIA.js → chunk-UHQOUTAX.js} +568 -88
  36. package/dist/{chunk-327AIUXL.js → chunk-UWDWGQH5.js} +11 -4
  37. package/dist/{chunk-BBB4GSDB.js → chunk-XVFENXLK.js} +2 -2
  38. package/dist/{chunk-MUEN2WOG.js → chunk-ZKSDVHGH.js} +6 -3
  39. package/dist/compare.cjs +17 -2
  40. package/dist/compare.d.cts +1 -1
  41. package/dist/compare.d.ts +1 -1
  42. package/dist/compare.js +3 -3
  43. package/dist/core/commands/formatting-commands.d.cts +2 -2
  44. package/dist/core/commands/formatting-commands.d.ts +2 -2
  45. package/dist/core/commands/image-commands.cjs +814 -45
  46. package/dist/core/commands/image-commands.d.cts +2 -2
  47. package/dist/core/commands/image-commands.d.ts +2 -2
  48. package/dist/core/commands/image-commands.js +8 -8
  49. package/dist/core/commands/section-layout-commands.d.cts +2 -2
  50. package/dist/core/commands/section-layout-commands.d.ts +2 -2
  51. package/dist/core/commands/style-commands.d.cts +2 -2
  52. package/dist/core/commands/style-commands.d.ts +2 -2
  53. package/dist/core/commands/table-structure-commands.cjs +750 -42
  54. package/dist/core/commands/table-structure-commands.d.cts +2 -2
  55. package/dist/core/commands/table-structure-commands.d.ts +2 -2
  56. package/dist/core/commands/table-structure-commands.js +6 -6
  57. package/dist/core/commands/text-commands.cjs +910 -57
  58. package/dist/core/commands/text-commands.d.cts +2 -2
  59. package/dist/core/commands/text-commands.d.ts +2 -2
  60. package/dist/core/commands/text-commands.js +8 -8
  61. package/dist/core/selection/mapping.d.cts +2 -2
  62. package/dist/core/selection/mapping.d.ts +2 -2
  63. package/dist/core/state/editor-state.cjs +17 -2
  64. package/dist/core/state/editor-state.d.cts +2 -2
  65. package/dist/core/state/editor-state.d.ts +2 -2
  66. package/dist/core/state/editor-state.js +2 -2
  67. package/dist/index.cjs +6203 -625
  68. package/dist/index.d.cts +5 -5
  69. package/dist/index.d.ts +5 -5
  70. package/dist/index.js +299 -67
  71. package/dist/io/docx-session.cjs +354 -102
  72. package/dist/io/docx-session.d.cts +4 -4
  73. package/dist/io/docx-session.d.ts +4 -4
  74. package/dist/io/docx-session.js +5 -5
  75. package/dist/legal.cjs +183 -31
  76. package/dist/legal.d.cts +1 -1
  77. package/dist/legal.d.ts +1 -1
  78. package/dist/legal.js +3 -3
  79. package/dist/{loader-CaohrhNl.d.ts → loader-BF8ju_LK.d.ts} +22 -4
  80. package/dist/{loader-BpCyGnZl.d.cts → loader-g54WRvj1.d.cts} +22 -4
  81. package/dist/{public-types-Dpch9JG0.d.cts → public-types-D_y4Ptcj.d.cts} +747 -21
  82. package/dist/{public-types-C948HNVF.d.ts → public-types-Dl1jiWjk.d.ts} +747 -21
  83. package/dist/public-types.cjs +1713 -55
  84. package/dist/public-types.d.cts +2 -2
  85. package/dist/public-types.d.ts +2 -2
  86. package/dist/public-types.js +6 -6
  87. package/dist/runtime/collab.cjs +4 -0
  88. package/dist/runtime/collab.d.cts +3 -3
  89. package/dist/runtime/collab.d.ts +3 -3
  90. package/dist/runtime/collab.js +2 -2
  91. package/dist/runtime/document-runtime.cjs +3699 -507
  92. package/dist/runtime/document-runtime.d.cts +2 -2
  93. package/dist/runtime/document-runtime.d.ts +2 -2
  94. package/dist/runtime/document-runtime.js +18 -18
  95. package/dist/{session-Dqg17V3s.d.ts → session-C1EPAkcI.d.ts} +3 -3
  96. package/dist/{session-BlXE5zxz.d.cts → session-D15QOO0Q.d.cts} +3 -3
  97. package/dist/session.cjs +951 -104
  98. package/dist/session.d.cts +5 -5
  99. package/dist/session.d.ts +5 -5
  100. package/dist/session.js +10 -8
  101. package/dist/tailwind.cjs +1752 -91
  102. package/dist/tailwind.d.cts +2 -2
  103. package/dist/tailwind.d.ts +2 -2
  104. package/dist/tailwind.js +10 -10
  105. package/dist/{types-C9vZVpKy.d.cts → types-BoSRp2Vg.d.cts} +2 -2
  106. package/dist/{types-B1tlF1bq.d.ts → types-DEvRwq9C.d.ts} +2 -2
  107. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
  108. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
  109. package/dist/ui-tailwind/editor-surface/search-plugin.js +7 -7
  110. package/dist/ui-tailwind/theme/editor-theme.css +5 -5
  111. package/dist/ui-tailwind.cjs +1752 -91
  112. package/dist/ui-tailwind.d.cts +8 -8
  113. package/dist/ui-tailwind.d.ts +8 -8
  114. package/dist/ui-tailwind.js +10 -10
  115. package/package.json +17 -5
  116. package/dist/ui-tailwind/theme/tokens.css +0 -382
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  import * as Y from 'yjs';
4
4
  import * as y_protocols_awareness from 'y-protocols/awareness';
5
5
  import { Awareness } from 'y-protocols/awareness';
6
- import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, T as TableLook, p as TableStyleFormatting, q as TableWidth, r as TableBorders, s as TableStyleConditionalRegion, t as TableCellBorders, u as CellShading, v as CanonicalSourceRef, w as SdtDataBindingState, F as FieldFamily$1, x as FieldRefreshStatus$1, y as CanonicalAnchor, z as PreserveOnlyObjectSizing, A as TableCellNode, E as TextMark, G as Mutable, H as ParagraphNode, J as TableIndent, K as TableCellMargins, L as TableNode, B as BlockNode, N as FieldRegistryEntry, Q as FootnoteProperties, U as EndnoteProperties, V as CanonicalTheme, W as InlineNode, X as CanonicalParagraphFormatting, Y as CanonicalRunFormatting, Z as FillSpec, _ as TextProperties, $ as StrokeSpec, a0 as ChartModel, a1 as ResolvedTheme, a2 as ColorRef, a3 as SupportedFieldFamily$1, a4 as HeaderDocument, a5 as FooterDocument } from './canonical-document-fNawStsc.js';
6
+ import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, T as TableLook, p as TableStyleFormatting, q as TableWidth, r as TableBorders, s as TableStyleConditionalRegion, t as TableCellBorders, u as CellShading, v as CanonicalSourceRef, w as SdtDataBindingState, F as FieldFamily$1, x as FieldRefreshStatus$1, y as TocRegion, z as CanonicalAnchor, A as PreserveOnlyObjectSizing, E as TableCellNode, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, B as BlockNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, _ as FillSpec, $ as TextProperties, a0 as StrokeSpec, a1 as ChartModel, a2 as ResolvedTheme, a3 as ColorRef, a4 as SupportedFieldFamily$1, a5 as HeaderDocument, a6 as FooterDocument, a7 as ParagraphBorders } from './canonical-document-ByIqTd4s.js';
7
7
  import * as prosemirror_state from 'prosemirror-state';
8
8
  import { Command } from 'prosemirror-state';
9
9
  import { Schema } from 'prosemirror-model';
@@ -1771,10 +1771,20 @@ interface RuntimePageLocalStoryInstance {
1771
1771
  relationshipId: string;
1772
1772
  sectionIndex?: number;
1773
1773
  resolvedFields: RuntimeResolvedStoryField[];
1774
+ previewText: string;
1775
+ previewParts: RuntimePageLocalStoryPreviewPart[];
1774
1776
  anchoredObjects: RuntimeStoryAnchoredObject[];
1775
1777
  measuredFrameHeightTwips: number;
1776
1778
  signature: string;
1777
1779
  }
1780
+ type RuntimePageLocalStoryPreviewPart = {
1781
+ kind: "text";
1782
+ text: string;
1783
+ } | {
1784
+ kind: "field";
1785
+ fieldId: string;
1786
+ fallbackText: string;
1787
+ };
1778
1788
  interface RuntimeResolvedStoryField {
1779
1789
  fieldId: string;
1780
1790
  family: string;
@@ -1859,6 +1869,19 @@ interface RuntimeFragmentLayoutObject {
1859
1869
  * source and canonical ids copied here for Debug/L05 joins.
1860
1870
  */
1861
1871
  fieldRegions?: readonly RuntimeFieldRegionLayoutFacts[];
1872
+ /**
1873
+ * Bookmark content ranges whose source anchors participate in this fragment.
1874
+ * L04 owns page/fragment membership; L02 owns bookmark identity and command
1875
+ * posture. These rows let L05/L11 route bookmark affordances without DOM
1876
+ * marker inference.
1877
+ */
1878
+ bookmarkRanges?: readonly RuntimeBookmarkRangeLayoutFacts[];
1879
+ /**
1880
+ * Hyperlink display/destination rows whose source inline range participates
1881
+ * in this fragment. These are graph/readback facts, not rendered anchor
1882
+ * rectangles.
1883
+ */
1884
+ hyperlinks?: readonly RuntimeHyperlinkLayoutFacts[];
1862
1885
  /**
1863
1886
  * KI-005 — source numbering facts for geometry/debug consumers.
1864
1887
  * L04 owns the page-local fragment and measured extent; this payload carries
@@ -1884,6 +1907,16 @@ interface RuntimeFieldRegionLayoutFacts {
1884
1907
  paragraphIndex: number;
1885
1908
  fieldFamily: string;
1886
1909
  refreshStatus: string;
1910
+ tocId?: string;
1911
+ sourcePath?: string;
1912
+ parentKind?: "body" | "sdt" | "custom_xml" | "table_cell";
1913
+ resultRange?: {
1914
+ fromParagraphIndex: number;
1915
+ toParagraphIndex: number;
1916
+ };
1917
+ status?: "current" | "stale";
1918
+ cachedEntryCount?: number;
1919
+ generatedEntryCount?: number;
1887
1920
  sourceRef?: {
1888
1921
  sourceId: string;
1889
1922
  partPath?: string;
@@ -1901,12 +1934,48 @@ interface RuntimeFieldRegionLayoutFacts {
1901
1934
  dirty?: boolean;
1902
1935
  };
1903
1936
  }
1937
+ interface RuntimeBookmarkRangeLayoutFacts {
1938
+ bookmarkRangeId: string;
1939
+ bookmarkId: string;
1940
+ bookmarkName?: string;
1941
+ storyKey: string;
1942
+ rangeRole: "start" | "inside" | "end" | "whole";
1943
+ startBlockPath: string;
1944
+ endBlockPath: string;
1945
+ rangeKey?: string;
1946
+ contentRangeTargetKey?: string;
1947
+ startTargetKey?: string;
1948
+ endTargetKey?: string;
1949
+ sourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1950
+ startSourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1951
+ endSourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1952
+ }
1953
+ interface RuntimeHyperlinkLayoutFacts {
1954
+ hyperlinkLayoutId: string;
1955
+ targetKey: string;
1956
+ storyKey: string;
1957
+ blockPath: string;
1958
+ leafPath: string;
1959
+ role: "display-text" | "destination";
1960
+ href?: string;
1961
+ destinationKind?: "external" | "internal-anchor";
1962
+ targetBookmarkName?: string;
1963
+ sourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1964
+ }
1904
1965
  interface RuntimeNumberingLayoutFacts {
1905
1966
  numberingLayoutId?: string;
1906
1967
  numberingKey?: string;
1968
+ storyKey?: string;
1907
1969
  sourceBlockPath?: string;
1908
1970
  sourceBlockId?: string;
1909
1971
  paragraphIndex?: number;
1972
+ sourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1973
+ numberingSourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1974
+ numberingOrigin?: "paragraph" | "paragraph-style";
1975
+ paragraphStyleId?: string;
1976
+ numberingInstanceSourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1977
+ abstractNumberingId?: string;
1978
+ abstractNumberingSourceRef?: RuntimeFieldRegionLayoutFacts["sourceRef"];
1910
1979
  numberingInstanceId?: string;
1911
1980
  level?: number;
1912
1981
  format?: string;
@@ -2807,6 +2876,7 @@ interface PublicPageLocalStoryInstance {
2807
2876
  variant: "default" | "first" | "even" | "odd";
2808
2877
  relationshipId: string;
2809
2878
  sectionIndex?: number;
2879
+ previewText: string;
2810
2880
  resolvedFields: readonly PublicResolvedStoryField[];
2811
2881
  anchoredObjects: readonly PublicStoryAnchoredObject[];
2812
2882
  measuredFrameHeightTwips: number;
@@ -2977,6 +3047,7 @@ interface PublicTableFamilyIdentity {
2977
3047
  storyKey: string;
2978
3048
  tableKey: string;
2979
3049
  tablePath: string;
3050
+ sourceRef?: CanonicalSourceRef;
2980
3051
  fragmentJoinKey: string;
2981
3052
  tableDepth: number;
2982
3053
  storyBlockIndex?: number;
@@ -2997,6 +3068,7 @@ interface PublicTableFrameColumnContext {
2997
3068
  interface PublicTableFrameRowContext {
2998
3069
  tableFamily: PublicTableFamilyIdentity;
2999
3070
  rowIndex: number;
3071
+ rowSourceRef?: CanonicalSourceRef;
3000
3072
  visualIndex: number;
3001
3073
  isRepeatedHeader: boolean;
3002
3074
  isInRowRange: boolean;
@@ -3008,8 +3080,10 @@ interface PublicTableFrameRowContext {
3008
3080
  interface PublicTableFrameCellContext {
3009
3081
  tableFamily: PublicTableFamilyIdentity;
3010
3082
  rowIndex: number;
3083
+ rowSourceRef?: CanonicalSourceRef;
3011
3084
  visualRowIndex: number;
3012
3085
  columnIndex: number;
3086
+ cellSourceRef?: CanonicalSourceRef;
3013
3087
  columnSpan: number;
3014
3088
  startTwips: number;
3015
3089
  widthTwips: number;
@@ -3034,6 +3108,8 @@ interface PublicTableFramePageContext {
3034
3108
  pageId: string;
3035
3109
  pageIndex: number;
3036
3110
  pageNumber: number;
3111
+ pageStartOffset: number;
3112
+ pageEndOffset: number;
3037
3113
  fragmentId: string;
3038
3114
  rowRange: {
3039
3115
  from: number;
@@ -3777,7 +3853,7 @@ type RenderKernelEvent = {
3777
3853
  */
3778
3854
  declare const DEFAULT_PX_PER_TWIP: number;
3779
3855
 
3780
- type EditableTargetKind = "paragraph-text" | "sdt-paragraph-text" | "table-cell-paragraph-text" | "nested-table-cell-paragraph-text" | "sdt-table-cell-paragraph-text" | "table-structure-table" | "table-structure-row" | "table-structure-column" | "table-structure-cell" | "table-structure-span" | "secondary-story-paragraph-text" | "textbox-paragraph-text" | "field-result-text" | "hyperlink-text" | "bookmark-anchor" | "comment-anchor" | "revision-anchor" | "object-anchor" | "custom-xml-content" | "opaque-content";
3856
+ type EditableTargetKind = "paragraph-text" | "sdt-paragraph-text" | "table-cell-paragraph-text" | "nested-table-cell-paragraph-text" | "sdt-table-cell-paragraph-text" | "table-structure-table" | "table-structure-row" | "table-structure-column" | "table-structure-cell" | "table-structure-span" | "secondary-story-paragraph-text" | "textbox-paragraph-text" | "field-result-text" | "field-region-refresh" | "toc-region-refresh" | "hyperlink-text" | "hyperlink-destination" | "bookmark-anchor" | "bookmark-content-range" | "comment-anchor" | "revision-anchor" | "object-anchor" | "custom-xml-content" | "opaque-content";
3781
3857
  type EditableTargetCommandFamily = "text-leaf" | "table-structure" | "field" | "link-bookmark" | "comment-revision" | "object" | "metadata" | "preserve-only-refusal";
3782
3858
  type EditableTargetEditability = "editable" | "non-editable";
3783
3859
  type EditableTargetBlocker = "protected-section" | "protected-range" | "locked-content-control" | "preserve-only" | "opaque-content" | "field-generated-text" | "review-posture" | "synthetic-layout-cell" | "unmodeled-target";
@@ -3811,16 +3887,26 @@ interface EditableTargetContentControlIdentity {
3811
3887
  }
3812
3888
  interface EditableTargetFieldIdentity {
3813
3889
  readonly canonicalFieldId?: string;
3890
+ readonly regionId?: string;
3814
3891
  readonly fieldFamily?: FieldFamily$1;
3815
3892
  readonly fieldTarget?: string;
3816
3893
  readonly refreshStatus?: FieldRefreshStatus$1;
3817
3894
  readonly locked?: boolean;
3818
3895
  readonly dirty?: boolean;
3896
+ readonly sourcePath?: string;
3897
+ readonly tocId?: string;
3898
+ readonly resultRangeFromParagraphIndex?: number;
3899
+ readonly resultRangeToParagraphIndex?: number;
3900
+ readonly status?: TocRegion["status"];
3901
+ readonly cachedEntryCount?: number;
3902
+ readonly generatedEntryCount?: number;
3819
3903
  }
3820
3904
  interface EditableTargetLinkIdentity {
3821
3905
  readonly href?: string;
3906
+ readonly destinationKind?: "external" | "internal-anchor";
3822
3907
  readonly bookmarkId?: string;
3823
3908
  readonly bookmarkName?: string;
3909
+ readonly rangeKey?: string;
3824
3910
  }
3825
3911
  interface EditableTargetReviewIdentity {
3826
3912
  readonly reviewId: string;
@@ -3856,10 +3942,21 @@ interface EditableTargetTableFragmentIdentity {
3856
3942
  readonly splitRowEligible?: boolean;
3857
3943
  readonly verticalMergeCarry?: boolean;
3858
3944
  }
3945
+ interface EditableTargetCellFragmentIdentity {
3946
+ readonly fragmentKey: string;
3947
+ readonly textHash: string;
3948
+ readonly blockCount: number;
3949
+ readonly rowRange?: EditableTargetTableRange;
3950
+ readonly columnRange?: EditableTargetTableRange;
3951
+ readonly sourceJoinHash?: string;
3952
+ }
3859
3953
  interface EditableTargetTableIdentity {
3860
3954
  readonly operationScope: "text" | "table" | "row" | "column" | "cell" | "span";
3861
3955
  readonly tableKey: string;
3862
3956
  readonly tablePath: string;
3957
+ readonly sourceRef?: CanonicalSourceRef;
3958
+ readonly rowSourceRef?: CanonicalSourceRef;
3959
+ readonly cellSourceRef?: CanonicalSourceRef;
3863
3960
  readonly storyBlockIndex?: number;
3864
3961
  readonly tableBlockIndex?: number;
3865
3962
  readonly tableDepth: number;
@@ -3877,6 +3974,74 @@ interface EditableTargetTableIdentity {
3877
3974
  readonly rowCellCount?: number;
3878
3975
  readonly blockCount?: number;
3879
3976
  readonly fragment?: EditableTargetTableFragmentIdentity;
3977
+ readonly cellFragment?: EditableTargetCellFragmentIdentity;
3978
+ }
3979
+ type EditableTargetCanonicalAddressKind = "table-target" | "list-item-text" | "field-result" | "field-region-refresh" | "toc-region-refresh" | "hyperlink-display-text" | "hyperlink-destination" | "bookmark-anchor" | "bookmark-content-range";
3980
+ interface EditableTargetCanonicalAddress {
3981
+ /**
3982
+ * Opaque target-specific join key for consumers. It is derived from story,
3983
+ * source identity, and semantic range facts without publishing raw block,
3984
+ * leaf, table path, or OOXML cell-path strings as the command contract.
3985
+ */
3986
+ readonly addressKey: string;
3987
+ readonly addressKind: EditableTargetCanonicalAddressKind;
3988
+ readonly storyKey: string;
3989
+ readonly staleCheckKind: EditableTargetStaleCheck["blockType"];
3990
+ readonly operationScope?: EditableTargetTableIdentity["operationScope"] | "list-text" | "field-refresh" | "toc-refresh" | "link-destination" | "bookmark-range";
3991
+ readonly rowRange?: EditableTargetTableRange;
3992
+ readonly columnRange?: EditableTargetTableRange;
3993
+ readonly sourceJoinHash?: string;
3994
+ readonly secondaryStory?: boolean;
3995
+ readonly nestedTable?: boolean;
3996
+ readonly insideSdt?: boolean;
3997
+ readonly resolver?: EditableTargetCanonicalAddressResolverMetadata;
3998
+ }
3999
+ interface EditableTargetAddressRangeBoundary {
4000
+ readonly boundaryKind: "table-grid" | "cell-fragment" | "list-item-text" | "field-result" | "field-region" | "hyperlink-display" | "bookmark-content" | "hyperlink-destination" | "bookmark-anchor";
4001
+ readonly from?: number;
4002
+ readonly to?: number;
4003
+ readonly startSourceJoinHash?: string;
4004
+ readonly endSourceJoinHash?: string;
4005
+ }
4006
+ interface EditableTargetOwnerAddressRouting {
4007
+ readonly addressKey: string;
4008
+ readonly addressKind: EditableTargetCanonicalAddressKind;
4009
+ readonly storyKey: string;
4010
+ readonly operationScope?: EditableTargetCanonicalAddress["operationScope"];
4011
+ readonly sourceJoinHash?: string;
4012
+ readonly staleHash: string;
4013
+ readonly rowRange?: EditableTargetTableRange;
4014
+ readonly columnRange?: EditableTargetTableRange;
4015
+ }
4016
+ interface EditableTargetCanonicalAddressResolverMetadata {
4017
+ readonly staleHash: string;
4018
+ readonly sourceJoinHash?: string;
4019
+ readonly rowRange?: EditableTargetTableRange;
4020
+ readonly columnRange?: EditableTargetTableRange;
4021
+ readonly rangeBoundary?: EditableTargetAddressRangeBoundary;
4022
+ readonly owner?: EditableTargetOwnerAddressRouting;
4023
+ }
4024
+ interface EditableTargetOwnerIdentity {
4025
+ readonly targetKey: string;
4026
+ readonly kind: EditableTargetKind;
4027
+ readonly storyKey: string;
4028
+ readonly blockPath: string;
4029
+ readonly leafPath: string;
4030
+ readonly commandFamily: "text-leaf";
4031
+ readonly reason: "vertical-merge-restart-cell";
4032
+ readonly canonicalAddress?: EditableTargetOwnerAddressRouting;
4033
+ readonly table?: {
4034
+ readonly tableKey: string;
4035
+ readonly tablePath: string;
4036
+ readonly sourceRef?: CanonicalSourceRef;
4037
+ readonly rowSourceRef?: CanonicalSourceRef;
4038
+ readonly cellSourceRef?: CanonicalSourceRef;
4039
+ readonly rowIndex?: number;
4040
+ readonly cellIndex?: number;
4041
+ readonly gridColumnStart?: number;
4042
+ readonly gridSpan?: number;
4043
+ readonly verticalMerge?: TableCellNode["verticalMerge"];
4044
+ };
3880
4045
  }
3881
4046
  interface EditableTargetRef {
3882
4047
  readonly targetKey: string;
@@ -3893,6 +4058,8 @@ interface EditableTargetRef {
3893
4058
  readonly review?: EditableTargetReviewIdentity;
3894
4059
  readonly object?: EditableTargetObjectIdentity;
3895
4060
  readonly table?: EditableTargetTableIdentity;
4061
+ readonly editableOwner?: EditableTargetOwnerIdentity;
4062
+ readonly canonicalAddress?: EditableTargetCanonicalAddress;
3896
4063
  readonly staleCheck: EditableTargetStaleCheck;
3897
4064
  readonly posture: EditableTargetPosture;
3898
4065
  }
@@ -4025,6 +4192,9 @@ interface GeometrySourceIdentity {
4025
4192
  tableKey?: string;
4026
4193
  rowKey?: string;
4027
4194
  cellKey?: string;
4195
+ sourceRef?: CanonicalSourceRef;
4196
+ rowSourceRef?: CanonicalSourceRef;
4197
+ cellSourceRef?: CanonicalSourceRef;
4028
4198
  scopeKey?: string;
4029
4199
  scopeId?: string;
4030
4200
  objectKey?: string;
@@ -4158,6 +4328,7 @@ interface GeometryProjectionWarning {
4158
4328
  severity: "info" | "warning";
4159
4329
  message: string;
4160
4330
  }
4331
+ type GeometryEditableTargetUnavailableReason = "editable-target-block-geometry-missing" | "editable-target-table-geometry-missing" | "editable-target-command-geometry-missing" | "editable-target-page-geometry-unavailable";
4161
4332
  interface SemanticDisplayEntry {
4162
4333
  entryId: string;
4163
4334
  kind: SemanticDisplayEntryKind;
@@ -4174,6 +4345,13 @@ interface SemanticDisplayEntry {
4174
4345
  tableContinuation?: GeometryTableContinuation;
4175
4346
  layoutObjectId?: string;
4176
4347
  fieldFamilies?: readonly string[];
4348
+ fieldRegionId?: string;
4349
+ canonicalFieldId?: string;
4350
+ fieldRegionKind?: "field" | "toc-region" | "hyperlink-field";
4351
+ hyperlinkLayoutId?: string;
4352
+ hyperlinkRole?: "display-text" | "destination";
4353
+ bookmarkRangeId?: string;
4354
+ bookmarkRangeRole?: "start" | "inside" | "end" | "whole";
4177
4355
  pageLocalStoryId?: string;
4178
4356
  pageLocalStoryKind?: "header" | "footer";
4179
4357
  pageLocalStoryVariant?: string;
@@ -4189,6 +4367,11 @@ interface SemanticDisplayEntry {
4189
4367
  editableTargetEditability?: EditableTargetEditability;
4190
4368
  editableTargetBlockers?: readonly EditableTargetBlocker[];
4191
4369
  editableTargetLeafPath?: string;
4370
+ editableTargetCanonicalAddress?: EditableTargetCanonicalAddress;
4371
+ editableTargetOwnerKey?: string;
4372
+ editableTargetOwnerReason?: string;
4373
+ editableTargetOwnerCanonicalAddress?: EditableTargetOwnerAddressRouting;
4374
+ editableTargetUnavailableReason?: GeometryEditableTargetUnavailableReason;
4192
4375
  rect: GeometryRect$1;
4193
4376
  status: GeometryRehydrationStatus;
4194
4377
  precision: GeometryPrecision;
@@ -4203,12 +4386,15 @@ interface GeometryReplacementEnvelopeEntry {
4203
4386
  precision: GeometryPrecision;
4204
4387
  sourceIdentity?: GeometrySourceIdentity;
4205
4388
  }
4389
+ type GeometryObjectUnavailableReason = "object-anchor-geometry-missing";
4206
4390
  interface GeometryObjectHandleEntry {
4207
4391
  objectId: string;
4208
4392
  pageIds?: readonly string[];
4393
+ objectRect?: GeometryRect$1;
4209
4394
  rects: readonly GeometryRect$1[];
4210
4395
  status: GeometryRehydrationStatus;
4211
4396
  precision: GeometryPrecision;
4397
+ objectUnavailableReason?: GeometryObjectUnavailableReason;
4212
4398
  layoutDivergenceIds?: readonly string[];
4213
4399
  sourceIdentity?: GeometrySourceIdentity;
4214
4400
  }
@@ -5321,6 +5507,32 @@ type EditorCommand = {
5321
5507
  editableTarget?: EditableTargetRef | null;
5322
5508
  formatting?: TextFormattingDirective;
5323
5509
  origin?: CommandOrigin;
5510
+ } | {
5511
+ type: "field.refresh";
5512
+ editableTarget: EditableTargetRef;
5513
+ options?: {
5514
+ readonly supportedOnly?: boolean;
5515
+ };
5516
+ origin?: CommandOrigin;
5517
+ } | {
5518
+ type: "toc.refresh";
5519
+ editableTarget: EditableTargetRef;
5520
+ options?: {
5521
+ readonly tocId?: string;
5522
+ readonly mode?: "regenerate" | "preserveCached";
5523
+ readonly maxLevel?: number;
5524
+ };
5525
+ origin?: CommandOrigin;
5526
+ } | {
5527
+ type: "bookmark.edit-content";
5528
+ editableTarget: EditableTargetRef;
5529
+ text: string;
5530
+ origin?: CommandOrigin;
5531
+ } | {
5532
+ type: "hyperlink.update-destination";
5533
+ editableTarget: EditableTargetRef;
5534
+ href: string;
5535
+ origin?: CommandOrigin;
5324
5536
  } | {
5325
5537
  type: "text.insert";
5326
5538
  text: string;
@@ -5844,6 +6056,13 @@ interface SemanticScopeContent {
5844
6056
  readonly normalizedText?: string;
5845
6057
  readonly excerpt?: string;
5846
6058
  readonly childScopeIds?: readonly string[];
6059
+ /**
6060
+ * What `text` means for this scope. Paragraph-like scopes default to
6061
+ * editable text. Table-family scopes publish structural summaries here;
6062
+ * editable table text lives in bundle evidence readbacks.
6063
+ */
6064
+ readonly authority?: "editable-text" | "structural-summary";
6065
+ readonly editableTextPath?: string;
5847
6066
  }
5848
6067
  interface SemanticScopeNumbering {
5849
6068
  readonly numberingInstanceId: string;
@@ -6151,6 +6370,9 @@ interface ScopeGeometryObjectHandleEvidence {
6151
6370
  readonly tableKey?: string;
6152
6371
  readonly rowKey?: string;
6153
6372
  readonly cellKey?: string;
6373
+ readonly sourceRef?: CanonicalSourceRef;
6374
+ readonly rowSourceRef?: CanonicalSourceRef;
6375
+ readonly cellSourceRef?: CanonicalSourceRef;
6154
6376
  readonly scopeKey?: string;
6155
6377
  readonly scopeId?: string;
6156
6378
  readonly objectKey?: string;
@@ -6187,6 +6409,10 @@ interface ScopeGeometrySemanticEntryEvidence {
6187
6409
  readonly editability?: string;
6188
6410
  readonly blockers?: readonly string[];
6189
6411
  readonly leafPath?: string;
6412
+ readonly editableOwner?: {
6413
+ readonly targetKey: string;
6414
+ readonly reason: string;
6415
+ };
6190
6416
  };
6191
6417
  readonly sourceIdentity?: {
6192
6418
  readonly storyKey?: string;
@@ -6194,6 +6420,9 @@ interface ScopeGeometrySemanticEntryEvidence {
6194
6420
  readonly tableKey?: string;
6195
6421
  readonly rowKey?: string;
6196
6422
  readonly cellKey?: string;
6423
+ readonly sourceRef?: CanonicalSourceRef;
6424
+ readonly rowSourceRef?: CanonicalSourceRef;
6425
+ readonly cellSourceRef?: CanonicalSourceRef;
6197
6426
  readonly scopeKey?: string;
6198
6427
  readonly scopeId?: string;
6199
6428
  readonly objectKey?: string;
@@ -6230,18 +6459,25 @@ interface ScopeEditableTargetRuntimeTextCommandEvidence {
6230
6459
  readonly reason: string;
6231
6460
  };
6232
6461
  }
6233
- interface ScopeEditableTargetReadbackEvidence {
6234
- readonly text: string;
6235
- readonly source: "canonical-text-leaf";
6236
- }
6237
- type ScopeEditableTargetRuntimeCommandIntent = "text-leaf-edit" | "field-update" | "toc-refresh" | "hyperlink-update" | "hyperlink-display-text-edit" | "bookmark-update" | "table-structure-action" | "comment-action" | "revision-action" | "image-layout" | "image-frame" | "chart-edit" | "custom-xml-update" | "embedded-content-update" | "opaque-content-preserve" | "object-edit" | "metadata-update" | "preserve-only-refusal";
6462
+ type ScopeEditableTargetRuntimeCommandIntent = "text-leaf-edit" | "field-update" | "toc-refresh" | "hyperlink-update" | "hyperlink-display-text-edit" | "bookmark-update" | "list-text-edit" | "list-structure-action" | "table-text-paste" | "table-text-drop" | "table-structured-fragment-paste" | "table-structured-fragment-drop" | "table-merge-cells" | "table-split-cell" | "table-structure-action" | "comment-action" | "revision-action" | "image-layout" | "image-frame" | "chart-edit" | "custom-xml-update" | "embedded-content-update" | "opaque-content-preserve" | "object-edit" | "metadata-update" | "preserve-only-refusal";
6238
6463
  interface ScopeEditableTargetRuntimeCommandEvidence {
6239
6464
  readonly status: "supported" | "blocked";
6240
6465
  readonly commandFamily: EditableTargetCommandFamily;
6241
6466
  readonly intents: readonly ScopeEditableTargetRuntimeCommandIntent[];
6242
6467
  readonly reason: string;
6468
+ readonly actionHandle?: string;
6469
+ readonly canonicalAddress?: EditableTargetCanonicalAddress;
6243
6470
  readonly blockers?: readonly string[];
6244
6471
  }
6472
+ interface ScopeEditableTargetReadbackEvidence {
6473
+ readonly text: string;
6474
+ readonly source: "canonical-text-leaf";
6475
+ }
6476
+ interface ScopeEditableTargetReadbackEvidence {
6477
+ readonly text: string;
6478
+ readonly isEmpty: boolean;
6479
+ readonly source: "canonical-text-leaf";
6480
+ }
6245
6481
  interface ScopeEditableTargetEvidenceEntry {
6246
6482
  readonly targetKey: string;
6247
6483
  readonly kind: EditableTargetKind;
@@ -6258,6 +6494,8 @@ interface ScopeEditableTargetEvidenceEntry {
6258
6494
  readonly review?: EditableTargetReviewIdentity;
6259
6495
  readonly object?: EditableTargetObjectIdentity;
6260
6496
  readonly table?: EditableTargetTableIdentity;
6497
+ readonly editableOwner?: EditableTargetOwnerIdentity;
6498
+ readonly canonicalAddress?: EditableTargetCanonicalAddress;
6261
6499
  readonly staleCheck: EditableTargetStaleCheck;
6262
6500
  readonly posture: EditableTargetPosture;
6263
6501
  readonly workflowBlockers?: readonly ScopeEditableTargetWorkflowBlockerEvidence[];
@@ -6300,13 +6538,19 @@ interface ScopeTableVerticalMergeFact {
6300
6538
  interface ScopeTableCellFact {
6301
6539
  readonly rowIndex: number;
6302
6540
  readonly cellIndex: number;
6541
+ readonly cellSourceRef?: CanonicalSourceRef;
6303
6542
  readonly gridColumnStart: number;
6304
6543
  readonly gridSpan: number;
6305
6544
  readonly verticalMerge: ScopeTableVerticalMergeFact;
6306
6545
  readonly childBlockCount: number;
6546
+ readonly textTargetCount: number;
6547
+ readonly supportedTextTargetCount: number;
6548
+ readonly textState: "non-empty" | "empty" | "blocked" | "unavailable";
6549
+ readonly textReadbacks?: readonly ScopeEditableTargetReadbackEvidence[];
6307
6550
  }
6308
6551
  interface ScopeTableRowFact {
6309
6552
  readonly rowIndex: number;
6553
+ readonly rowSourceRef?: CanonicalSourceRef;
6310
6554
  readonly cellCount: number;
6311
6555
  readonly gridBefore?: number;
6312
6556
  readonly gridAfter?: number;
@@ -6315,6 +6559,7 @@ interface ScopeTableRowFact {
6315
6559
  readonly cells: readonly ScopeTableCellFact[];
6316
6560
  }
6317
6561
  interface ScopeTableStructureFacts {
6562
+ readonly sourceRef?: CanonicalSourceRef;
6318
6563
  readonly rowCount: number;
6319
6564
  readonly columnCount: number;
6320
6565
  readonly rows?: readonly ScopeTableRowFact[];
@@ -6322,10 +6567,15 @@ interface ScopeTableStructureFacts {
6322
6567
  readonly cell?: ScopeTableCellFact;
6323
6568
  }
6324
6569
  interface ScopeTableActionDiagnostics {
6325
- readonly targetKey: string;
6326
- readonly blockPath: string;
6327
- readonly leafPath: string;
6328
- readonly rawTableKey?: string;
6570
+ readonly sourceRef?: CanonicalSourceRef;
6571
+ readonly rowSourceRef?: CanonicalSourceRef;
6572
+ readonly cellSourceRef?: CanonicalSourceRef;
6573
+ readonly raw?: {
6574
+ readonly targetKey: string;
6575
+ readonly blockPath: string;
6576
+ readonly leafPath: string;
6577
+ readonly tableKey?: string;
6578
+ };
6329
6579
  }
6330
6580
  interface ScopeTableActionAvailability {
6331
6581
  readonly handle: string;
@@ -6337,6 +6587,9 @@ interface ScopeTableActionAvailability {
6337
6587
  readonly targetKind: EditableTargetKind;
6338
6588
  readonly relation: ScopeEditableTargetRelation;
6339
6589
  readonly intents: readonly ScopeEditableTargetRuntimeCommandIntent[];
6590
+ readonly actionHandle?: string;
6591
+ readonly canonicalAddress?: EditableTargetCanonicalAddress;
6592
+ readonly readback?: ScopeEditableTargetReadbackEvidence;
6340
6593
  readonly blockers?: readonly string[];
6341
6594
  readonly warnings?: readonly string[];
6342
6595
  readonly diagnostics: ScopeTableActionDiagnostics;
@@ -6386,6 +6639,9 @@ interface ScopeGeometryEvidence {
6386
6639
  readonly tableKey?: string;
6387
6640
  readonly rowKey?: string;
6388
6641
  readonly cellKey?: string;
6642
+ readonly sourceRef?: CanonicalSourceRef;
6643
+ readonly rowSourceRef?: CanonicalSourceRef;
6644
+ readonly cellSourceRef?: CanonicalSourceRef;
6389
6645
  readonly scopeKey?: string;
6390
6646
  readonly scopeId?: string;
6391
6647
  readonly objectKey?: string;
@@ -6468,6 +6724,8 @@ interface ScopeCapabilityVerdict {
6468
6724
  readonly reason?: string;
6469
6725
  readonly blockers?: readonly string[];
6470
6726
  readonly warnings?: readonly string[];
6727
+ readonly actionHandles?: readonly string[];
6728
+ readonly intents?: readonly ScopeEditableTargetRuntimeCommandIntent[];
6471
6729
  }
6472
6730
  interface ScopeCapabilities {
6473
6731
  readonly canReplaceText: ScopeCapabilityVerdict;
@@ -7217,7 +7475,7 @@ interface DocumentRuntime {
7217
7475
  getFontEntry(name: string): NonNullable<CanonicalDocumentEnvelope$1["fontTable"]>["fonts"][string] | undefined;
7218
7476
  replaceText(text: string, target?: EditorAnchorProjection, formatting?: TextFormattingDirective): void;
7219
7477
  applyFormattingOperation(operation: FormattingOperation): void;
7220
- insertFragment(fragment: CanonicalDocumentFragment, target?: EditorAnchorProjection): void;
7478
+ insertFragment(fragment: CanonicalDocumentFragment, target?: EditorAnchorProjection, editContext?: RuntimeEditTargetContext): void;
7221
7479
  /**
7222
7480
  * I2 Tier B Slice 4b — serialize the selection range to a
7223
7481
  * `CanonicalDocumentFragment` and store it in an internal clipboard buffer.
@@ -8977,6 +9235,7 @@ interface V3PageLocalStory {
8977
9235
  readonly variant: "default" | "first" | "even" | "odd";
8978
9236
  readonly relationshipId: string;
8979
9237
  readonly sectionIndex?: number;
9238
+ readonly previewText: string;
8980
9239
  readonly resolvedFields: readonly V3PageLocalStoryField[];
8981
9240
  readonly anchoredObjects: readonly V3PageLocalStoryObject[];
8982
9241
  readonly measuredFrameHeightTwips: number;
@@ -11015,7 +11274,7 @@ interface AiTableActionBlockerDetail {
11015
11274
  readonly operationScope?: string;
11016
11275
  }
11017
11276
  interface AiTableActionCommandReference {
11018
- readonly command: "table.apply-structure" | "table.apply-text";
11277
+ readonly command: "table.apply-structure" | "table.apply-text" | "fragment.insert";
11019
11278
  readonly actorId: string;
11020
11279
  readonly origin: "ui" | "agent" | "host";
11021
11280
  readonly emittedAtUtc: string;
@@ -11065,10 +11324,413 @@ declare function createTableActionFamily(runtime: RuntimeApiHandle): {
11065
11324
  applyTableAction(input: ApplyTableActionInput): ApplyTableActionResult;
11066
11325
  };
11067
11326
 
11327
+ /**
11328
+ * @endStateApi — live-with-adapter. v3 `ai.actions` category.
11329
+ *
11330
+ * This is the simple orchestration layer for agent-friendly document actions.
11331
+ * It composes the existing L09 primitives and L08/L07 write paths; it does
11332
+ * not add a new authority path, expose offsets, or expose table target refs.
11333
+ */
11334
+
11335
+ type AiActionsBlockerCategory = "input" | "unresolved-target" | "ambiguous-target" | "unsupported" | "blocked";
11336
+ interface AiActionsBlockerDetail {
11337
+ readonly code: string;
11338
+ readonly category: AiActionsBlockerCategory;
11339
+ readonly message: string;
11340
+ readonly nextStep: string;
11341
+ readonly ownerRoute?: string;
11342
+ }
11343
+ type AiActionsTargetInput = {
11344
+ readonly handle: ScopeHandle;
11345
+ } | {
11346
+ readonly actionHandle: string;
11347
+ } | {
11348
+ readonly query: string;
11349
+ readonly kind?: SemanticScopeKind;
11350
+ readonly matchCase?: boolean;
11351
+ readonly includeTableText?: boolean;
11352
+ readonly tableTextScopeLimit?: number;
11353
+ };
11354
+ interface AiActionsMatch {
11355
+ readonly kind: SemanticScopeKind | "table-text";
11356
+ readonly text: string;
11357
+ readonly excerpt: string;
11358
+ readonly handle?: ScopeHandle;
11359
+ readonly actionHandle?: string;
11360
+ readonly readback?: AiTableTextReadback;
11361
+ readonly isEmpty?: boolean;
11362
+ }
11363
+ interface LocateActionsInput {
11364
+ readonly query: string;
11365
+ readonly kind?: SemanticScopeKind;
11366
+ readonly limit?: number;
11367
+ readonly matchCase?: boolean;
11368
+ /**
11369
+ * Table text lookup is intentionally opt-in because it may need to
11370
+ * enumerate command-safe table action readbacks. Ordinary text search
11371
+ * should stay cheap on large CLM templates.
11372
+ */
11373
+ readonly includeTableText?: boolean;
11374
+ readonly tableTextScopeLimit?: number;
11375
+ }
11376
+ interface LocateActionsResult {
11377
+ readonly status: "found" | "not-found" | "blocked";
11378
+ readonly matches: readonly AiActionsMatch[];
11379
+ readonly blockers?: readonly string[];
11380
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11381
+ }
11382
+ interface DiscoverActionsInput {
11383
+ readonly target?: AiActionsTargetInput;
11384
+ }
11385
+ interface DiscoverActionsResult {
11386
+ readonly status: "supported" | "blocked";
11387
+ readonly methods: readonly string[];
11388
+ readonly policyActions: ListAIActionsResult;
11389
+ readonly target?: AiActionsTargetSummary;
11390
+ readonly blockers?: readonly string[];
11391
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11392
+ }
11393
+ interface AiActionsTargetSummary {
11394
+ readonly kind: SemanticScopeKind | "table-text";
11395
+ readonly handle?: ScopeHandle;
11396
+ readonly actionHandle?: string;
11397
+ readonly readback?: AiTableTextReadback;
11398
+ readonly canRewriteText: boolean;
11399
+ readonly canInsertAdjacentText: boolean;
11400
+ readonly canFlag: boolean;
11401
+ readonly canMark: boolean;
11402
+ }
11403
+ interface RewriteActionsInput {
11404
+ readonly target: AiActionsTargetInput;
11405
+ readonly text: string;
11406
+ readonly actionId?: AIAction;
11407
+ readonly reason?: string;
11408
+ readonly preserve?: ReplacementPreservePolicy;
11409
+ readonly actorId?: string;
11410
+ readonly origin?: "ui" | "agent" | "host";
11411
+ readonly proposalId?: string;
11412
+ }
11413
+ interface RewriteAllActionsInput extends Omit<RewriteActionsInput, "target"> {
11414
+ readonly query: string;
11415
+ readonly kind?: SemanticScopeKind;
11416
+ readonly limit?: number;
11417
+ readonly matchCase?: boolean;
11418
+ readonly includeTableText?: boolean;
11419
+ readonly tableTextScopeLimit?: number;
11420
+ }
11421
+ interface InsertTextActionsInput {
11422
+ readonly target: AiActionsTargetInput;
11423
+ readonly position: "before" | "after";
11424
+ readonly text: string;
11425
+ readonly actionId?: AIAction;
11426
+ readonly reason?: string;
11427
+ readonly preserve?: ReplacementPreservePolicy;
11428
+ readonly actorId?: string;
11429
+ readonly origin?: "ui" | "agent" | "host";
11430
+ readonly proposalId?: string;
11431
+ }
11432
+ interface FlagActionsInput {
11433
+ readonly target: AiActionsTargetInput;
11434
+ readonly summary: string;
11435
+ readonly severity?: "info" | "warning" | "error";
11436
+ readonly actorId?: string;
11437
+ readonly origin?: "ui" | "agent" | "host";
11438
+ }
11439
+ interface MarkActionsInput {
11440
+ readonly target: AiActionsTargetInput;
11441
+ readonly action: ScopeFormattingAction;
11442
+ readonly actionId?: AIAction;
11443
+ readonly reason?: string;
11444
+ readonly actorId?: string;
11445
+ readonly origin?: "ui" | "agent" | "host";
11446
+ readonly proposalId?: string;
11447
+ }
11448
+ interface BriefActionsInput {
11449
+ readonly target?: AiActionsTargetInput;
11450
+ }
11451
+ interface FieldRefreshActionsInput {
11452
+ readonly target: AiActionsExactTargetInput;
11453
+ readonly supportedOnly?: boolean;
11454
+ readonly actorId?: string;
11455
+ readonly origin?: "ui" | "agent" | "host";
11456
+ }
11457
+ interface TocRefreshActionsInput {
11458
+ readonly target: AiActionsExactTargetInput;
11459
+ readonly tocId?: string;
11460
+ readonly mode?: "regenerate" | "preserveCached";
11461
+ readonly maxLevel?: number;
11462
+ readonly actorId?: string;
11463
+ readonly origin?: "ui" | "agent" | "host";
11464
+ }
11465
+ interface BookmarkEditActionsInput {
11466
+ readonly target: AiActionsExactTargetInput;
11467
+ readonly text: string;
11468
+ readonly actorId?: string;
11469
+ readonly origin?: "ui" | "agent" | "host";
11470
+ }
11471
+ interface HyperlinkDestinationEditActionsInput {
11472
+ readonly target: AiActionsExactTargetInput;
11473
+ readonly href: string;
11474
+ readonly actorId?: string;
11475
+ readonly origin?: "ui" | "agent" | "host";
11476
+ }
11477
+ type ListActionsOperation = {
11478
+ readonly kind: "toggle";
11479
+ readonly listKind: "bulleted" | "numbered";
11480
+ } | {
11481
+ readonly kind: "indent";
11482
+ } | {
11483
+ readonly kind: "outdent";
11484
+ } | {
11485
+ readonly kind: "restart-numbering";
11486
+ readonly startAt?: number;
11487
+ } | {
11488
+ readonly kind: "continue-numbering";
11489
+ };
11490
+ interface ListOperationActionsInput {
11491
+ readonly target: AiActionsExactTargetInput;
11492
+ readonly operation: ListActionsOperation;
11493
+ readonly actorId?: string;
11494
+ readonly origin?: "ui" | "agent" | "host";
11495
+ }
11496
+ interface TableFragmentActionsInput {
11497
+ readonly actionHandle: string;
11498
+ readonly operation: Extract<AiTableCallableOperation, {
11499
+ readonly kind: "paste-cell-content" | "drop-cell-content";
11500
+ }>;
11501
+ readonly scopeId?: string;
11502
+ readonly actorId?: string;
11503
+ readonly origin?: "ui" | "agent" | "host";
11504
+ readonly proposalId?: string;
11505
+ }
11506
+ interface TableSelectionActionsInput {
11507
+ readonly actionHandle: string;
11508
+ readonly operation: Extract<AiTableCallableOperation, {
11509
+ readonly kind: "merge-cells" | "split-cell";
11510
+ }>;
11511
+ readonly scopeId?: string;
11512
+ readonly actorId?: string;
11513
+ readonly origin?: "ui" | "agent" | "host";
11514
+ readonly proposalId?: string;
11515
+ }
11516
+ type AiActionsExactTargetInput = {
11517
+ readonly handle: ScopeHandle;
11518
+ } | {
11519
+ readonly actionHandle: string;
11520
+ };
11521
+ interface RunPlanStepPreconditions {
11522
+ readonly expectedBeforeTextIncludes?: string;
11523
+ readonly expectedBeforeIsEmpty?: boolean;
11524
+ }
11525
+ interface RunPlanStepBase {
11526
+ readonly id: string;
11527
+ readonly preconditions?: RunPlanStepPreconditions;
11528
+ }
11529
+ type RunPlanActionsStep = (RunPlanStepBase & {
11530
+ readonly kind: "brief";
11531
+ readonly target?: AiActionsExactTargetInput;
11532
+ }) | (RunPlanStepBase & {
11533
+ readonly kind: "rewrite";
11534
+ readonly target: AiActionsExactTargetInput;
11535
+ readonly text: string;
11536
+ readonly actionId?: AIAction;
11537
+ readonly reason?: string;
11538
+ readonly preserve?: ReplacementPreservePolicy;
11539
+ readonly actorId?: string;
11540
+ readonly origin?: "ui" | "agent" | "host";
11541
+ readonly proposalId?: string;
11542
+ }) | (RunPlanStepBase & {
11543
+ readonly kind: "insertText";
11544
+ readonly target: AiActionsExactTargetInput;
11545
+ readonly position: "before" | "after";
11546
+ readonly text: string;
11547
+ readonly actionId?: AIAction;
11548
+ readonly reason?: string;
11549
+ readonly preserve?: ReplacementPreservePolicy;
11550
+ readonly actorId?: string;
11551
+ readonly origin?: "ui" | "agent" | "host";
11552
+ readonly proposalId?: string;
11553
+ }) | (RunPlanStepBase & {
11554
+ readonly kind: "flag";
11555
+ readonly target: AiActionsExactTargetInput;
11556
+ readonly summary: string;
11557
+ readonly severity?: "info" | "warning" | "error";
11558
+ readonly actorId?: string;
11559
+ readonly origin?: "ui" | "agent" | "host";
11560
+ }) | (RunPlanStepBase & {
11561
+ readonly kind: "mark";
11562
+ readonly target: AiActionsExactTargetInput;
11563
+ readonly action: ScopeFormattingAction;
11564
+ readonly actionId?: AIAction;
11565
+ readonly reason?: string;
11566
+ readonly actorId?: string;
11567
+ readonly origin?: "ui" | "agent" | "host";
11568
+ readonly proposalId?: string;
11569
+ }) | (RunPlanStepBase & {
11570
+ readonly kind: "tableAction";
11571
+ readonly actionHandle: string;
11572
+ readonly operation: AiTableCallableOperation;
11573
+ readonly scopeId?: string;
11574
+ readonly actorId?: string;
11575
+ readonly origin?: "ui" | "agent" | "host";
11576
+ readonly proposalId?: string;
11577
+ }) | (RunPlanStepBase & {
11578
+ readonly kind: "fieldRefresh";
11579
+ readonly target: AiActionsExactTargetInput;
11580
+ readonly supportedOnly?: boolean;
11581
+ readonly actorId?: string;
11582
+ readonly origin?: "ui" | "agent" | "host";
11583
+ }) | (RunPlanStepBase & {
11584
+ readonly kind: "tocRefresh";
11585
+ readonly target: AiActionsExactTargetInput;
11586
+ readonly tocId?: string;
11587
+ readonly mode?: "regenerate" | "preserveCached";
11588
+ readonly maxLevel?: number;
11589
+ readonly actorId?: string;
11590
+ readonly origin?: "ui" | "agent" | "host";
11591
+ }) | (RunPlanStepBase & {
11592
+ readonly kind: "bookmarkEdit";
11593
+ readonly target: AiActionsExactTargetInput;
11594
+ readonly text: string;
11595
+ readonly actorId?: string;
11596
+ readonly origin?: "ui" | "agent" | "host";
11597
+ }) | (RunPlanStepBase & {
11598
+ readonly kind: "hyperlinkDestinationEdit";
11599
+ readonly target: AiActionsExactTargetInput;
11600
+ readonly href: string;
11601
+ readonly actorId?: string;
11602
+ readonly origin?: "ui" | "agent" | "host";
11603
+ }) | (RunPlanStepBase & {
11604
+ readonly kind: "listOperation";
11605
+ readonly target: AiActionsExactTargetInput;
11606
+ readonly operation: ListActionsOperation;
11607
+ readonly actorId?: string;
11608
+ readonly origin?: "ui" | "agent" | "host";
11609
+ }) | (RunPlanStepBase & {
11610
+ readonly kind: "tableFragment";
11611
+ readonly actionHandle: string;
11612
+ readonly operation: Extract<AiTableCallableOperation, {
11613
+ readonly kind: "paste-cell-content" | "drop-cell-content";
11614
+ }>;
11615
+ readonly scopeId?: string;
11616
+ readonly actorId?: string;
11617
+ readonly origin?: "ui" | "agent" | "host";
11618
+ readonly proposalId?: string;
11619
+ }) | (RunPlanStepBase & {
11620
+ readonly kind: "tableSelection";
11621
+ readonly actionHandle: string;
11622
+ readonly operation: Extract<AiTableCallableOperation, {
11623
+ readonly kind: "merge-cells" | "split-cell";
11624
+ }>;
11625
+ readonly scopeId?: string;
11626
+ readonly actorId?: string;
11627
+ readonly origin?: "ui" | "agent" | "host";
11628
+ readonly proposalId?: string;
11629
+ });
11630
+ interface RunPlanActionsInput {
11631
+ readonly mode?: "preview" | "apply";
11632
+ readonly steps: readonly RunPlanActionsStep[];
11633
+ readonly stopOnBlocker?: boolean;
11634
+ readonly maxSteps?: number;
11635
+ readonly actorId?: string;
11636
+ readonly origin?: "ui" | "agent" | "host";
11637
+ /**
11638
+ * Deprecated compatibility field. Hosts generate the structured `steps`;
11639
+ * L09 does not interpret free-form instructions.
11640
+ */
11641
+ readonly instruction?: string;
11642
+ }
11643
+ interface ApplyActionsResult {
11644
+ readonly status: "applied" | "partial" | "blocked" | "unsupported";
11645
+ readonly applied: boolean;
11646
+ readonly changed: boolean;
11647
+ readonly target?: AiActionsTargetSummary;
11648
+ readonly proposalId?: string;
11649
+ readonly posture?: string;
11650
+ readonly blockers?: readonly string[];
11651
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11652
+ readonly auditReference?: ApplyResult["auditReference"] | CreateIssueResult["auditReference"];
11653
+ readonly commandReference?: AiActionsCommandReference;
11654
+ readonly afterReadback?: AiTableTextReadback;
11655
+ readonly results?: readonly ApplyActionsResult[];
11656
+ }
11657
+ interface AiActionsCommandReference {
11658
+ readonly command: NonNullable<ApplyTableActionResult["commandReference"]>["command"] | "field.refresh" | "toc.refresh" | "bookmark.edit-content" | "hyperlink.update-destination" | "list.toggle" | "list.indent" | "list.outdent" | "list.restart-numbering" | "list.continue-numbering";
11659
+ readonly actorId: string;
11660
+ readonly origin: "ui" | "agent" | "host";
11661
+ readonly emittedAtUtc: string;
11662
+ }
11663
+ interface BriefActionsResult {
11664
+ readonly status: "read" | "blocked";
11665
+ readonly document?: InspectDocumentResult;
11666
+ readonly target?: AiActionsTargetSummary;
11667
+ readonly text?: string;
11668
+ readonly excerpt?: string;
11669
+ readonly blockers?: readonly string[];
11670
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11671
+ }
11672
+ interface RunPlanReadback {
11673
+ readonly text?: string;
11674
+ readonly excerpt?: string;
11675
+ readonly isEmpty?: boolean;
11676
+ }
11677
+ interface RunPlanStepResult {
11678
+ readonly id: string;
11679
+ readonly kind: RunPlanActionsStep["kind"];
11680
+ readonly status: "planned" | "read" | "applied" | "blocked" | "unsupported";
11681
+ readonly applied: boolean;
11682
+ readonly changed: boolean;
11683
+ readonly target?: AiActionsTargetSummary;
11684
+ readonly tableAction?: AiTableActionDescriptor;
11685
+ readonly beforeReadback?: RunPlanReadback;
11686
+ readonly afterReadback?: RunPlanReadback;
11687
+ readonly proposalId?: string;
11688
+ readonly posture?: string;
11689
+ readonly blockers?: readonly string[];
11690
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11691
+ readonly auditReference?: ApplyActionsResult["auditReference"];
11692
+ readonly commandReference?: ApplyActionsResult["commandReference"];
11693
+ }
11694
+ interface RunPlanActionsResult {
11695
+ readonly status: "planned" | "applied" | "partial" | "blocked";
11696
+ readonly mode: "preview" | "apply";
11697
+ readonly applied: boolean;
11698
+ readonly changed: boolean;
11699
+ readonly steps: readonly RunPlanStepResult[];
11700
+ readonly supportedMethods: readonly string[];
11701
+ readonly blockers?: readonly string[];
11702
+ readonly blockerDetails?: readonly AiActionsBlockerDetail[];
11703
+ }
11704
+ declare function createActionsFamily(runtime: RuntimeApiHandle): {
11705
+ actions: Readonly<{
11706
+ discover(input?: DiscoverActionsInput): DiscoverActionsResult;
11707
+ locate(input: LocateActionsInput): LocateActionsResult;
11708
+ locateAll(input: LocateActionsInput): LocateActionsResult;
11709
+ rewrite(input: RewriteActionsInput): ApplyActionsResult;
11710
+ rewriteAll(input: RewriteAllActionsInput): ApplyActionsResult;
11711
+ insertText(input: InsertTextActionsInput): ApplyActionsResult;
11712
+ flag(input: FlagActionsInput): ApplyActionsResult;
11713
+ flagMany(input: Omit<FlagActionsInput, "target"> & LocateActionsInput): ApplyActionsResult;
11714
+ mark(input: MarkActionsInput): ApplyActionsResult;
11715
+ brief(input?: BriefActionsInput): BriefActionsResult;
11716
+ fieldRefresh(input: FieldRefreshActionsInput): ApplyActionsResult;
11717
+ tocRefresh(input: TocRefreshActionsInput): ApplyActionsResult;
11718
+ bookmarkEdit(input: BookmarkEditActionsInput): ApplyActionsResult;
11719
+ hyperlinkDestinationEdit(input: HyperlinkDestinationEditActionsInput): ApplyActionsResult;
11720
+ listOperation(input: ListOperationActionsInput): ApplyActionsResult;
11721
+ tableFragment(input: TableFragmentActionsInput): ApplyActionsResult;
11722
+ tableSelection(input: TableSelectionActionsInput): ApplyActionsResult;
11723
+ runPlan(input: RunPlanActionsInput): RunPlanActionsResult;
11724
+ }>;
11725
+ };
11726
+
11068
11727
  type UiEditableTargetKind = NonNullable<SemanticDisplayEntry["editableTargetKind"]>;
11069
11728
  type UiEditableTargetCommandFamily = NonNullable<SemanticDisplayEntry["editableTargetCommandFamily"]>;
11070
11729
  type UiEditableTargetEditability = NonNullable<SemanticDisplayEntry["editableTargetEditability"]>;
11071
11730
  type UiEditableTargetBlocker = NonNullable<SemanticDisplayEntry["editableTargetBlockers"]>[number];
11731
+ type UiEditableTargetUnavailableReason = NonNullable<SemanticDisplayEntry["editableTargetUnavailableReason"]>;
11732
+ type UiEditableTargetCanonicalAddress = NonNullable<SemanticDisplayEntry["editableTargetCanonicalAddress"]>;
11733
+ type UiEditableTargetOwnerCanonicalAddress = NonNullable<SemanticDisplayEntry["editableTargetOwnerCanonicalAddress"]>;
11072
11734
 
11073
11735
  /**
11074
11736
  * Opaque controller handle. The UI API does not care whether a React
@@ -11403,9 +12065,14 @@ interface UiTableActionReadback {
11403
12065
  readonly history: "runtime-undo";
11404
12066
  readonly replay: "runtime-command-event";
11405
12067
  readonly exportReopen: "OOXML-export-reopen";
11406
- readonly source: "geometry-index";
12068
+ readonly source: "geometry-index" | "canonical-document";
11407
12069
  };
11408
12070
  }
12071
+ interface UiEditableTargetOwnerRouting {
12072
+ readonly targetKey: string;
12073
+ readonly reason?: string;
12074
+ readonly canonicalAddress?: UiEditableTargetOwnerCanonicalAddress;
12075
+ }
11409
12076
  interface UiEditableTargetEntry {
11410
12077
  readonly targetKey: string;
11411
12078
  readonly pageId: string;
@@ -11414,22 +12081,25 @@ interface UiEditableTargetEntry {
11414
12081
  readonly geometryStatus: GeometryRehydrationStatus;
11415
12082
  readonly geometryPrecision: GeometryPrecision;
11416
12083
  readonly geometryAvailable: boolean;
12084
+ readonly geometryUnavailableReason?: UiEditableTargetUnavailableReason;
11417
12085
  readonly blockers: readonly UiEditableTargetBlocker[];
11418
12086
  readonly provenance: {
11419
12087
  readonly target: "L02";
11420
12088
  readonly geometry: "L05";
11421
- readonly source: "geometry-index";
12089
+ readonly source: "geometry-index" | "canonical-document";
11422
12090
  };
11423
12091
  readonly kind?: UiEditableTargetKind;
11424
12092
  readonly commandFamily?: UiEditableTargetCommandFamily;
11425
12093
  readonly editability?: UiEditableTargetEditability;
11426
12094
  readonly leafPath?: string;
12095
+ readonly canonicalAddress?: UiEditableTargetCanonicalAddress;
12096
+ readonly owner?: UiEditableTargetOwnerRouting;
11427
12097
  readonly sourceIdentity?: GeometrySourceIdentity;
11428
12098
  readonly tableAction?: UiTableActionReadback;
11429
12099
  }
11430
12100
  interface UiEditableTargetsSnapshot {
11431
12101
  readonly status: GeometryRehydrationStatus;
11432
- readonly source: "geometry-index" | "unavailable";
12102
+ readonly source: "geometry-index" | "canonical-document" | "unavailable";
11433
12103
  readonly revision: number;
11434
12104
  readonly entries: readonly UiEditableTargetEntry[];
11435
12105
  readonly reason?: string;
@@ -11795,8 +12465,9 @@ interface ApiV3Ui {
11795
12465
  *
11796
12466
  * Shape mirrors `docs/architecture/00-overview.md §Runtime API vs AI API`:
11797
12467
  * runtime.* is sub-grouped (document/content/review/workflow/layout/geometry);
11798
- * ai.* is intentionally flat (inspectDocument / resolveReference / etc.) so
11799
- * agents call them as single-level tools without sub-namespace stitching.
12468
+ * ai.* exposes flat primitives (inspectDocument / resolveReference / etc.)
12469
+ * plus `ai.actions`, a small orchestration category for agent-friendly flows
12470
+ * that compose those primitives without widening authority.
11800
12471
  */
11801
12472
  type ApiV3Runtime = {
11802
12473
  readonly document: ReturnType<typeof createDocumentFamily>;
@@ -11813,7 +12484,7 @@ type ApiV3Runtime = {
11813
12484
  readonly table: ReturnType<typeof createTableFamily>;
11814
12485
  readonly viewport: ReturnType<typeof createViewportFamily>;
11815
12486
  };
11816
- 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>;
12487
+ 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>;
11817
12488
  interface ApiV3 {
11818
12489
  readonly runtime: ApiV3Runtime;
11819
12490
  readonly ai: ApiV3Ai;
@@ -12410,12 +13081,27 @@ type EditorAnchorProjection = {
12410
13081
  };
12411
13082
  reason: "deleted" | "invalidatedByStructureChange" | "importAmbiguity";
12412
13083
  };
13084
+ interface RuntimeEditTargetContext {
13085
+ /**
13086
+ * Modeled L02 editable target authority for runtime edit commands that need
13087
+ * to preserve table/nested/SDT/story identity rather than rediscovering it
13088
+ * from flat selection offsets.
13089
+ */
13090
+ editableTarget?: EditableTargetRef;
13091
+ }
12413
13092
 
12414
13093
  interface SelectionSnapshot {
12415
13094
  anchor: number;
12416
13095
  head: number;
12417
13096
  isCollapsed: boolean;
12418
13097
  activeRange: EditorAnchorProjection;
13098
+ /**
13099
+ * Modeled safe-editability target associated with this mounted selection,
13100
+ * when the rendered surface can prove it from L02/L11 position mapping.
13101
+ * Hosts should treat it as opaque context and keep using runtime commands
13102
+ * rather than deriving edit authority from offsets or DOM positions.
13103
+ */
13104
+ editableTarget?: EditableTargetRef;
12419
13105
  storyTarget?: EditorStoryTarget;
12420
13106
  }
12421
13107
 
@@ -13281,6 +13967,8 @@ type SurfaceInlineSegment = {
13281
13967
  preserveOnlyObject?: SurfacePreserveOnlyObjectSizing;
13282
13968
  /** First-paragraph plain-text preview when `isTextBox` is true. */
13283
13969
  txbxText?: string;
13970
+ /** Modeled text-box body paragraphs/runs projected from canonical `txbxBlocks`. */
13971
+ txbxBody?: SurfaceTextBoxBodySnapshot;
13284
13972
  /** Run-level marks from the first text-box text run, when available. */
13285
13973
  txbxMarks?: SurfaceTextMark[];
13286
13974
  /** Run-level visual attrs from the first text-box text run, when available. */
@@ -13301,7 +13989,43 @@ interface SurfaceTextBoxBodyProperties {
13301
13989
  insetRightEmu?: number;
13302
13990
  insetBottomEmu?: number;
13303
13991
  }
13992
+ type SurfaceTextBoxBodyStatus = "modeled" | "preserve-only" | "unavailable";
13993
+ interface SurfaceTextBoxBodySnapshot {
13994
+ sourceRef?: CanonicalSourceRef;
13995
+ status: SurfaceTextBoxBodyStatus;
13996
+ unavailableReason?: "txbx-blocks-unavailable" | "empty-body" | "unsupported-content";
13997
+ bodyProperties?: SurfaceTextBoxBodyProperties;
13998
+ blockCount: number;
13999
+ paragraphCount: number;
14000
+ unsupportedBlockCount: number;
14001
+ paragraphs: SurfaceTextBoxParagraphSnapshot[];
14002
+ }
14003
+ interface SurfaceTextBoxParagraphSnapshot {
14004
+ sourceRef?: CanonicalSourceRef;
14005
+ blockIndex: number;
14006
+ text: string;
14007
+ textLength: number;
14008
+ borders?: ParagraphBorders;
14009
+ runs: SurfaceTextBoxRunSnapshot[];
14010
+ }
14011
+ interface SurfaceTextBoxRunSnapshot {
14012
+ inlineIndex: number;
14013
+ kind: "text" | "tab" | "hard-break" | "symbol" | "unsupported";
14014
+ text?: string;
14015
+ textLength?: number;
14016
+ marks?: SurfaceTextMark[];
14017
+ markAttrs?: {
14018
+ backgroundColor?: string;
14019
+ charSpacing?: number;
14020
+ kerning?: number;
14021
+ textFill?: string;
14022
+ fontFamily?: string;
14023
+ fontSize?: number;
14024
+ textColor?: string;
14025
+ };
14026
+ }
13304
14027
  interface SurfaceTableCellSnapshot {
14028
+ sourceRef?: CanonicalSourceRef;
13305
14029
  gridSpan: number;
13306
14030
  verticalMerge: "restart" | "continue" | null;
13307
14031
  colspan: number;
@@ -13337,6 +14061,7 @@ interface SurfaceTableCellSnapshot {
13337
14061
  content: SurfaceBlockSnapshot[];
13338
14062
  }
13339
14063
  interface SurfaceTableRowSnapshot {
14064
+ sourceRef?: CanonicalSourceRef;
13340
14065
  cells: SurfaceTableCellSnapshot[];
13341
14066
  gridBefore?: number;
13342
14067
  gridAfter?: number;
@@ -13487,6 +14212,7 @@ type SurfaceBlockSnapshot = {
13487
14212
  from: number;
13488
14213
  to: number;
13489
14214
  styleId?: string;
14215
+ sourceRef?: CanonicalSourceRef;
13490
14216
  gridColumns: number[];
13491
14217
  /**
13492
14218
  * SOW gap G1 — when `tableResolved.widthType === "pct"`, a parallel array
@@ -16433,7 +17159,7 @@ interface WordReviewEditorRef {
16433
17159
  * between the halves; range selections are deleted first. Future slices will
16434
17160
  * add merge-intent + richer caret placement as paste parsers come online.
16435
17161
  */
16436
- insertFragment(fragment: CanonicalDocumentFragment, target?: EditorAnchorProjection): void;
17162
+ insertFragment(fragment: CanonicalDocumentFragment, target?: EditorAnchorProjection, editContext?: RuntimeEditTargetContext): void;
16437
17163
  /**
16438
17164
  * I2 Tier B Slice 4b — serialize `target` (or the current selection) to a
16439
17165
  * `CanonicalDocumentFragment` and store it in the editor's internal
@@ -17485,4 +18211,4 @@ declare class MetadataResolverMissingError extends Error {
17485
18211
  constructor(diagnostic?: EditorDiagnostic);
17486
18212
  }
17487
18213
 
17488
- 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, createSelectionSnapshot 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, mapAnchor as fA, mapPosition as fB, mapRange as fC, normalizeRange as fD, storyTargetsEqual as fE, type CommandStateSnapshot$1 as fF, type CommentEntryRecord as fG, type CommentResolutionRecord as fH, type CommentSidebarSnapshot$1 as fI, type CommentThreadRecord as fJ, type CompatibilityPanelSnapshot$1 as fK, type CreateEditorStateOptions as fL, type DocumentStats$1 as fM, type EditorRuntimeState as fN, type EditorState as fO, type PersistedEditorSnapshot$1 as fP, type ReviewStore as fQ, type RevisionMetadataRecord as fR, type RevisionRecord as fS, type RuntimePhase as fT, type RuntimeRenderSnapshot$1 as fU, type TrackedChangesSnapshot$1 as fV, createDefaultCanonicalDocument as fW, createEditorState as fX, createEmptyCompatibilityReport as fY, createEmptyReviewStore as fZ, createPersistedEditorSnapshot 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, deriveCapabilities as fg, type Assoc as fh, type BoundaryAssoc as fi, DEFAULT_BOUNDARY_ASSOC as fj, type DetachedAnchor as fk, type DocRange as fl, type InternalEditorAnchorProjection as fm, MAIN_STORY_TARGET as fn, type MappingResult as fo, type MappingStep as fp, type NodeAnchor as fq, type Position as fr, type RangeAnchor as fs, anchorUnaffectedByMapping as ft, areAnchorsEqual as fu, createDetachedAnchor as fv, createEmptyMapping as fw, createNodeAnchor as fx, createRangeAnchor as fy, getEffectiveRange as fz, type TransactionMapping as g, type EditableTargetRef as g$, deriveDocumentStats as g0, deriveRenderSnapshot as g1, normalizeCommentThreadRecord as g2, type Alignment as g3, type FormattingMutationResult as g4, type FormattingOperation as g5, type TextMarkClearTarget as g6, type TextMarkRangeOperation as g7, applyFormattingOperationToDocument as g8, applyIndentation as g9, type CreateDocumentRuntimeOptions as gA, type DocumentRuntime as gB, type DocumentRuntimeEvent as gC, type RemoteCommandEnvelope as gD, type Unsubscribe as gE, __buildTocInlineNodes as gF, __collectFontLoaderInputUncached as gG, __fontFamiliesEqual as gH, createDocumentRuntime as gI, getThemeColorResolver as gJ, type ActiveMarginPreset as gK, type ActivePageFormat as gL, type AddScopeParams as gM, type AddScopeResult as gN, CAPABILITY_BY_ID as gO, type CanonicalDocumentFragment as gP, type CapabilityBlockReason as gQ, type CapabilityCategory as gR, type CapabilityKind as gS, type CapabilityShortcut as gT, type ClearHighlightOptions as gU, DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP as gV, DEFAULT_PX_PER_TWIP as gW, type DecorationIndex as gX, type DocumentMode as gY, EMU_PER_INCH as gZ, EMU_PER_PX as g_, applyTextMarkOperationToDocumentRange as ga, getFormattingStateFromRenderSnapshot as gb, isMarkActive as gc, makeSetAlignment as gd, makeSetFontFamily as ge, makeSetFontSize as gf, makeSetHighlight as gg, makeSetTextColor as gh, makeToggleAllCaps as gi, makeToggleBold as gj, makeToggleItalic as gk, makeToggleSmallCaps as gl, makeToggleStrikethrough as gm, makeToggleSubscript as gn, makeToggleSuperscript as go, makeToggleUnderline as gp, type CellLocator as gq, type TableStructureOperation as gr, applyTableStructureOperation as gs, applyTableStructureOperationForEditableTarget as gt, getTableStructureContext as gu, removeCellFromRow as gv, removeTableRowPure as gw, tableStructureActionHandleForTarget as gx, type ActiveStoryTextCommand as gy, type CommandAppliedMeta as gz, type SelectionSnapshot as h, type PublicTableSummary 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 PublicLineBox as hA, type PublicLineRunAnchor as hB, type PublicNoteAllocation as hC, type PublicPageAnchor as hD, type PublicPageFrame as hE, type PublicPageLocalStoryInstance as hF, type PublicPageNode as hG, type PublicPagePaginationTelemetry as hH, type PublicPageRegion as hI, type PublicPageRegions as hJ, type PublicPageSpan as hK, type PublicPaginationTelemetry as hL, type PublicRegionBlock as hM, type PublicRegionKind as hN, type PublicResolvedPageStories as hO, type PublicResolvedParagraphFormatting as hP, type PublicResolvedRunFormatting as hQ, type PublicResolvedStoryField as hR, type PublicSectionNode as hS, type PublicStoryAnchoredObject as hT, type PublicTableBorders as hU, type PublicTableCellBorders as hV, type PublicTableCellMargins as hW, type PublicTableEvent as hX, type PublicTableRenderPlan as hY, type PublicTableRowHeight as hZ, type PublicTableStyle 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 MetadataConflictPolicy as hj, type OverlayKind as hk, type OverlayVisibilityAuthorship as hl, type OverlayVisibilityEnforcement as hm, type OverlayVisibilityPolicy as hn, PERCENTAGE_PARTS as ho, type PageChromeReservations as hp, type PageFieldContext as hq, type PagePreviewMaps as hr, type ProtectionRange as hs, type PublicBlockFragment as ht, type PublicBlockMeasurement as hu, type PublicBorderSpec as hv, type PublicCellLocator as hw, type PublicCellShading as hx, type PublicFieldDirtinessReport as hy, type PublicLayoutDivergence as hz, type PageFormatDefinition as i, type WordReviewEditorCommentsFacet as i$, type PublicTableWidth as i0, type PublicTwipsRect as i1, ROTATION_UNITS_PER_DEGREE as i2, type RenderAnchorIndex as i3, type RenderAnchorQuery as i4, type RenderBlock as i5, type RenderBlockDecoration as i6, type RenderFrame as i7, type RenderFrameQueryOptions as i8, type RenderFrameRect as i9, type ScopeRailSnapshot as iA, type ScopeTagRegistry as iB, type ScopeVisibility as iC, type SearchResultSnapshot as iD, type SecondaryStorySurface as iE, type SemanticScope as iF, type SemanticScopeKind as iG, type SetSelectionOptions as iH, type ShortcutDelegationContext as iI, type StorageReference as iJ, type StoreEmbeddedDocParams as iK, type SupportedFieldFamily as iL, type SurfaceDrawingAnchor as iM, type SurfacePictureEffects as iN, type SurfacePreserveOnlyObjectSizing as iO, type SurfaceTextBoxBodyProperties as iP, TWIPS_PER_PX as iQ, type TableOp as iR, type TableOpResult as iS, type TableOperationCapabilitySnapshot as iT, type TextStyleFilter as iU, type TocRefreshOptions as iV, type TocRefreshResult as iW, type TocRefreshTrigger as iX, type UpdateFieldsOptions as iY, type UpdateFieldsResult as iZ, type WordReviewEditorChangesFacet as i_, type RenderHitResult as ia, type RenderKernelEvent as ib, type RenderLine as ic, type RenderLineAnchor as id, type RenderPage as ie, type RenderPageRegions as ig, type RenderPoint as ih, type RenderStoryRegion as ii, type RenderZoom as ij, type RenderZoomSummary as ik, type ResolveMetadataConflictInput as il, type ResolvedNumberingGeometrySnapshot as im, type ResolvedNumberingSnapshot as io, type RuntimePageNode as ip, SRCRECT_UNITS_PER_PERCENT as iq, type SanitizeResult as ir, type ScopeBundle$1 as is, type ScopeBundleEvidence as it, type ScopeBundleNeighborhood as iu, type ScopeChromeVisibility as iv, type ScopeChromeVisibilityState as iw, type ScopeHandle as ix, type ScopeQueryFilter as iy, type ScopeQueryResult as iz, type SearchOptions as j, type WordReviewEditorDiagnosticsFacet as j0, type WordReviewEditorDocumentFacet as j1, type WordReviewEditorFieldsFacet as j2, type WordReviewEditorPasteEvent as j3, type WordReviewEditorScopesFacet as j4, type WordReviewEditorTablesFacet as j5, type WorkflowEventOrigin as j6, type WorkflowLockedZone as j7, type WorkflowMarkupMode as j8, type WorkflowMarkupModeEnforcement as j9, type WorkflowMarkupModePolicy as ja, type WorkflowScopeGuardPolicy as jb, type WorkflowScopeMetadataField as jc, buildPagePreviewMaps as jd, buildSearchPattern as je, createCanvasBackend as jf, createPublicNodeAnchor as jg, createPublicRangeAnchor as jh, createScopeTagRegistry as ji, estimateBlockHeight as jj, estimateParagraphLineCount as jk, estimateParagraphLineHeight as jl, findPageForOffset as jm, getUsableColumnWidth as jn, resolvePageFieldDisplayText as jo, sanitizeMarkdown as jp, storyTargetKey as jq, 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 };
18214
+ 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 PublicTableSummary 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 PublicLineBox as hA, type PublicLineRunAnchor as hB, type PublicNoteAllocation as hC, type PublicPageAnchor as hD, type PublicPageFrame as hE, type PublicPageLocalStoryInstance as hF, type PublicPageNode as hG, type PublicPagePaginationTelemetry as hH, type PublicPageRegion as hI, type PublicPageRegions as hJ, type PublicPageSpan as hK, type PublicPaginationTelemetry as hL, type PublicRegionBlock as hM, type PublicRegionKind as hN, type PublicResolvedPageStories as hO, type PublicResolvedParagraphFormatting as hP, type PublicResolvedRunFormatting as hQ, type PublicResolvedStoryField as hR, type PublicSectionNode as hS, type PublicStoryAnchoredObject as hT, type PublicTableBorders as hU, type PublicTableCellBorders as hV, type PublicTableCellMargins as hW, type PublicTableEvent as hX, type PublicTableRenderPlan as hY, type PublicTableRowHeight as hZ, type PublicTableStyle 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 MetadataConflictPolicy as hj, type OverlayKind as hk, type OverlayVisibilityAuthorship as hl, type OverlayVisibilityEnforcement as hm, type OverlayVisibilityPolicy as hn, PERCENTAGE_PARTS as ho, type PageChromeReservations as hp, type PageFieldContext as hq, type PagePreviewMaps as hr, type ProtectionRange as hs, type PublicBlockFragment as ht, type PublicBlockMeasurement as hu, type PublicBorderSpec as hv, type PublicCellLocator as hw, type PublicCellShading as hx, type PublicFieldDirtinessReport as hy, type PublicLayoutDivergence as hz, type PageFormatDefinition as i, type TocRefreshResult as i$, type PublicTableWidth as i0, type PublicTwipsRect as i1, ROTATION_UNITS_PER_DEGREE as i2, type RenderAnchorIndex as i3, type RenderAnchorQuery as i4, type RenderBlock as i5, type RenderBlockDecoration as i6, type RenderFrame as i7, type RenderFrameQueryOptions as i8, type RenderFrameRect as i9, type ScopeQueryResult as iA, type ScopeRailSnapshot as iB, type ScopeTagRegistry as iC, type ScopeVisibility as iD, type SearchResultSnapshot as iE, type SecondaryStorySurface as iF, type SemanticScope as iG, type SemanticScopeKind as iH, type SetSelectionOptions as iI, type ShortcutDelegationContext as iJ, type StorageReference as iK, type StoreEmbeddedDocParams as iL, type SupportedFieldFamily as iM, type SurfaceDrawingAnchor as iN, type SurfacePictureEffects as iO, type SurfacePreserveOnlyObjectSizing as iP, type SurfaceTextBoxBodyProperties as iQ, type SurfaceTextBoxBodySnapshot as iR, type SurfaceTextBoxBodyStatus as iS, type SurfaceTextBoxParagraphSnapshot as iT, type SurfaceTextBoxRunSnapshot as iU, TWIPS_PER_PX as iV, type TableOp as iW, type TableOpResult as iX, type TableOperationCapabilitySnapshot as iY, type TextStyleFilter as iZ, type TocRefreshOptions as i_, type RenderHitResult as ia, type RenderKernelEvent as ib, type RenderLine as ic, type RenderLineAnchor as id, type RenderPage as ie, type RenderPageRegions as ig, type RenderPoint as ih, type RenderStoryRegion as ii, type RenderZoom as ij, type RenderZoomSummary as ik, type ResolveMetadataConflictInput as il, type ResolvedNumberingGeometrySnapshot as im, type ResolvedNumberingSnapshot as io, type RuntimeEditTargetContext as ip, type RuntimePageNode as iq, SRCRECT_UNITS_PER_PERCENT as ir, type SanitizeResult as is, type ScopeBundle$1 as it, type ScopeBundleEvidence as iu, type ScopeBundleNeighborhood as iv, type ScopeChromeVisibility as iw, type ScopeChromeVisibilityState as ix, type ScopeHandle as iy, type ScopeQueryFilter as iz, type SearchOptions as j, type TocRefreshTrigger as j0, type UpdateFieldsOptions as j1, type UpdateFieldsResult as j2, type WordReviewEditorChangesFacet as j3, type WordReviewEditorCommentsFacet as j4, type WordReviewEditorDiagnosticsFacet as j5, type WordReviewEditorDocumentFacet as j6, type WordReviewEditorFieldsFacet as j7, type WordReviewEditorPasteEvent as j8, type WordReviewEditorScopesFacet as j9, type WordReviewEditorTablesFacet as ja, type WorkflowEventOrigin as jb, type WorkflowLockedZone as jc, type WorkflowMarkupMode as jd, type WorkflowMarkupModeEnforcement as je, type WorkflowMarkupModePolicy as jf, type WorkflowScopeGuardPolicy as jg, type WorkflowScopeMetadataField as jh, buildPagePreviewMaps as ji, buildSearchPattern as jj, createCanvasBackend as jk, createPublicNodeAnchor as jl, createPublicRangeAnchor as jm, createScopeTagRegistry as jn, estimateBlockHeight as jo, estimateParagraphLineCount as jp, estimateParagraphLineHeight as jq, findPageForOffset as jr, getUsableColumnWidth as js, resolvePageFieldDisplayText as jt, sanitizeMarkdown as ju, storyTargetKey as jv, 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 };