@zeke-02/docx-editor-core 0.1.0
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.
- package/LICENSE +201 -0
- package/README.md +89 -0
- package/dist/ImageExtension-BN327PNe.d.mts +38 -0
- package/dist/ImageExtension-BlI5afZD.d.ts +38 -0
- package/dist/Subscribable-DOz6Ohoo.d.mts +33 -0
- package/dist/Subscribable-DOz6Ohoo.d.ts +33 -0
- package/dist/agent/index.d.mts +168 -0
- package/dist/agent/index.d.ts +168 -0
- package/dist/agent/index.js +1 -0
- package/dist/agent/index.mjs +1 -0
- package/dist/borders-BH_GoYU3.d.mts +58 -0
- package/dist/borders-Z9hPno2u.d.ts +58 -0
- package/dist/chunk-2HFQ4QTU.js +1 -0
- package/dist/chunk-2KHWHVTA.js +1 -0
- package/dist/chunk-2MSZXH6Q.mjs +2 -0
- package/dist/chunk-3COGZG7O.mjs +1 -0
- package/dist/chunk-3NRMSZX2.mjs +1 -0
- package/dist/chunk-3SXJPJSV.mjs +1 -0
- package/dist/chunk-44FHVKSI.js +1 -0
- package/dist/chunk-4BFNWPKW.js +1 -0
- package/dist/chunk-4G6AJ4ZM.js +1 -0
- package/dist/chunk-4GER4JLW.js +1 -0
- package/dist/chunk-4Q2IP5FW.js +1 -0
- package/dist/chunk-56D223FM.mjs +1 -0
- package/dist/chunk-5VBNOHRE.mjs +1 -0
- package/dist/chunk-67LVRQIR.mjs +1 -0
- package/dist/chunk-6LVPRTB6.js +1 -0
- package/dist/chunk-6NQSIC27.mjs +1 -0
- package/dist/chunk-6Y6LON6Y.mjs +1 -0
- package/dist/chunk-6ZXL3EIP.mjs +2 -0
- package/dist/chunk-7AMYZMCX.js +1 -0
- package/dist/chunk-7E5VBRDL.mjs +1 -0
- package/dist/chunk-7HANRHHL.js +1 -0
- package/dist/chunk-7LRR7RKE.mjs +15 -0
- package/dist/chunk-7RDCZLTU.js +1 -0
- package/dist/chunk-7U4I6BKJ.js +1 -0
- package/dist/chunk-7Z2AGPNQ.mjs +10 -0
- package/dist/chunk-AAPBAMD7.js +1 -0
- package/dist/chunk-AGVFAXVQ.mjs +9 -0
- package/dist/chunk-AMENZY5F.mjs +1 -0
- package/dist/chunk-ARHPXIBJ.mjs +1 -0
- package/dist/chunk-BGY3CB37.mjs +1 -0
- package/dist/chunk-BHBOAP6Z.js +3 -0
- package/dist/chunk-BOOHU5EW.mjs +1 -0
- package/dist/chunk-C2BAPYGJ.js +1 -0
- package/dist/chunk-CGJ6S3AH.mjs +1 -0
- package/dist/chunk-CKKO4JWE.mjs +1 -0
- package/dist/chunk-CTHHUJAB.mjs +2 -0
- package/dist/chunk-CUY2THAO.mjs +1 -0
- package/dist/chunk-CXQDYR2Y.js +1 -0
- package/dist/chunk-D4RPOJC7.js +1 -0
- package/dist/chunk-D6GO7UGD.mjs +1 -0
- package/dist/chunk-DC7S76ZX.js +1 -0
- package/dist/chunk-DROCYKAR.js +1 -0
- package/dist/chunk-DV6GWBUJ.js +2 -0
- package/dist/chunk-DZYYLV2O.js +1 -0
- package/dist/chunk-E4JMCA5X.js +2 -0
- package/dist/chunk-ERNVFCGN.js +59 -0
- package/dist/chunk-ESI4BSBF.js +1 -0
- package/dist/chunk-F44ZLDZS.js +4 -0
- package/dist/chunk-FCJWLEKT.mjs +1 -0
- package/dist/chunk-FDEDN2RC.mjs +0 -0
- package/dist/chunk-FRYMBAHP.js +3 -0
- package/dist/chunk-FWTP7BN7.mjs +4 -0
- package/dist/chunk-G3YJ5RKC.mjs +1 -0
- package/dist/chunk-GGPKPXON.js +1 -0
- package/dist/chunk-HKVAW3RE.js +1 -0
- package/dist/chunk-HQPWFUP5.js +2 -0
- package/dist/chunk-I6PMX4BO.js +1 -0
- package/dist/chunk-ILJUDEZ5.mjs +1 -0
- package/dist/chunk-IMKU4O3P.js +1 -0
- package/dist/chunk-IP2VXNWG.js +1 -0
- package/dist/chunk-J4J2Y6EU.js +10 -0
- package/dist/chunk-J7NADDC4.mjs +1 -0
- package/dist/chunk-JFZIXFRC.js +1 -0
- package/dist/chunk-JHZ3HLSR.mjs +1 -0
- package/dist/chunk-JY5EFI4D.js +1 -0
- package/dist/chunk-JZESIPVC.mjs +3 -0
- package/dist/chunk-K7GVLZS6.mjs +1 -0
- package/dist/chunk-KESNGXGO.js +1 -0
- package/dist/chunk-KQTB5Y7P.mjs +1 -0
- package/dist/chunk-L2U3TTAD.js +9 -0
- package/dist/chunk-LBKMYD3M.mjs +1 -0
- package/dist/chunk-LCICADWM.js +2 -0
- package/dist/chunk-LE67NTCN.mjs +1 -0
- package/dist/chunk-LTHT4A4S.js +1 -0
- package/dist/chunk-MCFHOMA2.js +2 -0
- package/dist/chunk-MCX4GVRX.mjs +1 -0
- package/dist/chunk-MJ5FQX7Q.js +1 -0
- package/dist/chunk-MJ6XZFVD.mjs +1 -0
- package/dist/chunk-MNOHUTKE.js +15 -0
- package/dist/chunk-MOKKS75W.mjs +3 -0
- package/dist/chunk-MP4QSEO2.mjs +1 -0
- package/dist/chunk-MVZOTKNL.mjs +1 -0
- package/dist/chunk-MZ7LW5CH.js +1 -0
- package/dist/chunk-MZOVDLYL.js +1 -0
- package/dist/chunk-N3Y5BUKV.js +1 -0
- package/dist/chunk-NBLJPT54.mjs +1 -0
- package/dist/chunk-NDDJ67FQ.mjs +1 -0
- package/dist/chunk-NMUHXIF5.js +1 -0
- package/dist/chunk-NXLJVVVE.js +1 -0
- package/dist/chunk-OBMN4VSM.mjs +1 -0
- package/dist/chunk-OCAX2KJQ.js +4 -0
- package/dist/chunk-OEXVWIHW.mjs +2 -0
- package/dist/chunk-OZMNIX6U.mjs +1 -0
- package/dist/chunk-PRRM64JO.mjs +1 -0
- package/dist/chunk-PXE2OWEA.mjs +1 -0
- package/dist/chunk-Q4CKLXWA.js +1 -0
- package/dist/chunk-Q5QOBZWT.mjs +1 -0
- package/dist/chunk-QJJQ53V6.mjs +1 -0
- package/dist/chunk-QLPQVR5W.mjs +1 -0
- package/dist/chunk-QLX4HX3I.mjs +59 -0
- package/dist/chunk-QPFJJPIC.mjs +1 -0
- package/dist/chunk-QYUPLKLP.mjs +1 -0
- package/dist/chunk-RFC2SXZ6.mjs +4 -0
- package/dist/chunk-RNOXNNSD.mjs +0 -0
- package/dist/chunk-RPIQG46O.mjs +1 -0
- package/dist/chunk-RQN4C636.js +1 -0
- package/dist/chunk-SHJBS42Y.js +1 -0
- package/dist/chunk-SORYYVJ7.js +1 -0
- package/dist/chunk-SWC6T7YQ.js +1 -0
- package/dist/chunk-TE2AF7FM.js +1 -0
- package/dist/chunk-TE2VQJZG.js +1 -0
- package/dist/chunk-TUIEV7Q7.js +1 -0
- package/dist/chunk-U4UCHBZ7.js +1 -0
- package/dist/chunk-U74VPTIU.js +1 -0
- package/dist/chunk-UCJGOQ4J.mjs +1 -0
- package/dist/chunk-UQ6WNWXX.js +1 -0
- package/dist/chunk-VHUVPHPI.mjs +1 -0
- package/dist/chunk-VQWZHPWI.mjs +1 -0
- package/dist/chunk-VW22RZ6C.mjs +1 -0
- package/dist/chunk-WLHNIXWC.mjs +2 -0
- package/dist/chunk-WLKRUBY4.js +1 -0
- package/dist/chunk-WTFLNYAT.mjs +1 -0
- package/dist/chunk-XNDGWWDT.js +1 -0
- package/dist/chunk-XXU7YQVV.js +1 -0
- package/dist/chunk-Y74ANBPV.js +1 -0
- package/dist/chunk-YMZ3F2FZ.mjs +1 -0
- package/dist/chunk-YTDWMXNS.js +1 -0
- package/dist/chunk-YUZQTRI2.js +1 -0
- package/dist/chunk-ZX26QZJ5.mjs +1 -0
- package/dist/chunk-ZY7EMTZ3.mjs +1 -0
- package/dist/colorResolver-BZ_yScf4.d.ts +390 -0
- package/dist/colorResolver-C6DtsoFI.d.mts +390 -0
- package/dist/colors-C3vA7HUU.d.mts +70 -0
- package/dist/colors-C3vA7HUU.d.ts +70 -0
- package/dist/content-5Mrz6w_b.d.mts +1360 -0
- package/dist/content-CmqAwdFL.d.ts +1360 -0
- package/dist/core-plugins.d.mts +63 -0
- package/dist/core-plugins.d.ts +63 -0
- package/dist/core-plugins.js +1 -0
- package/dist/core-plugins.mjs +1 -0
- package/dist/core.d.mts +398 -0
- package/dist/core.d.ts +398 -0
- package/dist/core.js +1 -0
- package/dist/core.mjs +1 -0
- package/dist/documentSerializer-BRaaXIHm.d.ts +36 -0
- package/dist/documentSerializer-DgO3A9av.d.mts +36 -0
- package/dist/docx/index.d.mts +1123 -0
- package/dist/docx/index.d.ts +1123 -0
- package/dist/docx/index.js +1 -0
- package/dist/docx/index.mjs +1 -0
- package/dist/docx/parser.d.mts +108 -0
- package/dist/docx/parser.d.ts +108 -0
- package/dist/docx/parser.js +1 -0
- package/dist/docx/parser.mjs +1 -0
- package/dist/docx/rezip.d.mts +312 -0
- package/dist/docx/rezip.d.ts +312 -0
- package/dist/docx/rezip.js +1 -0
- package/dist/docx/rezip.mjs +1 -0
- package/dist/docx/serializer/index.d.mts +125 -0
- package/dist/docx/serializer/index.d.ts +125 -0
- package/dist/docx/serializer/index.js +1 -0
- package/dist/docx/serializer/index.mjs +1 -0
- package/dist/docx/wrapTypes.d.mts +19 -0
- package/dist/docx/wrapTypes.d.ts +19 -0
- package/dist/docx/wrapTypes.js +1 -0
- package/dist/docx/wrapTypes.mjs +1 -0
- package/dist/docxInput-DTbCa48g.d.mts +21 -0
- package/dist/docxInput-DTbCa48g.d.ts +21 -0
- package/dist/executor-DZAMMQ35.js +1 -0
- package/dist/executor-ZCJRLT3Z.mjs +1 -0
- package/dist/findParagraphByParaId-Maw_8M5D.d.mts +28 -0
- package/dist/findParagraphByParaId-Maw_8M5D.d.ts +28 -0
- package/dist/fontLoader-8b4X-AIh.d.mts +283 -0
- package/dist/fontLoader-CK2QLq68.d.ts +283 -0
- package/dist/footnotes-lCH_P3N3.d.mts +78 -0
- package/dist/footnotes-skVvEHvZ.d.ts +78 -0
- package/dist/formatting-BH4hcZiq.d.mts +410 -0
- package/dist/formatting-_OXU8gLB.d.ts +410 -0
- package/dist/headerFooterLayout-72Vz7yp3.d.mts +292 -0
- package/dist/headerFooterLayout-Ca4ESDHF.d.ts +292 -0
- package/dist/headless.d.mts +109 -0
- package/dist/headless.d.ts +109 -0
- package/dist/headless.js +1 -0
- package/dist/headless.mjs +1 -0
- package/dist/layout-bridge/clickToPositionDom.d.mts +56 -0
- package/dist/layout-bridge/clickToPositionDom.d.ts +56 -0
- package/dist/layout-bridge/clickToPositionDom.js +1 -0
- package/dist/layout-bridge/clickToPositionDom.mjs +1 -0
- package/dist/layout-bridge/index.d.mts +462 -0
- package/dist/layout-bridge/index.d.ts +462 -0
- package/dist/layout-bridge/index.js +1 -0
- package/dist/layout-bridge/index.mjs +1 -0
- package/dist/layout-bridge/measuring/index.d.mts +377 -0
- package/dist/layout-bridge/measuring/index.d.ts +377 -0
- package/dist/layout-bridge/measuring/index.js +1 -0
- package/dist/layout-bridge/measuring/index.mjs +1 -0
- package/dist/layout-bridge/tableInsertHover.d.mts +45 -0
- package/dist/layout-bridge/tableInsertHover.d.ts +45 -0
- package/dist/layout-bridge/tableInsertHover.js +1 -0
- package/dist/layout-bridge/tableInsertHover.mjs +1 -0
- package/dist/layout-bridge/toFlowBlocks.d.mts +130 -0
- package/dist/layout-bridge/toFlowBlocks.d.ts +130 -0
- package/dist/layout-bridge/toFlowBlocks.js +1 -0
- package/dist/layout-bridge/toFlowBlocks.mjs +1 -0
- package/dist/layout-engine/index.d.mts +352 -0
- package/dist/layout-engine/index.d.ts +352 -0
- package/dist/layout-engine/index.js +1 -0
- package/dist/layout-engine/index.mjs +1 -0
- package/dist/layout-engine/types.d.mts +943 -0
- package/dist/layout-engine/types.d.ts +943 -0
- package/dist/layout-engine/types.js +1 -0
- package/dist/layout-engine/types.mjs +1 -0
- package/dist/layout-painter/index.d.mts +22 -0
- package/dist/layout-painter/index.d.ts +22 -0
- package/dist/layout-painter/index.js +1 -0
- package/dist/layout-painter/index.mjs +1 -0
- package/dist/layout-painter/renderPage.d.mts +680 -0
- package/dist/layout-painter/renderPage.d.ts +680 -0
- package/dist/layout-painter/renderPage.js +1 -0
- package/dist/layout-painter/renderPage.mjs +1 -0
- package/dist/managers/AutoSaveManager.d.mts +95 -0
- package/dist/managers/AutoSaveManager.d.ts +95 -0
- package/dist/managers/AutoSaveManager.js +1 -0
- package/dist/managers/AutoSaveManager.mjs +1 -0
- package/dist/managers/TableSelectionManager.d.mts +94 -0
- package/dist/managers/TableSelectionManager.d.ts +94 -0
- package/dist/managers/TableSelectionManager.js +1 -0
- package/dist/managers/TableSelectionManager.mjs +1 -0
- package/dist/managers/types.d.mts +121 -0
- package/dist/managers/types.d.ts +121 -0
- package/dist/managers/types.js +1 -0
- package/dist/managers/types.mjs +0 -0
- package/dist/marks-BY573yZn.d.mts +56 -0
- package/dist/marks-CjC9tF5k.d.ts +56 -0
- package/dist/mcp-cli.mjs +138 -0
- package/dist/mcp.d.mts +183 -0
- package/dist/mcp.d.ts +183 -0
- package/dist/mcp.js +16 -0
- package/dist/mcp.mjs +16 -0
- package/dist/nodes-7753Bgi_.d.mts +320 -0
- package/dist/nodes-CC_nwkT_.d.ts +320 -0
- package/dist/plugin-api/RenderedDomContext.d.mts +74 -0
- package/dist/plugin-api/RenderedDomContext.d.ts +74 -0
- package/dist/plugin-api/RenderedDomContext.js +1 -0
- package/dist/plugin-api/RenderedDomContext.mjs +1 -0
- package/dist/plugin-api/index.d.mts +15 -0
- package/dist/plugin-api/index.d.ts +15 -0
- package/dist/plugin-api/index.js +1 -0
- package/dist/plugin-api/index.mjs +0 -0
- package/dist/plugin-api/resolveItemPositions.d.mts +54 -0
- package/dist/plugin-api/resolveItemPositions.d.ts +54 -0
- package/dist/plugin-api/resolveItemPositions.js +1 -0
- package/dist/plugin-api/resolveItemPositions.mjs +1 -0
- package/dist/plugin-api/types.d.mts +190 -0
- package/dist/plugin-api/types.d.ts +190 -0
- package/dist/plugin-api/types.js +1 -0
- package/dist/plugin-api/types.mjs +0 -0
- package/dist/processTemplate-GPFDLQMX.mjs +1 -0
- package/dist/processTemplate-HH2E3HBO.js +1 -0
- package/dist/prosemirror/commands/formatting.d.mts +100 -0
- package/dist/prosemirror/commands/formatting.d.ts +100 -0
- package/dist/prosemirror/commands/formatting.js +1 -0
- package/dist/prosemirror/commands/formatting.mjs +1 -0
- package/dist/prosemirror/commands/index.d.mts +188 -0
- package/dist/prosemirror/commands/index.d.ts +188 -0
- package/dist/prosemirror/commands/index.js +1 -0
- package/dist/prosemirror/commands/index.mjs +1 -0
- package/dist/prosemirror/commands/pageBreak.d.mts +20 -0
- package/dist/prosemirror/commands/pageBreak.d.ts +20 -0
- package/dist/prosemirror/commands/pageBreak.js +1 -0
- package/dist/prosemirror/commands/pageBreak.mjs +1 -0
- package/dist/prosemirror/commands/paragraph.d.mts +70 -0
- package/dist/prosemirror/commands/paragraph.d.ts +70 -0
- package/dist/prosemirror/commands/paragraph.js +1 -0
- package/dist/prosemirror/commands/paragraph.mjs +1 -0
- package/dist/prosemirror/conversion/fromProseDoc.d.mts +65 -0
- package/dist/prosemirror/conversion/fromProseDoc.d.ts +65 -0
- package/dist/prosemirror/conversion/fromProseDoc.js +1 -0
- package/dist/prosemirror/conversion/fromProseDoc.mjs +1 -0
- package/dist/prosemirror/conversion/index.d.mts +85 -0
- package/dist/prosemirror/conversion/index.d.ts +85 -0
- package/dist/prosemirror/conversion/index.js +1 -0
- package/dist/prosemirror/conversion/index.mjs +1 -0
- package/dist/prosemirror/editor.css +823 -0
- package/dist/prosemirror/extensions/index.d.mts +79 -0
- package/dist/prosemirror/extensions/index.d.ts +79 -0
- package/dist/prosemirror/extensions/index.js +1 -0
- package/dist/prosemirror/extensions/index.mjs +1 -0
- package/dist/prosemirror/extensions/nodes/TableExtension.d.mts +30 -0
- package/dist/prosemirror/extensions/nodes/TableExtension.d.ts +30 -0
- package/dist/prosemirror/extensions/nodes/TableExtension.js +1 -0
- package/dist/prosemirror/extensions/nodes/TableExtension.mjs +1 -0
- package/dist/prosemirror/index.d.mts +70 -0
- package/dist/prosemirror/index.d.ts +70 -0
- package/dist/prosemirror/index.js +1 -0
- package/dist/prosemirror/index.mjs +1 -0
- package/dist/prosemirror/plugins/index.d.mts +154 -0
- package/dist/prosemirror/plugins/index.d.ts +154 -0
- package/dist/prosemirror/plugins/index.js +1 -0
- package/dist/prosemirror/plugins/index.mjs +1 -0
- package/dist/prosemirror/plugins/selectionTracker.d.mts +78 -0
- package/dist/prosemirror/plugins/selectionTracker.d.ts +78 -0
- package/dist/prosemirror/plugins/selectionTracker.js +1 -0
- package/dist/prosemirror/plugins/selectionTracker.mjs +1 -0
- package/dist/prosemirror/schema/index.d.mts +29 -0
- package/dist/prosemirror/schema/index.d.ts +29 -0
- package/dist/prosemirror/schema/index.js +1 -0
- package/dist/prosemirror/schema/index.mjs +1 -0
- package/dist/prosemirror/styles/index.d.mts +124 -0
- package/dist/prosemirror/styles/index.d.ts +124 -0
- package/dist/prosemirror/styles/index.js +1 -0
- package/dist/prosemirror/styles/index.mjs +1 -0
- package/dist/prosemirror/template/prosemirror-plugin.d.mts +66 -0
- package/dist/prosemirror/template/prosemirror-plugin.d.ts +66 -0
- package/dist/prosemirror/template/prosemirror-plugin.js +15 -0
- package/dist/prosemirror/template/prosemirror-plugin.mjs +15 -0
- package/dist/prosemirror/utils/ClickPositionResolver.d.mts +109 -0
- package/dist/prosemirror/utils/ClickPositionResolver.d.ts +109 -0
- package/dist/prosemirror/utils/ClickPositionResolver.js +1 -0
- package/dist/prosemirror/utils/ClickPositionResolver.mjs +1 -0
- package/dist/prosemirror/utils/LayoutSelectionGate.d.mts +81 -0
- package/dist/prosemirror/utils/LayoutSelectionGate.d.ts +81 -0
- package/dist/prosemirror/utils/LayoutSelectionGate.js +1 -0
- package/dist/prosemirror/utils/LayoutSelectionGate.mjs +1 -0
- package/dist/prosemirror/utils/PointerEventHandler.d.mts +94 -0
- package/dist/prosemirror/utils/PointerEventHandler.d.ts +94 -0
- package/dist/prosemirror/utils/PointerEventHandler.js +1 -0
- package/dist/prosemirror/utils/PointerEventHandler.mjs +1 -0
- package/dist/prosemirror/utils/extractTrackedChanges.d.mts +85 -0
- package/dist/prosemirror/utils/extractTrackedChanges.d.ts +85 -0
- package/dist/prosemirror/utils/extractTrackedChanges.js +1 -0
- package/dist/prosemirror/utils/extractTrackedChanges.mjs +1 -0
- package/dist/prosemirror/utils/visualLineNavigation.d.mts +45 -0
- package/dist/prosemirror/utils/visualLineNavigation.d.ts +45 -0
- package/dist/prosemirror/utils/visualLineNavigation.js +1 -0
- package/dist/prosemirror/utils/visualLineNavigation.mjs +1 -0
- package/dist/registry-Cpyybgij.d.mts +165 -0
- package/dist/registry-E5pahPKL.d.ts +165 -0
- package/dist/selectionContext-BPAqgNgk.d.ts +570 -0
- package/dist/selectionContext-CoZat7QZ.d.mts +570 -0
- package/dist/selectiveSave-CWaPEv0B.d.ts +31 -0
- package/dist/selectiveSave-jinP_4xa.d.mts +31 -0
- package/dist/selectiveXmlPatch-ypkxlTD_.d.mts +23 -0
- package/dist/selectiveXmlPatch-ypkxlTD_.d.ts +23 -0
- package/dist/styles-BBv7doYK.d.ts +233 -0
- package/dist/styles-EI2lxeEN.d.mts +233 -0
- package/dist/table-P8esKWAc.d.ts +82 -0
- package/dist/table-_t_W8oQf.d.mts +82 -0
- package/dist/types/agentApi.d.mts +467 -0
- package/dist/types/agentApi.d.ts +467 -0
- package/dist/types/agentApi.js +1 -0
- package/dist/types/agentApi.mjs +1 -0
- package/dist/types/content.d.mts +18 -0
- package/dist/types/content.d.ts +18 -0
- package/dist/types/content.js +1 -0
- package/dist/types/content.mjs +0 -0
- package/dist/types/document.d.mts +123 -0
- package/dist/types/document.d.ts +123 -0
- package/dist/types/document.js +1 -0
- package/dist/types/document.mjs +0 -0
- package/dist/types-DXG7vqe9.d.ts +311 -0
- package/dist/types-RchZmPFN.d.mts +137 -0
- package/dist/types-RchZmPFN.d.ts +137 -0
- package/dist/types-dYdjUZMo.d.mts +311 -0
- package/dist/utils/cardStyles.d.mts +31 -0
- package/dist/utils/cardStyles.d.ts +31 -0
- package/dist/utils/cardStyles.js +1 -0
- package/dist/utils/cardStyles.mjs +1 -0
- package/dist/utils/comments.d.mts +121 -0
- package/dist/utils/comments.d.ts +121 -0
- package/dist/utils/comments.js +1 -0
- package/dist/utils/comments.mjs +1 -0
- package/dist/utils/findReplace.d.mts +114 -0
- package/dist/utils/findReplace.d.ts +114 -0
- package/dist/utils/findReplace.js +2 -0
- package/dist/utils/findReplace.mjs +2 -0
- package/dist/utils/findVerticalScrollParent.d.mts +25 -0
- package/dist/utils/findVerticalScrollParent.d.ts +25 -0
- package/dist/utils/findVerticalScrollParent.js +1 -0
- package/dist/utils/findVerticalScrollParent.mjs +1 -0
- package/dist/utils/fontOptions.d.mts +21 -0
- package/dist/utils/fontOptions.d.ts +21 -0
- package/dist/utils/fontOptions.js +1 -0
- package/dist/utils/fontOptions.mjs +1 -0
- package/dist/utils/headingCollector.d.mts +32 -0
- package/dist/utils/headingCollector.d.ts +32 -0
- package/dist/utils/headingCollector.js +1 -0
- package/dist/utils/headingCollector.mjs +1 -0
- package/dist/utils/highlightColors.d.mts +14 -0
- package/dist/utils/highlightColors.d.ts +14 -0
- package/dist/utils/highlightColors.js +1 -0
- package/dist/utils/highlightColors.mjs +1 -0
- package/dist/utils/index.d.mts +710 -0
- package/dist/utils/index.d.ts +710 -0
- package/dist/utils/index.js +82 -0
- package/dist/utils/index.mjs +82 -0
- package/dist/utils/listState.d.mts +27 -0
- package/dist/utils/listState.d.ts +27 -0
- package/dist/utils/listState.js +1 -0
- package/dist/utils/listState.mjs +1 -0
- package/dist/utils/reportIssue.d.mts +23 -0
- package/dist/utils/reportIssue.d.ts +23 -0
- package/dist/utils/reportIssue.js +2 -0
- package/dist/utils/reportIssue.mjs +2 -0
- package/dist/utils/sidebarConstants.d.mts +10 -0
- package/dist/utils/sidebarConstants.d.ts +10 -0
- package/dist/utils/sidebarConstants.js +1 -0
- package/dist/utils/sidebarConstants.mjs +1 -0
- package/dist/utils/textSelection.d.mts +92 -0
- package/dist/utils/textSelection.d.ts +92 -0
- package/dist/utils/textSelection.js +1 -0
- package/dist/utils/textSelection.mjs +1 -0
- package/dist/utils/units.d.mts +91 -0
- package/dist/utils/units.d.ts +91 -0
- package/dist/utils/units.js +1 -0
- package/dist/utils/units.mjs +1 -0
- package/dist/variableDetector-DF3-nxUC.d.mts +115 -0
- package/dist/variableDetector-sBkgVh3f.d.ts +115 -0
- package/package.json +565 -0
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent API Types
|
|
3
|
+
*
|
|
4
|
+
* TypeScript interfaces for the agent API:
|
|
5
|
+
* - Position and Range types
|
|
6
|
+
* - Command types for document manipulation
|
|
7
|
+
* - Context types for AI agents
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
import { T as TextFormatting, P as ParagraphFormatting } from '../formatting-BH4hcZiq.mjs';
|
|
12
|
+
import '../colors-C3vA7HUU.mjs';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Agent API Types
|
|
16
|
+
*
|
|
17
|
+
* TypeScript interfaces for the agent API:
|
|
18
|
+
* - Position and Range types
|
|
19
|
+
* - Command types for document manipulation
|
|
20
|
+
* - Context types for AI agents
|
|
21
|
+
* @packageDocumentation
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Position within a document
|
|
27
|
+
*/
|
|
28
|
+
interface Position {
|
|
29
|
+
/** Index of the paragraph (0-indexed) */
|
|
30
|
+
paragraphIndex: number;
|
|
31
|
+
/** Offset within the paragraph in characters */
|
|
32
|
+
offset: number;
|
|
33
|
+
/** Optional: Content index within paragraph (run, hyperlink, etc.) */
|
|
34
|
+
contentIndex?: number;
|
|
35
|
+
/** Optional: Section index */
|
|
36
|
+
sectionIndex?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Range within a document
|
|
40
|
+
*/
|
|
41
|
+
interface Range {
|
|
42
|
+
/** Start position */
|
|
43
|
+
start: Position;
|
|
44
|
+
/** End position */
|
|
45
|
+
end: Position;
|
|
46
|
+
/** Whether the range is collapsed (cursor position) */
|
|
47
|
+
collapsed?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Create a collapsed range (cursor) at a position
|
|
51
|
+
*/
|
|
52
|
+
declare function createCollapsedRange(position: Position): Range;
|
|
53
|
+
/**
|
|
54
|
+
* Create a range from two positions
|
|
55
|
+
*/
|
|
56
|
+
declare function createRange(start: Position, end: Position): Range;
|
|
57
|
+
/**
|
|
58
|
+
* Check if a position is within a range
|
|
59
|
+
*/
|
|
60
|
+
declare function isPositionInRange(position: Position, range: Range): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Compare two positions
|
|
63
|
+
* Returns: -1 if a < b, 0 if equal, 1 if a > b
|
|
64
|
+
*/
|
|
65
|
+
declare function comparePositions(a: Position, b: Position): -1 | 0 | 1;
|
|
66
|
+
/**
|
|
67
|
+
* Base command interface
|
|
68
|
+
*/
|
|
69
|
+
interface BaseCommand {
|
|
70
|
+
/** Command type */
|
|
71
|
+
type: string;
|
|
72
|
+
/** Unique command ID (for undo tracking) */
|
|
73
|
+
id?: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Insert text at a position
|
|
77
|
+
*/
|
|
78
|
+
interface InsertTextCommand extends BaseCommand {
|
|
79
|
+
type: 'insertText';
|
|
80
|
+
/** Position to insert at */
|
|
81
|
+
position: Position;
|
|
82
|
+
/** Text to insert */
|
|
83
|
+
text: string;
|
|
84
|
+
/** Optional formatting for the inserted text */
|
|
85
|
+
formatting?: TextFormatting;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Replace text in a range
|
|
89
|
+
*/
|
|
90
|
+
interface ReplaceTextCommand extends BaseCommand {
|
|
91
|
+
type: 'replaceText';
|
|
92
|
+
/** Range to replace */
|
|
93
|
+
range: Range;
|
|
94
|
+
/** Replacement text */
|
|
95
|
+
text: string;
|
|
96
|
+
/** Optional formatting for the new text */
|
|
97
|
+
formatting?: TextFormatting;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Delete text in a range
|
|
101
|
+
*/
|
|
102
|
+
interface DeleteTextCommand extends BaseCommand {
|
|
103
|
+
type: 'deleteText';
|
|
104
|
+
/** Range to delete */
|
|
105
|
+
range: Range;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Apply formatting to a range
|
|
109
|
+
*/
|
|
110
|
+
interface FormatTextCommand extends BaseCommand {
|
|
111
|
+
type: 'formatText';
|
|
112
|
+
/** Range to format */
|
|
113
|
+
range: Range;
|
|
114
|
+
/** Formatting to apply */
|
|
115
|
+
formatting: Partial<TextFormatting>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Apply paragraph formatting
|
|
119
|
+
*/
|
|
120
|
+
interface FormatParagraphCommand extends BaseCommand {
|
|
121
|
+
type: 'formatParagraph';
|
|
122
|
+
/** Paragraph index */
|
|
123
|
+
paragraphIndex: number;
|
|
124
|
+
/** Formatting to apply */
|
|
125
|
+
formatting: Partial<ParagraphFormatting>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Apply a named style to a paragraph
|
|
129
|
+
*/
|
|
130
|
+
interface ApplyStyleCommand extends BaseCommand {
|
|
131
|
+
type: 'applyStyle';
|
|
132
|
+
/** Paragraph index */
|
|
133
|
+
paragraphIndex: number;
|
|
134
|
+
/** Style ID to apply */
|
|
135
|
+
styleId: string;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Insert a table at a position
|
|
139
|
+
*/
|
|
140
|
+
interface InsertTableCommand extends BaseCommand {
|
|
141
|
+
type: 'insertTable';
|
|
142
|
+
/** Position to insert at */
|
|
143
|
+
position: Position;
|
|
144
|
+
/** Number of rows */
|
|
145
|
+
rows: number;
|
|
146
|
+
/** Number of columns */
|
|
147
|
+
columns: number;
|
|
148
|
+
/** Optional table data */
|
|
149
|
+
data?: string[][];
|
|
150
|
+
/** Optional header row */
|
|
151
|
+
hasHeader?: boolean;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Insert an image at a position
|
|
155
|
+
*/
|
|
156
|
+
interface InsertImageCommand extends BaseCommand {
|
|
157
|
+
type: 'insertImage';
|
|
158
|
+
/** Position to insert at */
|
|
159
|
+
position: Position;
|
|
160
|
+
/** Image source (base64 or URL) */
|
|
161
|
+
src: string;
|
|
162
|
+
/** Image width in pixels */
|
|
163
|
+
width?: number;
|
|
164
|
+
/** Image height in pixels */
|
|
165
|
+
height?: number;
|
|
166
|
+
/** Alt text */
|
|
167
|
+
alt?: string;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Insert a hyperlink at a range
|
|
171
|
+
*/
|
|
172
|
+
interface InsertHyperlinkCommand extends BaseCommand {
|
|
173
|
+
type: 'insertHyperlink';
|
|
174
|
+
/** Range to make into a hyperlink */
|
|
175
|
+
range: Range;
|
|
176
|
+
/** URL of the hyperlink */
|
|
177
|
+
url: string;
|
|
178
|
+
/** Display text (replaces range text if provided) */
|
|
179
|
+
displayText?: string;
|
|
180
|
+
/** Tooltip */
|
|
181
|
+
tooltip?: string;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Remove a hyperlink but keep the text
|
|
185
|
+
*/
|
|
186
|
+
interface RemoveHyperlinkCommand extends BaseCommand {
|
|
187
|
+
type: 'removeHyperlink';
|
|
188
|
+
/** Range containing the hyperlink */
|
|
189
|
+
range: Range;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Insert a paragraph break
|
|
193
|
+
*/
|
|
194
|
+
interface InsertParagraphBreakCommand extends BaseCommand {
|
|
195
|
+
type: 'insertParagraphBreak';
|
|
196
|
+
/** Position to break at */
|
|
197
|
+
position: Position;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Merge paragraphs
|
|
201
|
+
*/
|
|
202
|
+
interface MergeParagraphsCommand extends BaseCommand {
|
|
203
|
+
type: 'mergeParagraphs';
|
|
204
|
+
/** First paragraph index */
|
|
205
|
+
paragraphIndex: number;
|
|
206
|
+
/** Number of paragraphs to merge with */
|
|
207
|
+
count: number;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Split a paragraph
|
|
211
|
+
*/
|
|
212
|
+
interface SplitParagraphCommand extends BaseCommand {
|
|
213
|
+
type: 'splitParagraph';
|
|
214
|
+
/** Position to split at */
|
|
215
|
+
position: Position;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Set template variable value
|
|
219
|
+
*/
|
|
220
|
+
interface SetVariableCommand extends BaseCommand {
|
|
221
|
+
type: 'setVariable';
|
|
222
|
+
/** Variable name */
|
|
223
|
+
name: string;
|
|
224
|
+
/** Variable value */
|
|
225
|
+
value: string;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Apply all template variables
|
|
229
|
+
*/
|
|
230
|
+
interface ApplyVariablesCommand extends BaseCommand {
|
|
231
|
+
type: 'applyVariables';
|
|
232
|
+
/** Variable values */
|
|
233
|
+
values: Record<string, string>;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Union of all command types
|
|
237
|
+
*/
|
|
238
|
+
type AgentCommand = InsertTextCommand | ReplaceTextCommand | DeleteTextCommand | FormatTextCommand | FormatParagraphCommand | ApplyStyleCommand | InsertTableCommand | InsertImageCommand | InsertHyperlinkCommand | RemoveHyperlinkCommand | InsertParagraphBreakCommand | MergeParagraphsCommand | SplitParagraphCommand | SetVariableCommand | ApplyVariablesCommand;
|
|
239
|
+
/**
|
|
240
|
+
* Get command type
|
|
241
|
+
*/
|
|
242
|
+
type CommandType = AgentCommand['type'];
|
|
243
|
+
/**
|
|
244
|
+
* Document context for AI agents
|
|
245
|
+
*/
|
|
246
|
+
interface AgentContext {
|
|
247
|
+
/** Total paragraph count */
|
|
248
|
+
paragraphCount: number;
|
|
249
|
+
/** Total word count (approximate) */
|
|
250
|
+
wordCount: number;
|
|
251
|
+
/** Total character count */
|
|
252
|
+
characterCount: number;
|
|
253
|
+
/** Detected template variables */
|
|
254
|
+
variables: string[];
|
|
255
|
+
/** Variable count */
|
|
256
|
+
variableCount: number;
|
|
257
|
+
/** Available styles */
|
|
258
|
+
availableStyles: StyleInfo[];
|
|
259
|
+
/** Content outline (first N chars per paragraph) */
|
|
260
|
+
outline: ParagraphOutline[];
|
|
261
|
+
/** Document sections info */
|
|
262
|
+
sections: SectionInfo[];
|
|
263
|
+
/** Has tables */
|
|
264
|
+
hasTables: boolean;
|
|
265
|
+
/** Has images */
|
|
266
|
+
hasImages: boolean;
|
|
267
|
+
/** Has hyperlinks */
|
|
268
|
+
hasHyperlinks: boolean;
|
|
269
|
+
/** Document language */
|
|
270
|
+
language?: string;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Style information for context
|
|
274
|
+
*/
|
|
275
|
+
interface StyleInfo {
|
|
276
|
+
/** Style ID */
|
|
277
|
+
id: string;
|
|
278
|
+
/** Display name */
|
|
279
|
+
name: string;
|
|
280
|
+
/** Style type */
|
|
281
|
+
type: 'paragraph' | 'character' | 'table';
|
|
282
|
+
/** Is built-in style */
|
|
283
|
+
builtIn?: boolean;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Paragraph outline for context
|
|
287
|
+
*/
|
|
288
|
+
interface ParagraphOutline {
|
|
289
|
+
/** Paragraph index */
|
|
290
|
+
index: number;
|
|
291
|
+
/** First N characters */
|
|
292
|
+
preview: string;
|
|
293
|
+
/** Paragraph style */
|
|
294
|
+
style?: string;
|
|
295
|
+
/** Is heading */
|
|
296
|
+
isHeading?: boolean;
|
|
297
|
+
/** Heading level (1-9) */
|
|
298
|
+
headingLevel?: number;
|
|
299
|
+
/** Is list item */
|
|
300
|
+
isListItem?: boolean;
|
|
301
|
+
/** Is empty paragraph */
|
|
302
|
+
isEmpty?: boolean;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Section information
|
|
306
|
+
*/
|
|
307
|
+
interface SectionInfo {
|
|
308
|
+
/** Section index */
|
|
309
|
+
index: number;
|
|
310
|
+
/** Number of paragraphs */
|
|
311
|
+
paragraphCount: number;
|
|
312
|
+
/** Page size */
|
|
313
|
+
pageSize?: {
|
|
314
|
+
width: number;
|
|
315
|
+
height: number;
|
|
316
|
+
};
|
|
317
|
+
/** Is landscape */
|
|
318
|
+
isLandscape?: boolean;
|
|
319
|
+
/** Has header */
|
|
320
|
+
hasHeader?: boolean;
|
|
321
|
+
/** Has footer */
|
|
322
|
+
hasFooter?: boolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Context about the current selection
|
|
326
|
+
*/
|
|
327
|
+
interface SelectionContext {
|
|
328
|
+
/** Selected text */
|
|
329
|
+
selectedText: string;
|
|
330
|
+
/** Selection range */
|
|
331
|
+
range: Range;
|
|
332
|
+
/** Current formatting of selection */
|
|
333
|
+
formatting: Partial<TextFormatting>;
|
|
334
|
+
/** Current paragraph formatting */
|
|
335
|
+
paragraphFormatting: Partial<ParagraphFormatting>;
|
|
336
|
+
/** Text before selection (context) */
|
|
337
|
+
textBefore: string;
|
|
338
|
+
/** Text after selection (context) */
|
|
339
|
+
textAfter: string;
|
|
340
|
+
/** Paragraph containing selection */
|
|
341
|
+
paragraph: ParagraphContext;
|
|
342
|
+
/** Is selection within a table */
|
|
343
|
+
inTable?: boolean;
|
|
344
|
+
/** Is selection within a hyperlink */
|
|
345
|
+
inHyperlink?: boolean;
|
|
346
|
+
/** Suggested actions based on selection */
|
|
347
|
+
suggestedActions?: SuggestedAction[];
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Paragraph context for selection
|
|
351
|
+
*/
|
|
352
|
+
interface ParagraphContext {
|
|
353
|
+
/** Paragraph index */
|
|
354
|
+
index: number;
|
|
355
|
+
/** Full paragraph text */
|
|
356
|
+
fullText: string;
|
|
357
|
+
/** Paragraph style */
|
|
358
|
+
style?: string;
|
|
359
|
+
/** Word count */
|
|
360
|
+
wordCount: number;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Suggested action for context menu
|
|
364
|
+
*/
|
|
365
|
+
interface SuggestedAction {
|
|
366
|
+
/** Action ID */
|
|
367
|
+
id: string;
|
|
368
|
+
/** Display label */
|
|
369
|
+
label: string;
|
|
370
|
+
/** Description */
|
|
371
|
+
description?: string;
|
|
372
|
+
/** Icon name */
|
|
373
|
+
icon?: string;
|
|
374
|
+
/** Priority (higher = more prominent) */
|
|
375
|
+
priority?: number;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Response from an agent action
|
|
379
|
+
*/
|
|
380
|
+
interface AgentResponse {
|
|
381
|
+
/** Success status */
|
|
382
|
+
success: boolean;
|
|
383
|
+
/** New text to insert (for rewrite/expand/etc.) */
|
|
384
|
+
newText?: string;
|
|
385
|
+
/** New formatted content */
|
|
386
|
+
newContent?: AgentContent[];
|
|
387
|
+
/** Commands to execute */
|
|
388
|
+
commands?: AgentCommand[];
|
|
389
|
+
/** Error message if failed */
|
|
390
|
+
error?: string;
|
|
391
|
+
/** Warning messages */
|
|
392
|
+
warnings?: string[];
|
|
393
|
+
/** Metadata about the response */
|
|
394
|
+
metadata?: Record<string, unknown>;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Content block in agent response
|
|
398
|
+
*/
|
|
399
|
+
interface AgentContent {
|
|
400
|
+
/** Content type */
|
|
401
|
+
type: 'text' | 'paragraph' | 'table' | 'image';
|
|
402
|
+
/** Text content */
|
|
403
|
+
text?: string;
|
|
404
|
+
/** Formatting */
|
|
405
|
+
formatting?: Partial<TextFormatting>;
|
|
406
|
+
/** Paragraph formatting */
|
|
407
|
+
paragraphFormatting?: Partial<ParagraphFormatting>;
|
|
408
|
+
/** Table data (for table type) */
|
|
409
|
+
tableData?: string[][];
|
|
410
|
+
/** Image src (for image type) */
|
|
411
|
+
imageSrc?: string;
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* AI action types for context menu
|
|
415
|
+
*/
|
|
416
|
+
type AIAction = 'askAI' | 'rewrite' | 'expand' | 'summarize' | 'translate' | 'explain' | 'fixGrammar' | 'makeFormal' | 'makeCasual' | 'custom';
|
|
417
|
+
/**
|
|
418
|
+
* AI action request
|
|
419
|
+
*/
|
|
420
|
+
interface AIActionRequest {
|
|
421
|
+
/** Action type */
|
|
422
|
+
action: AIAction;
|
|
423
|
+
/** Selection context */
|
|
424
|
+
context: SelectionContext;
|
|
425
|
+
/** Custom prompt (for 'custom' action) */
|
|
426
|
+
customPrompt?: string;
|
|
427
|
+
/** Target language (for 'translate' action) */
|
|
428
|
+
targetLanguage?: string;
|
|
429
|
+
/** Additional options */
|
|
430
|
+
options?: Record<string, unknown>;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Get action label
|
|
434
|
+
*/
|
|
435
|
+
declare function getActionLabel(action: AIAction): string;
|
|
436
|
+
/**
|
|
437
|
+
* Get action description
|
|
438
|
+
*/
|
|
439
|
+
declare function getActionDescription(action: AIAction): string;
|
|
440
|
+
/**
|
|
441
|
+
* Default AI actions for context menu
|
|
442
|
+
*/
|
|
443
|
+
declare const DEFAULT_AI_ACTIONS: AIAction[];
|
|
444
|
+
/**
|
|
445
|
+
* Command handler function type
|
|
446
|
+
*/
|
|
447
|
+
type CommandHandler<T extends AgentCommand = AgentCommand> = (command: T) => Promise<boolean>;
|
|
448
|
+
/**
|
|
449
|
+
* AI request handler function type
|
|
450
|
+
*/
|
|
451
|
+
type AIRequestHandler = (request: AIActionRequest) => Promise<AgentResponse>;
|
|
452
|
+
/**
|
|
453
|
+
* Create a command with generated ID
|
|
454
|
+
*/
|
|
455
|
+
declare function createCommand<T extends AgentCommand>(command: Omit<T, 'id'>): T;
|
|
456
|
+
declare const _default: {
|
|
457
|
+
createCollapsedRange: typeof createCollapsedRange;
|
|
458
|
+
createRange: typeof createRange;
|
|
459
|
+
isPositionInRange: typeof isPositionInRange;
|
|
460
|
+
comparePositions: typeof comparePositions;
|
|
461
|
+
getActionLabel: typeof getActionLabel;
|
|
462
|
+
getActionDescription: typeof getActionDescription;
|
|
463
|
+
createCommand: typeof createCommand;
|
|
464
|
+
DEFAULT_AI_ACTIONS: AIAction[];
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
export { type AIAction, type AIActionRequest, type AIRequestHandler, type AgentCommand, type AgentContent, type AgentContext, type AgentResponse, type ApplyStyleCommand, type ApplyVariablesCommand, type BaseCommand, type CommandHandler, type CommandType, DEFAULT_AI_ACTIONS, type DeleteTextCommand, type FormatParagraphCommand, type FormatTextCommand, type InsertHyperlinkCommand, type InsertImageCommand, type InsertParagraphBreakCommand, type InsertTableCommand, type InsertTextCommand, type MergeParagraphsCommand, type ParagraphContext, type ParagraphOutline, type Position, type Range, type RemoveHyperlinkCommand, type ReplaceTextCommand, type SectionInfo, type SelectionContext, type SetVariableCommand, type SplitParagraphCommand, type StyleInfo, type SuggestedAction, comparePositions, createCollapsedRange, createCommand, createRange, _default as default, getActionDescription, getActionLabel, isPositionInRange };
|