@excalidraw/excalidraw 0.18.0-b9d27d3 → 0.18.0-c158187

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 (518) hide show
  1. package/dist/dev/{chunk-WWDIUJ2Q.js → chunk-5A4X24JB.js} +277 -456
  2. package/dist/dev/chunk-5A4X24JB.js.map +7 -0
  3. package/dist/dev/{chunk-FB2NA5UG.js → chunk-6JJSWC4C.js} +1 -1
  4. package/dist/dev/{chunk-FB2NA5UG.js.map → chunk-6JJSWC4C.js.map} +2 -2
  5. package/dist/dev/chunk-DJHLEOOZ.js +69 -0
  6. package/dist/dev/chunk-DJHLEOOZ.js.map +7 -0
  7. package/dist/dev/{chunk-QF5FRM6O.js → chunk-OCFTI2BU.js} +49 -26
  8. package/dist/dev/chunk-OCFTI2BU.js.map +7 -0
  9. package/dist/dev/data/{image-VTYIFRQE.js → image-Q6JHR7OE.js} +2 -2
  10. package/dist/dev/index.css +1042 -602
  11. package/dist/dev/index.css.map +3 -3
  12. package/dist/dev/index.js +10053 -7628
  13. package/dist/dev/index.js.map +4 -4
  14. package/dist/dev/locales/{ar-SA-XORAP2EK.js → ar-SA-JK5MQ7TT.js} +300 -142
  15. package/dist/dev/locales/ar-SA-JK5MQ7TT.js.map +7 -0
  16. package/dist/dev/locales/{az-AZ-NAUU3Z4Y.js → az-AZ-2PAD62G4.js} +241 -83
  17. package/dist/dev/locales/az-AZ-2PAD62G4.js.map +7 -0
  18. package/dist/dev/locales/{bg-BG-AAABLFCY.js → bg-BG-HUKVYCRK.js} +229 -71
  19. package/dist/dev/locales/bg-BG-HUKVYCRK.js.map +7 -0
  20. package/dist/dev/locales/{bn-BD-PM4AC5WG.js → bn-BD-V2CQI46P.js} +209 -51
  21. package/dist/dev/locales/bn-BD-V2CQI46P.js.map +7 -0
  22. package/dist/dev/locales/bn-IN-MBEO4C3J.js +744 -0
  23. package/dist/dev/locales/bn-IN-MBEO4C3J.js.map +7 -0
  24. package/dist/dev/locales/{ca-ES-YNNMFRQX.js → ca-ES-KWEKW4C3.js} +275 -117
  25. package/dist/dev/locales/ca-ES-KWEKW4C3.js.map +7 -0
  26. package/dist/dev/locales/{cs-CZ-DGZA5IKG.js → cs-CZ-W5AHZB5H.js} +229 -71
  27. package/dist/dev/locales/cs-CZ-W5AHZB5H.js.map +7 -0
  28. package/dist/dev/locales/{da-DK-N76F4QAJ.js → da-DK-ITTM6YM4.js} +298 -140
  29. package/dist/dev/locales/da-DK-ITTM6YM4.js.map +7 -0
  30. package/dist/dev/locales/de-CH-OAWPDQFJ.js +744 -0
  31. package/dist/dev/locales/de-CH-OAWPDQFJ.js.map +7 -0
  32. package/dist/dev/locales/{de-DE-DMRXZ2SZ.js → de-DE-ZRDYEPMS.js} +199 -41
  33. package/dist/dev/locales/de-DE-ZRDYEPMS.js.map +7 -0
  34. package/dist/dev/locales/{el-GR-HIKPLEXI.js → el-GR-QXASZLPE.js} +274 -116
  35. package/dist/dev/locales/el-GR-QXASZLPE.js.map +7 -0
  36. package/dist/dev/locales/{en-SMAPCEOQ.js → en-MLZIHOCR.js} +4 -2
  37. package/dist/dev/locales/{es-ES-AQYVXC32.js → es-ES-VLQBB7FJ.js} +212 -54
  38. package/dist/dev/locales/es-ES-VLQBB7FJ.js.map +7 -0
  39. package/dist/dev/locales/{eu-ES-3TOEU5DE.js → eu-ES-TF2DGTZU.js} +210 -52
  40. package/dist/dev/locales/eu-ES-TF2DGTZU.js.map +7 -0
  41. package/dist/dev/locales/{fa-IR-527GAKUP.js → fa-IR-ITKFQ7QV.js} +286 -128
  42. package/dist/dev/locales/fa-IR-ITKFQ7QV.js.map +7 -0
  43. package/dist/dev/locales/{fi-FI-M3WLVDFP.js → fi-FI-UWZRVXFI.js} +240 -82
  44. package/dist/dev/locales/fi-FI-UWZRVXFI.js.map +7 -0
  45. package/dist/dev/locales/{fr-FR-YE4VDJFI.js → fr-FR-A72LKGCO.js} +203 -45
  46. package/dist/dev/locales/fr-FR-A72LKGCO.js.map +7 -0
  47. package/dist/dev/locales/{gl-ES-KMXUYGUN.js → gl-ES-2QCVIBFP.js} +212 -54
  48. package/dist/dev/locales/gl-ES-2QCVIBFP.js.map +7 -0
  49. package/dist/dev/locales/he-IL-WJNUHU26.js +744 -0
  50. package/dist/dev/locales/he-IL-WJNUHU26.js.map +7 -0
  51. package/dist/dev/locales/hi-IN-XGMO235V.js +744 -0
  52. package/dist/dev/locales/hi-IN-XGMO235V.js.map +7 -0
  53. package/dist/dev/locales/{hu-HU-VIYZI3X4.js → hu-HU-37FDQFIS.js} +238 -80
  54. package/dist/dev/locales/hu-HU-37FDQFIS.js.map +7 -0
  55. package/dist/dev/locales/{id-ID-22TWZNLA.js → id-ID-EJIDCO4E.js} +245 -87
  56. package/dist/dev/locales/id-ID-EJIDCO4E.js.map +7 -0
  57. package/dist/dev/locales/{it-IT-MDEQ2SG3.js → it-IT-X34PIOJ2.js} +202 -44
  58. package/dist/dev/locales/it-IT-X34PIOJ2.js.map +7 -0
  59. package/dist/dev/locales/{ja-JP-K2DI4W6B.js → ja-JP-37FC23PR.js} +247 -89
  60. package/dist/dev/locales/ja-JP-37FC23PR.js.map +7 -0
  61. package/dist/dev/locales/{kaa-6BPSNM3R.js → kaa-7ZYDFVKA.js} +202 -44
  62. package/dist/dev/locales/kaa-7ZYDFVKA.js.map +7 -0
  63. package/dist/dev/locales/{kab-KAB-2S7ZURK7.js → kab-KAB-MILWXBA6.js} +210 -52
  64. package/dist/dev/locales/kab-KAB-MILWXBA6.js.map +7 -0
  65. package/dist/dev/locales/{kk-KZ-UJPYGRQQ.js → kk-KZ-7BWTPIAV.js} +175 -17
  66. package/dist/dev/locales/kk-KZ-7BWTPIAV.js.map +7 -0
  67. package/dist/dev/locales/{km-KH-M5T5JKUE.js → km-KH-BV4P2KSZ.js} +198 -40
  68. package/dist/dev/locales/km-KH-BV4P2KSZ.js.map +7 -0
  69. package/dist/dev/locales/{ko-KR-RQX37SNF.js → ko-KR-TSXE5P7B.js} +218 -60
  70. package/dist/dev/locales/ko-KR-TSXE5P7B.js.map +7 -0
  71. package/dist/dev/locales/{ku-TR-5XJDIERL.js → ku-TR-ASSXNN3U.js} +198 -40
  72. package/dist/dev/locales/ku-TR-ASSXNN3U.js.map +7 -0
  73. package/dist/dev/locales/{lt-LT-MGUBX6CA.js → lt-LT-G7RZYQQU.js} +179 -21
  74. package/dist/dev/locales/lt-LT-G7RZYQQU.js.map +7 -0
  75. package/dist/dev/locales/{lv-LV-MD7N5VHD.js → lv-LV-DXNPBJZU.js} +196 -38
  76. package/dist/dev/locales/lv-LV-DXNPBJZU.js.map +7 -0
  77. package/dist/dev/locales/{mr-IN-4XWMNGQC.js → mr-IN-7F2ZCTCF.js} +204 -46
  78. package/dist/dev/locales/mr-IN-7F2ZCTCF.js.map +7 -0
  79. package/dist/dev/locales/{my-MM-O4Z74GN5.js → my-MM-NBI3KQGW.js} +181 -23
  80. package/dist/dev/locales/my-MM-NBI3KQGW.js.map +7 -0
  81. package/dist/dev/locales/{nb-NO-BMB73KRH.js → nb-NO-4DCTQT6L.js} +220 -62
  82. package/dist/dev/locales/nb-NO-4DCTQT6L.js.map +7 -0
  83. package/dist/dev/locales/{nl-NL-F2257BLQ.js → nl-NL-XGZJ7V2V.js} +297 -139
  84. package/dist/dev/locales/nl-NL-XGZJ7V2V.js.map +7 -0
  85. package/dist/dev/locales/{nn-NO-NCORG7TS.js → nn-NO-FR534JV5.js} +201 -43
  86. package/dist/dev/locales/nn-NO-FR534JV5.js.map +7 -0
  87. package/dist/dev/locales/{oc-FR-ATFBDMF6.js → oc-FR-YQCIKZIK.js} +220 -62
  88. package/dist/dev/locales/oc-FR-YQCIKZIK.js.map +7 -0
  89. package/dist/dev/locales/{pa-IN-D2I375G4.js → pa-IN-UM43JGD2.js} +190 -32
  90. package/dist/dev/locales/pa-IN-UM43JGD2.js.map +7 -0
  91. package/dist/dev/locales/{percentages-YKFLWNK2.js → percentages-OGWD7R2K.js} +2 -2
  92. package/dist/dev/locales/{pl-PL-YJHOWAAW.js → pl-PL-2UGKA6HK.js} +214 -56
  93. package/dist/dev/locales/pl-PL-2UGKA6HK.js.map +7 -0
  94. package/dist/dev/locales/{pt-BR-APOPYZJ7.js → pt-BR-H23QFYE3.js} +237 -79
  95. package/dist/dev/locales/pt-BR-H23QFYE3.js.map +7 -0
  96. package/dist/dev/locales/pt-PT-RHKJH5I5.js +744 -0
  97. package/dist/dev/locales/pt-PT-RHKJH5I5.js.map +7 -0
  98. package/dist/dev/locales/{ro-RO-L575VRQA.js → ro-RO-IIFONL3T.js} +203 -45
  99. package/dist/dev/locales/ro-RO-IIFONL3T.js.map +7 -0
  100. package/dist/dev/locales/{ru-RU-BLG6HZG5.js → ru-RU-QEP6D7GK.js} +253 -95
  101. package/dist/dev/locales/ru-RU-QEP6D7GK.js.map +7 -0
  102. package/dist/dev/locales/si-LK-LZYJQLHF.js +744 -0
  103. package/dist/dev/locales/si-LK-LZYJQLHF.js.map +7 -0
  104. package/dist/dev/locales/{sk-SK-DY6IPO5U.js → sk-SK-RWC6UWGY.js} +200 -42
  105. package/dist/dev/locales/sk-SK-RWC6UWGY.js.map +7 -0
  106. package/dist/dev/locales/{sl-SI-5DZSRA47.js → sl-SI-QJT2CAUO.js} +197 -39
  107. package/dist/dev/locales/sl-SI-QJT2CAUO.js.map +7 -0
  108. package/dist/dev/locales/{sv-SE-V32YHALQ.js → sv-SE-3MAT3NDX.js} +202 -44
  109. package/dist/dev/locales/sv-SE-3MAT3NDX.js.map +7 -0
  110. package/dist/dev/locales/{ta-IN-5JRAGQAO.js → ta-IN-J7XOYF2T.js} +257 -99
  111. package/dist/dev/locales/ta-IN-J7XOYF2T.js.map +7 -0
  112. package/dist/dev/locales/{th-TH-55ACRHDJ.js → th-TH-2OI52EOQ.js} +289 -131
  113. package/dist/dev/locales/th-TH-2OI52EOQ.js.map +7 -0
  114. package/dist/dev/locales/{tr-TR-7QYBXDBO.js → tr-TR-G7TAUHUI.js} +257 -99
  115. package/dist/dev/locales/tr-TR-G7TAUHUI.js.map +7 -0
  116. package/dist/dev/locales/{uk-UA-TJS2TMRH.js → uk-UA-IVSVBJIG.js} +229 -71
  117. package/dist/dev/locales/uk-UA-IVSVBJIG.js.map +7 -0
  118. package/dist/dev/locales/{si-LK-KT7GGO6D.js → uz-UZ-KCVDUVDE.js} +212 -54
  119. package/dist/dev/locales/uz-UZ-KCVDUVDE.js.map +7 -0
  120. package/dist/dev/locales/vi-VN-KBZAVWP5.js +744 -0
  121. package/dist/dev/locales/vi-VN-KBZAVWP5.js.map +7 -0
  122. package/dist/dev/locales/{zh-CN-4MXUOFTH.js → zh-CN-IS26RG2D.js} +199 -41
  123. package/dist/dev/locales/zh-CN-IS26RG2D.js.map +7 -0
  124. package/dist/dev/locales/{zh-HK-RBTGIU3U.js → zh-HK-KBWQ6SJC.js} +175 -17
  125. package/dist/dev/locales/zh-HK-KBWQ6SJC.js.map +7 -0
  126. package/dist/dev/locales/{zh-TW-U5VF4CCU.js → zh-TW-JKJWJQ4J.js} +204 -46
  127. package/dist/dev/locales/zh-TW-JKJWJQ4J.js.map +7 -0
  128. package/dist/dev/subset-shared.chunk.js +1 -1
  129. package/dist/dev/subset-worker.chunk.js +1 -1
  130. package/dist/prod/chunk-AJI3LATG.js +1 -0
  131. package/dist/prod/chunk-QNG5NH6R.js +12 -0
  132. package/dist/prod/chunk-TIFXQFVB.js +4 -0
  133. package/dist/prod/{chunk-LS7FJGPW.js → chunk-Z5NKEFVG.js} +8 -8
  134. package/dist/prod/data/{image-YQ6UXXDA.js → image-OPZV5J37.js} +1 -1
  135. package/dist/prod/index.css +1 -1
  136. package/dist/prod/index.js +26 -26
  137. package/dist/prod/locales/ar-SA-IYHKZRSE.js +8 -0
  138. package/dist/prod/locales/az-AZ-WL5GYRHK.js +1 -0
  139. package/dist/prod/locales/bg-BG-FXZYTRPD.js +5 -0
  140. package/dist/prod/locales/bn-BD-KO6YL5G2.js +3 -0
  141. package/dist/prod/locales/bn-IN-PC6JHKYB.js +3 -0
  142. package/dist/prod/locales/ca-ES-AREX5NEO.js +8 -0
  143. package/dist/prod/locales/cs-CZ-HXAZMFYH.js +7 -0
  144. package/dist/prod/locales/da-DK-5X7ZLFU3.js +2 -0
  145. package/dist/prod/locales/de-CH-76ZNVSOF.js +7 -0
  146. package/dist/prod/locales/de-DE-G3JVZ4MQ.js +7 -0
  147. package/dist/prod/locales/el-GR-4AZTZGY6.js +7 -0
  148. package/dist/prod/locales/en-BARVNJLJ.js +1 -0
  149. package/dist/prod/locales/es-ES-ART7BI3G.js +7 -0
  150. package/dist/prod/locales/eu-ES-BIF4XBMT.js +7 -0
  151. package/dist/prod/locales/fa-IR-D4HHKAAI.js +9 -0
  152. package/dist/prod/locales/fi-FI-O35ZY7UI.js +6 -0
  153. package/dist/prod/locales/fr-FR-XEFNCM4I.js +12 -0
  154. package/dist/prod/locales/gl-ES-U4NYM3X5.js +6 -0
  155. package/dist/prod/locales/he-IL-656ABAVQ.js +8 -0
  156. package/dist/prod/locales/hi-IN-Z55GAFFR.js +3 -0
  157. package/dist/prod/locales/hu-HU-UJ62DVIW.js +3 -0
  158. package/dist/prod/locales/id-ID-FLZFU3OO.js +8 -0
  159. package/dist/prod/locales/it-IT-GIGIGIBJ.js +12 -0
  160. package/dist/prod/locales/ja-JP-43VXGDWI.js +7 -0
  161. package/dist/prod/locales/kaa-L3IMSDYL.js +1 -0
  162. package/dist/prod/locales/kab-KAB-XKPWJLNL.js +4 -0
  163. package/dist/prod/locales/kk-KZ-SXPDDY2H.js +1 -0
  164. package/dist/prod/locales/km-KH-DOS4CPGC.js +7 -0
  165. package/dist/prod/locales/ko-KR-BGC6VCY4.js +5 -0
  166. package/dist/prod/locales/ku-TR-J7IUITIA.js +6 -0
  167. package/dist/prod/locales/lt-LT-AC3LV5KG.js +3 -0
  168. package/dist/prod/locales/lv-LV-I6AY7QG2.js +4 -0
  169. package/dist/prod/locales/mr-IN-5SP4HV5B.js +9 -0
  170. package/dist/prod/locales/my-MM-S7ECRBYZ.js +1 -0
  171. package/dist/prod/locales/nb-NO-6PNHTF4R.js +8 -0
  172. package/dist/prod/locales/nl-NL-R4C4SUIG.js +13 -0
  173. package/dist/prod/locales/nn-NO-3TFXTM7Y.js +4 -0
  174. package/dist/prod/locales/oc-FR-IK6GIE7H.js +4 -0
  175. package/dist/prod/locales/pa-IN-YAKHYJET.js +4 -0
  176. package/dist/prod/locales/percentages-OL6W367U.js +1 -0
  177. package/dist/prod/locales/pl-PL-BIY22ZWU.js +12 -0
  178. package/dist/prod/locales/pt-BR-Q23NUPD6.js +6 -0
  179. package/dist/prod/locales/pt-PT-LOPEJLPJ.js +8 -0
  180. package/dist/prod/locales/ro-RO-W3D2ZATV.js +12 -0
  181. package/dist/prod/locales/ru-RU-DCTW7QSH.js +10 -0
  182. package/dist/prod/locales/si-LK-FYRRHO3C.js +1 -0
  183. package/dist/prod/locales/sk-SK-MC7UOHQO.js +7 -0
  184. package/dist/prod/locales/sl-SI-L6B6HFY5.js +6 -0
  185. package/dist/prod/locales/sv-SE-KMY6L2BA.js +8 -0
  186. package/dist/prod/locales/ta-IN-ZQCYE2JK.js +6 -0
  187. package/dist/prod/locales/th-TH-WS7ECBAV.js +1 -0
  188. package/dist/prod/locales/tr-TR-S5FI7JRW.js +4 -0
  189. package/dist/prod/locales/uk-UA-4EZUWUSQ.js +6 -0
  190. package/dist/prod/locales/uz-UZ-OKHL6AFA.js +1 -0
  191. package/dist/prod/locales/vi-VN-K34TWHF7.js +7 -0
  192. package/dist/prod/locales/zh-CN-JE4UZWNO.js +11 -0
  193. package/dist/prod/locales/zh-HK-RM35YDXX.js +1 -0
  194. package/dist/prod/locales/zh-TW-ONGLV6Y5.js +9 -0
  195. package/dist/prod/subset-shared.chunk.js +1 -1
  196. package/dist/prod/subset-worker.chunk.js +1 -1
  197. package/dist/types/common/src/bounds.d.ts +10 -0
  198. package/dist/types/common/src/colors.d.ts +5 -2
  199. package/dist/types/common/src/constants.d.ts +22 -24
  200. package/dist/types/common/src/editorInterface.d.ts +34 -0
  201. package/dist/types/common/src/font-metadata.d.ts +1 -3
  202. package/dist/types/common/src/index.d.ts +3 -0
  203. package/dist/types/common/src/keys.d.ts +1 -1
  204. package/dist/types/common/src/utility-types.d.ts +0 -1
  205. package/dist/types/common/src/utils.d.ts +49 -33
  206. package/dist/types/common/src/visualdebug.d.ts +41 -0
  207. package/dist/types/element/src/Scene.d.ts +3 -3
  208. package/dist/types/element/src/binding.d.ts +58 -44
  209. package/dist/types/element/src/bounds.d.ts +2 -10
  210. package/dist/types/element/src/collision.d.ts +6 -2
  211. package/dist/types/element/src/comparisons.d.ts +7 -7
  212. package/dist/types/element/src/dragElements.d.ts +3 -3
  213. package/dist/types/element/src/duplicate.d.ts +3 -3
  214. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  215. package/dist/types/element/src/frame.d.ts +5 -1
  216. package/dist/types/element/src/heading.d.ts +2 -1
  217. package/dist/types/element/src/image.d.ts +1 -11
  218. package/dist/types/element/src/index.d.ts +1 -3
  219. package/dist/types/element/src/linearElementEditor.d.ts +16 -20
  220. package/dist/types/element/src/mutateElement.d.ts +3 -1
  221. package/dist/types/element/src/newElement.d.ts +6 -6
  222. package/dist/types/element/src/renderElement.d.ts +4 -7
  223. package/dist/types/element/src/resizeElements.d.ts +10 -10
  224. package/dist/types/element/src/resizeTest.d.ts +6 -5
  225. package/dist/types/element/src/selection.d.ts +3 -7
  226. package/dist/types/element/src/shape.d.ts +8 -7
  227. package/dist/types/element/src/textMeasurements.d.ts +1 -3
  228. package/dist/types/{excalidraw/data → element/src}/transform.d.ts +3 -3
  229. package/dist/types/element/src/transformHandles.d.ts +8 -27
  230. package/dist/types/element/src/typeChecks.d.ts +4 -7
  231. package/dist/types/element/src/types.d.ts +7 -11
  232. package/dist/types/element/src/utils.d.ts +5 -2
  233. package/dist/types/element/src/zindex.d.ts +7 -1
  234. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +93 -136
  235. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -7
  236. package/dist/types/excalidraw/actions/actionBoundText.d.ts +67 -96
  237. package/dist/types/excalidraw/actions/actionCanvas.d.ts +401 -771
  238. package/dist/types/excalidraw/actions/actionClipboard.d.ts +86 -856
  239. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +32 -47
  240. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +107 -156
  241. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  242. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -3
  243. package/dist/types/excalidraw/actions/actionElementLink.d.ts +28 -45
  244. package/dist/types/excalidraw/actions/actionElementLock.d.ts +66 -95
  245. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +33 -48
  246. package/dist/types/excalidraw/actions/actionExport.d.ts +144 -1104
  247. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -394
  248. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -3
  249. package/dist/types/excalidraw/actions/actionFrame.d.ts +213 -308
  250. package/dist/types/excalidraw/actions/actionGroup.d.ts +70 -107
  251. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +123 -178
  252. package/dist/types/excalidraw/actions/actionLink.d.ts +30 -45
  253. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -410
  254. package/dist/types/excalidraw/actions/actionNavigate.d.ts +18 -359
  255. package/dist/types/excalidraw/actions/actionProperties.d.ts +129 -2488
  256. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +35 -54
  257. package/dist/types/excalidraw/actions/actionStyles.d.ts +32 -47
  258. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  259. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +32 -47
  260. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +32 -47
  261. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -42
  262. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  263. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +32 -47
  264. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +32 -47
  265. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +33 -48
  266. package/dist/types/excalidraw/actions/actionZindex.d.ts +2 -3
  267. package/dist/types/excalidraw/actions/index.d.ts +2 -2
  268. package/dist/types/excalidraw/actions/register.d.ts +2 -2
  269. package/dist/types/excalidraw/actions/types.d.ts +4 -4
  270. package/dist/types/excalidraw/appState.d.ts +12 -7
  271. package/dist/types/excalidraw/clipboard.d.ts +7 -29
  272. package/dist/types/excalidraw/components/Actions.d.ts +22 -5
  273. package/dist/types/excalidraw/components/App.d.ts +58 -59
  274. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +1 -1
  275. package/dist/types/excalidraw/components/Card.d.ts +0 -1
  276. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +7 -4
  277. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
  278. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  279. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  280. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  281. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  282. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  283. package/dist/types/excalidraw/components/CommandPalette/types.d.ts +1 -3
  284. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  285. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  286. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +9 -13
  287. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  288. package/dist/types/excalidraw/components/Ellipsify.d.ts +1 -2
  289. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  290. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -2
  291. package/dist/types/excalidraw/components/EyeDropper.d.ts +0 -1
  292. package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
  293. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  294. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  295. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +0 -1
  296. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -1
  297. package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
  298. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  299. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  300. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
  301. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -2
  302. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  303. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -3
  304. package/dist/types/excalidraw/components/LinkButton.d.ts +4 -0
  305. package/dist/types/excalidraw/components/LoadingMessage.d.ts +0 -1
  306. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  307. package/dist/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  308. package/dist/types/excalidraw/components/Modal.d.ts +0 -1
  309. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +1 -1
  310. package/dist/types/excalidraw/components/Popover.d.ts +2 -1
  311. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  312. package/dist/types/excalidraw/components/RadioGroup.d.ts +0 -1
  313. package/dist/types/excalidraw/components/RadioSelection.d.ts +4 -4
  314. package/dist/types/excalidraw/components/ScrollableList.d.ts +0 -1
  315. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +15 -21
  316. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -1
  317. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -2
  318. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -2
  319. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -2
  320. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -2
  321. package/dist/types/excalidraw/components/Spinner.d.ts +4 -4
  322. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +0 -1
  323. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +0 -1
  324. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +0 -1
  325. package/dist/types/excalidraw/components/Stats/index.d.ts +7 -8
  326. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  327. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -2
  328. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +0 -1
  329. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -2
  330. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -2
  331. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -2
  332. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -3
  333. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +2 -3
  334. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  335. package/dist/types/excalidraw/components/Toast.d.ts +3 -3
  336. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  337. package/dist/types/excalidraw/components/Trans.d.ts +2 -2
  338. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +6 -3
  339. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +30 -32
  340. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +6 -5
  341. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +3 -3
  342. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +10 -18
  343. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +3 -3
  344. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -1
  345. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -2
  346. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +6 -6
  347. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -4
  348. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  349. package/dist/types/excalidraw/components/hoc/withInternalFallback.d.ts +1 -1
  350. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +1 -1
  351. package/dist/types/excalidraw/components/icons.d.ts +21 -11
  352. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +4 -3
  353. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -2
  354. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +25 -30
  355. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +6 -6
  356. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -16
  357. package/dist/types/excalidraw/data/blob.d.ts +323 -5
  358. package/dist/types/excalidraw/data/encode.d.ts +4 -4
  359. package/dist/types/excalidraw/data/encryption.d.ts +5 -5
  360. package/dist/types/excalidraw/data/filesystem.d.ts +2 -2
  361. package/dist/types/excalidraw/data/index.d.ts +3 -3
  362. package/dist/types/excalidraw/data/json.d.ts +159 -2
  363. package/dist/types/excalidraw/data/library.d.ts +24 -9
  364. package/dist/types/excalidraw/data/restore.d.ts +25 -10
  365. package/dist/types/excalidraw/data/types.d.ts +4 -1
  366. package/dist/types/excalidraw/editor-jotai.d.ts +11 -11
  367. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  368. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +4 -3
  369. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -2
  370. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  371. package/dist/types/excalidraw/i18n.d.ts +2 -2
  372. package/dist/types/excalidraw/index.d.ts +4 -7
  373. package/dist/types/excalidraw/renderer/animation.d.ts +12 -0
  374. package/dist/types/excalidraw/renderer/helpers.d.ts +6 -8
  375. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +8 -14
  376. package/dist/types/excalidraw/scene/Renderer.d.ts +5 -2
  377. package/dist/types/excalidraw/scene/export.d.ts +2 -2
  378. package/dist/types/excalidraw/scene/scroll.d.ts +1 -6
  379. package/dist/types/excalidraw/scene/types.d.ts +22 -5
  380. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  381. package/dist/types/excalidraw/snapping.d.ts +5 -5
  382. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +1 -1
  383. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +1 -1
  384. package/dist/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +1 -1
  385. package/dist/types/excalidraw/subset/woff2/woff2-loader.d.ts +2 -2
  386. package/dist/types/excalidraw/subset/woff2/woff2-wasm.d.ts +1 -1
  387. package/dist/types/excalidraw/types.d.ts +31 -21
  388. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +2 -2
  389. package/dist/types/math/src/polygon.d.ts +2 -2
  390. package/dist/types/math/src/range.d.ts +1 -3
  391. package/dist/types/math/src/segment.d.ts +4 -3
  392. package/dist/types/utils/src/bbox.d.ts +1 -1
  393. package/dist/types/utils/src/export.d.ts +5 -5
  394. package/dist/types/utils/src/shape.d.ts +6 -6
  395. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  396. package/package.json +6 -6
  397. package/dist/dev/chunk-MFAYKRVR.js +0 -66
  398. package/dist/dev/chunk-MFAYKRVR.js.map +0 -7
  399. package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
  400. package/dist/dev/chunk-WWDIUJ2Q.js.map +0 -7
  401. package/dist/dev/locales/ar-SA-XORAP2EK.js.map +0 -7
  402. package/dist/dev/locales/az-AZ-NAUU3Z4Y.js.map +0 -7
  403. package/dist/dev/locales/bg-BG-AAABLFCY.js.map +0 -7
  404. package/dist/dev/locales/bn-BD-PM4AC5WG.js.map +0 -7
  405. package/dist/dev/locales/ca-ES-YNNMFRQX.js.map +0 -7
  406. package/dist/dev/locales/cs-CZ-DGZA5IKG.js.map +0 -7
  407. package/dist/dev/locales/da-DK-N76F4QAJ.js.map +0 -7
  408. package/dist/dev/locales/de-DE-DMRXZ2SZ.js.map +0 -7
  409. package/dist/dev/locales/el-GR-HIKPLEXI.js.map +0 -7
  410. package/dist/dev/locales/es-ES-AQYVXC32.js.map +0 -7
  411. package/dist/dev/locales/eu-ES-3TOEU5DE.js.map +0 -7
  412. package/dist/dev/locales/fa-IR-527GAKUP.js.map +0 -7
  413. package/dist/dev/locales/fi-FI-M3WLVDFP.js.map +0 -7
  414. package/dist/dev/locales/fr-FR-YE4VDJFI.js.map +0 -7
  415. package/dist/dev/locales/gl-ES-KMXUYGUN.js.map +0 -7
  416. package/dist/dev/locales/he-IL-4MU5N22B.js +0 -586
  417. package/dist/dev/locales/he-IL-4MU5N22B.js.map +0 -7
  418. package/dist/dev/locales/hi-IN-ZHZNZWFC.js +0 -586
  419. package/dist/dev/locales/hi-IN-ZHZNZWFC.js.map +0 -7
  420. package/dist/dev/locales/hu-HU-VIYZI3X4.js.map +0 -7
  421. package/dist/dev/locales/id-ID-22TWZNLA.js.map +0 -7
  422. package/dist/dev/locales/it-IT-MDEQ2SG3.js.map +0 -7
  423. package/dist/dev/locales/ja-JP-K2DI4W6B.js.map +0 -7
  424. package/dist/dev/locales/kaa-6BPSNM3R.js.map +0 -7
  425. package/dist/dev/locales/kab-KAB-2S7ZURK7.js.map +0 -7
  426. package/dist/dev/locales/kk-KZ-UJPYGRQQ.js.map +0 -7
  427. package/dist/dev/locales/km-KH-M5T5JKUE.js.map +0 -7
  428. package/dist/dev/locales/ko-KR-RQX37SNF.js.map +0 -7
  429. package/dist/dev/locales/ku-TR-5XJDIERL.js.map +0 -7
  430. package/dist/dev/locales/lt-LT-MGUBX6CA.js.map +0 -7
  431. package/dist/dev/locales/lv-LV-MD7N5VHD.js.map +0 -7
  432. package/dist/dev/locales/mr-IN-4XWMNGQC.js.map +0 -7
  433. package/dist/dev/locales/my-MM-O4Z74GN5.js.map +0 -7
  434. package/dist/dev/locales/nb-NO-BMB73KRH.js.map +0 -7
  435. package/dist/dev/locales/nl-NL-F2257BLQ.js.map +0 -7
  436. package/dist/dev/locales/nn-NO-NCORG7TS.js.map +0 -7
  437. package/dist/dev/locales/oc-FR-ATFBDMF6.js.map +0 -7
  438. package/dist/dev/locales/pa-IN-D2I375G4.js.map +0 -7
  439. package/dist/dev/locales/pl-PL-YJHOWAAW.js.map +0 -7
  440. package/dist/dev/locales/pt-BR-APOPYZJ7.js.map +0 -7
  441. package/dist/dev/locales/pt-PT-W56WCN7P.js +0 -586
  442. package/dist/dev/locales/pt-PT-W56WCN7P.js.map +0 -7
  443. package/dist/dev/locales/ro-RO-L575VRQA.js.map +0 -7
  444. package/dist/dev/locales/ru-RU-BLG6HZG5.js.map +0 -7
  445. package/dist/dev/locales/si-LK-KT7GGO6D.js.map +0 -7
  446. package/dist/dev/locales/sk-SK-DY6IPO5U.js.map +0 -7
  447. package/dist/dev/locales/sl-SI-5DZSRA47.js.map +0 -7
  448. package/dist/dev/locales/sv-SE-V32YHALQ.js.map +0 -7
  449. package/dist/dev/locales/ta-IN-5JRAGQAO.js.map +0 -7
  450. package/dist/dev/locales/th-TH-55ACRHDJ.js.map +0 -7
  451. package/dist/dev/locales/tr-TR-7QYBXDBO.js.map +0 -7
  452. package/dist/dev/locales/uk-UA-TJS2TMRH.js.map +0 -7
  453. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js +0 -586
  454. package/dist/dev/locales/vi-VN-Y5CQ2EKQ.js.map +0 -7
  455. package/dist/dev/locales/zh-CN-4MXUOFTH.js.map +0 -7
  456. package/dist/dev/locales/zh-HK-RBTGIU3U.js.map +0 -7
  457. package/dist/dev/locales/zh-TW-U5VF4CCU.js.map +0 -7
  458. package/dist/prod/chunk-I4UNSFV6.js +0 -12
  459. package/dist/prod/chunk-VTWWEYSQ.js +0 -4
  460. package/dist/prod/chunk-Z3N5DIM6.js +0 -1
  461. package/dist/prod/locales/ar-SA-G6X2FPQ2.js +0 -10
  462. package/dist/prod/locales/az-AZ-76LH7QW2.js +0 -1
  463. package/dist/prod/locales/bg-BG-XCXSNQG7.js +0 -5
  464. package/dist/prod/locales/bn-BD-2XOGV67Q.js +0 -5
  465. package/dist/prod/locales/ca-ES-6MX7JW3Y.js +0 -8
  466. package/dist/prod/locales/cs-CZ-2BRQDIVT.js +0 -11
  467. package/dist/prod/locales/da-DK-5WZEPLOC.js +0 -5
  468. package/dist/prod/locales/de-DE-XR44H4JA.js +0 -8
  469. package/dist/prod/locales/el-GR-BZB4AONW.js +0 -10
  470. package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
  471. package/dist/prod/locales/es-ES-U4NZUMDT.js +0 -9
  472. package/dist/prod/locales/eu-ES-A7QVB2H4.js +0 -11
  473. package/dist/prod/locales/fa-IR-HGAKTJCU.js +0 -8
  474. package/dist/prod/locales/fi-FI-Z5N7JZ37.js +0 -6
  475. package/dist/prod/locales/fr-FR-RHASNOE6.js +0 -9
  476. package/dist/prod/locales/gl-ES-HMX3MZ6V.js +0 -10
  477. package/dist/prod/locales/he-IL-6SHJWFNN.js +0 -10
  478. package/dist/prod/locales/hi-IN-IWLTKZ5I.js +0 -4
  479. package/dist/prod/locales/hu-HU-A5ZG7DT2.js +0 -7
  480. package/dist/prod/locales/id-ID-SAP4L64H.js +0 -10
  481. package/dist/prod/locales/it-IT-JPQ66NNP.js +0 -11
  482. package/dist/prod/locales/ja-JP-DBVTYXUO.js +0 -8
  483. package/dist/prod/locales/kaa-6HZHGXH3.js +0 -1
  484. package/dist/prod/locales/kab-KAB-ZGHBKWFO.js +0 -8
  485. package/dist/prod/locales/kk-KZ-P5N5QNE5.js +0 -1
  486. package/dist/prod/locales/km-KH-HSX4SM5Z.js +0 -11
  487. package/dist/prod/locales/ko-KR-MTYHY66A.js +0 -9
  488. package/dist/prod/locales/ku-TR-6OUDTVRD.js +0 -9
  489. package/dist/prod/locales/lt-LT-XHIRWOB4.js +0 -3
  490. package/dist/prod/locales/lv-LV-5QDEKY6T.js +0 -7
  491. package/dist/prod/locales/mr-IN-CRQNXWMA.js +0 -13
  492. package/dist/prod/locales/my-MM-5M5IBNSE.js +0 -1
  493. package/dist/prod/locales/nb-NO-T6EIAALU.js +0 -10
  494. package/dist/prod/locales/nl-NL-IS3SIHDZ.js +0 -8
  495. package/dist/prod/locales/nn-NO-6E72VCQL.js +0 -8
  496. package/dist/prod/locales/oc-FR-POXYY2M6.js +0 -8
  497. package/dist/prod/locales/pa-IN-N4M65BXN.js +0 -4
  498. package/dist/prod/locales/percentages-BXMCSKIN.js +0 -1
  499. package/dist/prod/locales/pl-PL-T2D74RX3.js +0 -9
  500. package/dist/prod/locales/pt-BR-5N22H2LF.js +0 -9
  501. package/dist/prod/locales/pt-PT-UZXXM6DQ.js +0 -9
  502. package/dist/prod/locales/ro-RO-JPDTUUEW.js +0 -11
  503. package/dist/prod/locales/ru-RU-B4JR7IUQ.js +0 -9
  504. package/dist/prod/locales/si-LK-N5RQ5JYF.js +0 -1
  505. package/dist/prod/locales/sk-SK-C5VTKIMK.js +0 -6
  506. package/dist/prod/locales/sl-SI-NN7IZMDC.js +0 -6
  507. package/dist/prod/locales/sv-SE-XGPEYMSR.js +0 -10
  508. package/dist/prod/locales/ta-IN-2NMHFXQM.js +0 -9
  509. package/dist/prod/locales/th-TH-HPSO5L25.js +0 -2
  510. package/dist/prod/locales/tr-TR-DEFEU3FU.js +0 -7
  511. package/dist/prod/locales/uk-UA-QMV73CPH.js +0 -6
  512. package/dist/prod/locales/vi-VN-M7AON7JQ.js +0 -5
  513. package/dist/prod/locales/zh-CN-LNUGB5OW.js +0 -10
  514. package/dist/prod/locales/zh-HK-E62DVLB3.js +0 -1
  515. package/dist/prod/locales/zh-TW-RAJ6MFWO.js +0 -9
  516. /package/dist/dev/data/{image-VTYIFRQE.js.map → image-Q6JHR7OE.js.map} +0 -0
  517. /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-MLZIHOCR.js.map} +0 -0
  518. /package/dist/dev/locales/{percentages-YKFLWNK2.js.map → percentages-OGWD7R2K.js.map} +0 -0
@@ -1,738 +1,17 @@
1
- /// <reference types="react" />
2
1
  import type { Theme } from "@excalidraw/element/types";
3
2
  import "../components/ToolIcon.scss";
4
- export declare const actionChangeProjectName: {
5
- name: "changeProjectName";
6
- label: string;
7
- trackEvent: false;
8
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
9
- appState: {
10
- name: any;
11
- contextMenu: {
12
- items: import("../components/ContextMenu").ContextMenuItems;
13
- top: number;
14
- left: number;
15
- } | null;
16
- showWelcomeScreen: boolean;
17
- isLoading: boolean;
18
- errorMessage: import("react").ReactNode;
19
- activeEmbeddable: {
20
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "active" | "hover";
22
- } | null;
23
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
25
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
26
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
- isBindingEnabled: boolean;
28
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
- frameRendering: {
32
- enabled: boolean;
33
- name: boolean;
34
- outline: boolean;
35
- clip: boolean;
36
- };
37
- editingFrame: string | null;
38
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- activeTool: {
41
- lastActiveTool: import("../types").ActiveTool | null;
42
- locked: boolean;
43
- fromSelection: boolean;
44
- } & import("../types").ActiveTool;
45
- penMode: boolean;
46
- penDetected: boolean;
47
- exportBackground: boolean;
48
- exportEmbedScene: boolean;
49
- exportWithDarkMode: boolean;
50
- exportScale: number;
51
- currentItemStrokeColor: string;
52
- currentItemBackgroundColor: string;
53
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
54
- currentItemStrokeWidth: number;
55
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
56
- currentItemRoughness: number;
57
- currentItemOpacity: number;
58
- currentItemFontFamily: number;
59
- currentItemFontSize: number;
60
- currentItemTextAlign: string;
61
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
62
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
- currentHoveredFontFamily: number | null;
64
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
- currentItemArrowType: "round" | "sharp" | "elbow";
66
- viewBackgroundColor: string;
67
- scrollX: number;
68
- scrollY: number;
69
- cursorButton: "up" | "down";
70
- scrolledOutside: boolean;
71
- isResizing: boolean;
72
- isRotating: boolean;
73
- zoom: Readonly<{
74
- value: import("../types").NormalizedZoomValue;
75
- }>;
76
- openMenu: "canvas" | "shape" | null;
77
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
78
- openSidebar: {
79
- name: string;
80
- tab?: string | undefined;
81
- } | null;
82
- openDialog: {
83
- name: "imageExport" | "help" | "jsonExport";
84
- } | {
85
- name: "ttd";
86
- tab: "mermaid" | "text-to-diagram";
87
- } | {
88
- name: "commandPalette";
89
- } | {
90
- name: "elementLinkSelector";
91
- sourceElementId: string;
92
- } | null;
93
- defaultSidebarDockedPreference: boolean;
94
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
95
- selectedElementIds: Readonly<{
96
- [id: string]: true;
97
- }>;
98
- hoveredElementIds: Readonly<{
99
- [id: string]: true;
100
- }>;
101
- previousSelectedElementIds: {
102
- [id: string]: true;
103
- };
104
- selectedElementsAreBeingDragged: boolean;
105
- shouldCacheIgnoreZoom: boolean;
106
- toast: {
107
- message: string;
108
- closable?: boolean | undefined;
109
- duration?: number | undefined;
110
- } | null;
111
- zenModeEnabled: boolean;
112
- theme: Theme;
113
- gridSize: number;
114
- gridStep: number;
115
- gridModeEnabled: boolean;
116
- viewModeEnabled: boolean;
117
- selectedGroupIds: {
118
- [groupId: string]: boolean;
119
- };
120
- editingGroupId: string | null;
121
- width: number;
122
- height: number;
123
- offsetTop: number;
124
- offsetLeft: number;
125
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
126
- collaborators: Map<import("../types").SocketId, Readonly<{
127
- pointer?: import("../types").CollaboratorPointer | undefined;
128
- button?: "up" | "down" | undefined;
129
- selectedElementIds?: Readonly<{
130
- [id: string]: true;
131
- }> | undefined;
132
- username?: string | null | undefined;
133
- userState?: import("@excalidraw/common").UserIdleState | undefined;
134
- color?: {
135
- background: string;
136
- stroke: string;
137
- } | undefined;
138
- avatarUrl?: string | undefined;
139
- id?: string | undefined;
140
- socketId?: import("../types").SocketId | undefined;
141
- isCurrentUser?: boolean | undefined;
142
- isInCall?: boolean | undefined;
143
- isSpeaking?: boolean | undefined;
144
- isMuted?: boolean | undefined;
145
- }>>;
146
- stats: {
147
- open: boolean;
148
- panels: number;
149
- };
150
- currentChartType: import("@excalidraw/element/types").ChartType;
151
- pasteDialog: {
152
- shown: false;
153
- data: null;
154
- } | {
155
- shown: true;
156
- data: import("../charts").Spreadsheet;
157
- };
158
- showHyperlinkPopup: false | "editor" | "info";
159
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
160
- snapLines: readonly import("../snapping").SnapLine[];
161
- originSnapOffset: {
162
- x: number;
163
- y: number;
164
- } | null;
165
- objectsSnapModeEnabled: boolean;
166
- userToFollow: import("../types").UserToFollow | null;
167
- followedBy: Set<import("../types").SocketId>;
168
- isCropping: boolean;
169
- croppingElementId: string | null;
170
- searchMatches: Readonly<{
171
- focusedId: string | null;
172
- matches: readonly import("../types").SearchMatch[];
173
- }> | null;
174
- activeLockedId: string | null;
175
- lockedMultiSelections: {
176
- [groupId: string]: true;
177
- };
178
- };
179
- captureUpdate: "EVENTUALLY";
180
- };
181
- PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
182
- } & {
183
- keyTest?: undefined;
184
- };
185
- export declare const actionChangeExportScale: {
186
- name: "changeExportScale";
187
- label: string;
188
- trackEvent: {
189
- category: "export";
190
- action: string;
191
- };
192
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
193
- appState: {
194
- exportScale: any;
195
- contextMenu: {
196
- items: import("../components/ContextMenu").ContextMenuItems;
197
- top: number;
198
- left: number;
199
- } | null;
200
- showWelcomeScreen: boolean;
201
- isLoading: boolean;
202
- errorMessage: import("react").ReactNode;
203
- activeEmbeddable: {
204
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
205
- state: "active" | "hover";
206
- } | null;
207
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
208
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
209
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
210
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
211
- isBindingEnabled: boolean;
212
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
213
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
214
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
215
- frameRendering: {
216
- enabled: boolean;
217
- name: boolean;
218
- outline: boolean;
219
- clip: boolean;
220
- };
221
- editingFrame: string | null;
222
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
223
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
224
- activeTool: {
225
- lastActiveTool: import("../types").ActiveTool | null;
226
- locked: boolean;
227
- fromSelection: boolean;
228
- } & import("../types").ActiveTool;
229
- penMode: boolean;
230
- penDetected: boolean;
231
- exportBackground: boolean;
232
- exportEmbedScene: boolean;
233
- exportWithDarkMode: boolean;
234
- currentItemStrokeColor: string;
235
- currentItemBackgroundColor: string;
236
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
237
- currentItemStrokeWidth: number;
238
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
239
- currentItemRoughness: number;
240
- currentItemOpacity: number;
241
- currentItemFontFamily: number;
242
- currentItemFontSize: number;
243
- currentItemTextAlign: string;
244
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
245
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
246
- currentHoveredFontFamily: number | null;
247
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
248
- currentItemArrowType: "round" | "sharp" | "elbow";
249
- viewBackgroundColor: string;
250
- scrollX: number;
251
- scrollY: number;
252
- cursorButton: "up" | "down";
253
- scrolledOutside: boolean;
254
- name: string | null;
255
- isResizing: boolean;
256
- isRotating: boolean;
257
- zoom: Readonly<{
258
- value: import("../types").NormalizedZoomValue;
259
- }>;
260
- openMenu: "canvas" | "shape" | null;
261
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
262
- openSidebar: {
263
- name: string;
264
- tab?: string | undefined;
265
- } | null;
266
- openDialog: {
267
- name: "imageExport" | "help" | "jsonExport";
268
- } | {
269
- name: "ttd";
270
- tab: "mermaid" | "text-to-diagram";
271
- } | {
272
- name: "commandPalette";
273
- } | {
274
- name: "elementLinkSelector";
275
- sourceElementId: string;
276
- } | null;
277
- defaultSidebarDockedPreference: boolean;
278
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
279
- selectedElementIds: Readonly<{
280
- [id: string]: true;
281
- }>;
282
- hoveredElementIds: Readonly<{
283
- [id: string]: true;
284
- }>;
285
- previousSelectedElementIds: {
286
- [id: string]: true;
287
- };
288
- selectedElementsAreBeingDragged: boolean;
289
- shouldCacheIgnoreZoom: boolean;
290
- toast: {
291
- message: string;
292
- closable?: boolean | undefined;
293
- duration?: number | undefined;
294
- } | null;
295
- zenModeEnabled: boolean;
296
- theme: Theme;
297
- gridSize: number;
298
- gridStep: number;
299
- gridModeEnabled: boolean;
300
- viewModeEnabled: boolean;
301
- selectedGroupIds: {
302
- [groupId: string]: boolean;
303
- };
304
- editingGroupId: string | null;
305
- width: number;
306
- height: number;
307
- offsetTop: number;
308
- offsetLeft: number;
309
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
310
- collaborators: Map<import("../types").SocketId, Readonly<{
311
- pointer?: import("../types").CollaboratorPointer | undefined;
312
- button?: "up" | "down" | undefined;
313
- selectedElementIds?: Readonly<{
314
- [id: string]: true;
315
- }> | undefined;
316
- username?: string | null | undefined;
317
- userState?: import("@excalidraw/common").UserIdleState | undefined;
318
- color?: {
319
- background: string;
320
- stroke: string;
321
- } | undefined;
322
- avatarUrl?: string | undefined;
323
- id?: string | undefined;
324
- socketId?: import("../types").SocketId | undefined;
325
- isCurrentUser?: boolean | undefined;
326
- isInCall?: boolean | undefined;
327
- isSpeaking?: boolean | undefined;
328
- isMuted?: boolean | undefined;
329
- }>>;
330
- stats: {
331
- open: boolean;
332
- panels: number;
333
- };
334
- currentChartType: import("@excalidraw/element/types").ChartType;
335
- pasteDialog: {
336
- shown: false;
337
- data: null;
338
- } | {
339
- shown: true;
340
- data: import("../charts").Spreadsheet;
341
- };
342
- showHyperlinkPopup: false | "editor" | "info";
343
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
344
- snapLines: readonly import("../snapping").SnapLine[];
345
- originSnapOffset: {
346
- x: number;
347
- y: number;
348
- } | null;
349
- objectsSnapModeEnabled: boolean;
350
- userToFollow: import("../types").UserToFollow | null;
351
- followedBy: Set<import("../types").SocketId>;
352
- isCropping: boolean;
353
- croppingElementId: string | null;
354
- searchMatches: Readonly<{
355
- focusedId: string | null;
356
- matches: readonly import("../types").SearchMatch[];
357
- }> | null;
358
- activeLockedId: string | null;
359
- lockedMultiSelections: {
360
- [groupId: string]: true;
361
- };
362
- };
363
- captureUpdate: "EVENTUALLY";
364
- };
365
- PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
366
- } & {
367
- keyTest?: undefined;
368
- };
369
- export declare const actionChangeExportBackground: {
370
- name: "changeExportBackground";
371
- label: string;
372
- trackEvent: {
373
- category: "export";
374
- action: string;
375
- };
376
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
377
- appState: {
378
- exportBackground: any;
379
- contextMenu: {
380
- items: import("../components/ContextMenu").ContextMenuItems;
381
- top: number;
382
- left: number;
383
- } | null;
384
- showWelcomeScreen: boolean;
385
- isLoading: boolean;
386
- errorMessage: import("react").ReactNode;
387
- activeEmbeddable: {
388
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
389
- state: "active" | "hover";
390
- } | null;
391
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
392
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
393
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
394
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
395
- isBindingEnabled: boolean;
396
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
397
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
398
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
399
- frameRendering: {
400
- enabled: boolean;
401
- name: boolean;
402
- outline: boolean;
403
- clip: boolean;
404
- };
405
- editingFrame: string | null;
406
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
407
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
408
- activeTool: {
409
- lastActiveTool: import("../types").ActiveTool | null;
410
- locked: boolean;
411
- fromSelection: boolean;
412
- } & import("../types").ActiveTool;
413
- penMode: boolean;
414
- penDetected: boolean;
415
- exportEmbedScene: boolean;
416
- exportWithDarkMode: boolean;
417
- exportScale: number;
418
- currentItemStrokeColor: string;
419
- currentItemBackgroundColor: string;
420
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
421
- currentItemStrokeWidth: number;
422
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
423
- currentItemRoughness: number;
424
- currentItemOpacity: number;
425
- currentItemFontFamily: number;
426
- currentItemFontSize: number;
427
- currentItemTextAlign: string;
428
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
429
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
430
- currentHoveredFontFamily: number | null;
431
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
432
- currentItemArrowType: "round" | "sharp" | "elbow";
433
- viewBackgroundColor: string;
434
- scrollX: number;
435
- scrollY: number;
436
- cursorButton: "up" | "down";
437
- scrolledOutside: boolean;
438
- name: string | null;
439
- isResizing: boolean;
440
- isRotating: boolean;
441
- zoom: Readonly<{
442
- value: import("../types").NormalizedZoomValue;
443
- }>;
444
- openMenu: "canvas" | "shape" | null;
445
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
446
- openSidebar: {
447
- name: string;
448
- tab?: string | undefined;
449
- } | null;
450
- openDialog: {
451
- name: "imageExport" | "help" | "jsonExport";
452
- } | {
453
- name: "ttd";
454
- tab: "mermaid" | "text-to-diagram";
455
- } | {
456
- name: "commandPalette";
457
- } | {
458
- name: "elementLinkSelector";
459
- sourceElementId: string;
460
- } | null;
461
- defaultSidebarDockedPreference: boolean;
462
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
463
- selectedElementIds: Readonly<{
464
- [id: string]: true;
465
- }>;
466
- hoveredElementIds: Readonly<{
467
- [id: string]: true;
468
- }>;
469
- previousSelectedElementIds: {
470
- [id: string]: true;
471
- };
472
- selectedElementsAreBeingDragged: boolean;
473
- shouldCacheIgnoreZoom: boolean;
474
- toast: {
475
- message: string;
476
- closable?: boolean | undefined;
477
- duration?: number | undefined;
478
- } | null;
479
- zenModeEnabled: boolean;
480
- theme: Theme;
481
- gridSize: number;
482
- gridStep: number;
483
- gridModeEnabled: boolean;
484
- viewModeEnabled: boolean;
485
- selectedGroupIds: {
486
- [groupId: string]: boolean;
487
- };
488
- editingGroupId: string | null;
489
- width: number;
490
- height: number;
491
- offsetTop: number;
492
- offsetLeft: number;
493
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
494
- collaborators: Map<import("../types").SocketId, Readonly<{
495
- pointer?: import("../types").CollaboratorPointer | undefined;
496
- button?: "up" | "down" | undefined;
497
- selectedElementIds?: Readonly<{
498
- [id: string]: true;
499
- }> | undefined;
500
- username?: string | null | undefined;
501
- userState?: import("@excalidraw/common").UserIdleState | undefined;
502
- color?: {
503
- background: string;
504
- stroke: string;
505
- } | undefined;
506
- avatarUrl?: string | undefined;
507
- id?: string | undefined;
508
- socketId?: import("../types").SocketId | undefined;
509
- isCurrentUser?: boolean | undefined;
510
- isInCall?: boolean | undefined;
511
- isSpeaking?: boolean | undefined;
512
- isMuted?: boolean | undefined;
513
- }>>;
514
- stats: {
515
- open: boolean;
516
- panels: number;
517
- };
518
- currentChartType: import("@excalidraw/element/types").ChartType;
519
- pasteDialog: {
520
- shown: false;
521
- data: null;
522
- } | {
523
- shown: true;
524
- data: import("../charts").Spreadsheet;
525
- };
526
- showHyperlinkPopup: false | "editor" | "info";
527
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
528
- snapLines: readonly import("../snapping").SnapLine[];
529
- originSnapOffset: {
530
- x: number;
531
- y: number;
532
- } | null;
533
- objectsSnapModeEnabled: boolean;
534
- userToFollow: import("../types").UserToFollow | null;
535
- followedBy: Set<import("../types").SocketId>;
536
- isCropping: boolean;
537
- croppingElementId: string | null;
538
- searchMatches: Readonly<{
539
- focusedId: string | null;
540
- matches: readonly import("../types").SearchMatch[];
541
- }> | null;
542
- activeLockedId: string | null;
543
- lockedMultiSelections: {
544
- [groupId: string]: true;
545
- };
546
- };
547
- captureUpdate: "EVENTUALLY";
548
- };
549
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
550
- } & {
551
- keyTest?: undefined;
552
- };
553
- export declare const actionChangeExportEmbedScene: {
554
- name: "changeExportEmbedScene";
555
- label: string;
556
- trackEvent: {
557
- category: "export";
558
- action: string;
559
- };
560
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
561
- appState: {
562
- exportEmbedScene: any;
563
- contextMenu: {
564
- items: import("../components/ContextMenu").ContextMenuItems;
565
- top: number;
566
- left: number;
567
- } | null;
568
- showWelcomeScreen: boolean;
569
- isLoading: boolean;
570
- errorMessage: import("react").ReactNode;
571
- activeEmbeddable: {
572
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
573
- state: "active" | "hover";
574
- } | null;
575
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
576
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
577
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
578
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
579
- isBindingEnabled: boolean;
580
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
581
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
582
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
583
- frameRendering: {
584
- enabled: boolean;
585
- name: boolean;
586
- outline: boolean;
587
- clip: boolean;
588
- };
589
- editingFrame: string | null;
590
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
591
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
592
- activeTool: {
593
- lastActiveTool: import("../types").ActiveTool | null;
594
- locked: boolean;
595
- fromSelection: boolean;
596
- } & import("../types").ActiveTool;
597
- penMode: boolean;
598
- penDetected: boolean;
599
- exportBackground: boolean;
600
- exportWithDarkMode: boolean;
601
- exportScale: number;
602
- currentItemStrokeColor: string;
603
- currentItemBackgroundColor: string;
604
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
605
- currentItemStrokeWidth: number;
606
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
607
- currentItemRoughness: number;
608
- currentItemOpacity: number;
609
- currentItemFontFamily: number;
610
- currentItemFontSize: number;
611
- currentItemTextAlign: string;
612
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
613
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
614
- currentHoveredFontFamily: number | null;
615
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
616
- currentItemArrowType: "round" | "sharp" | "elbow";
617
- viewBackgroundColor: string;
618
- scrollX: number;
619
- scrollY: number;
620
- cursorButton: "up" | "down";
621
- scrolledOutside: boolean;
622
- name: string | null;
623
- isResizing: boolean;
624
- isRotating: boolean;
625
- zoom: Readonly<{
626
- value: import("../types").NormalizedZoomValue;
627
- }>;
628
- openMenu: "canvas" | "shape" | null;
629
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
630
- openSidebar: {
631
- name: string;
632
- tab?: string | undefined;
633
- } | null;
634
- openDialog: {
635
- name: "imageExport" | "help" | "jsonExport";
636
- } | {
637
- name: "ttd";
638
- tab: "mermaid" | "text-to-diagram";
639
- } | {
640
- name: "commandPalette";
641
- } | {
642
- name: "elementLinkSelector";
643
- sourceElementId: string;
644
- } | null;
645
- defaultSidebarDockedPreference: boolean;
646
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
647
- selectedElementIds: Readonly<{
648
- [id: string]: true;
649
- }>;
650
- hoveredElementIds: Readonly<{
651
- [id: string]: true;
652
- }>;
653
- previousSelectedElementIds: {
654
- [id: string]: true;
655
- };
656
- selectedElementsAreBeingDragged: boolean;
657
- shouldCacheIgnoreZoom: boolean;
658
- toast: {
659
- message: string;
660
- closable?: boolean | undefined;
661
- duration?: number | undefined;
662
- } | null;
663
- zenModeEnabled: boolean;
664
- theme: Theme;
665
- gridSize: number;
666
- gridStep: number;
667
- gridModeEnabled: boolean;
668
- viewModeEnabled: boolean;
669
- selectedGroupIds: {
670
- [groupId: string]: boolean;
671
- };
672
- editingGroupId: string | null;
673
- width: number;
674
- height: number;
675
- offsetTop: number;
676
- offsetLeft: number;
677
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
678
- collaborators: Map<import("../types").SocketId, Readonly<{
679
- pointer?: import("../types").CollaboratorPointer | undefined;
680
- button?: "up" | "down" | undefined;
681
- selectedElementIds?: Readonly<{
682
- [id: string]: true;
683
- }> | undefined;
684
- username?: string | null | undefined;
685
- userState?: import("@excalidraw/common").UserIdleState | undefined;
686
- color?: {
687
- background: string;
688
- stroke: string;
689
- } | undefined;
690
- avatarUrl?: string | undefined;
691
- id?: string | undefined;
692
- socketId?: import("../types").SocketId | undefined;
693
- isCurrentUser?: boolean | undefined;
694
- isInCall?: boolean | undefined;
695
- isSpeaking?: boolean | undefined;
696
- isMuted?: boolean | undefined;
697
- }>>;
698
- stats: {
699
- open: boolean;
700
- panels: number;
701
- };
702
- currentChartType: import("@excalidraw/element/types").ChartType;
703
- pasteDialog: {
704
- shown: false;
705
- data: null;
706
- } | {
707
- shown: true;
708
- data: import("../charts").Spreadsheet;
709
- };
710
- showHyperlinkPopup: false | "editor" | "info";
711
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
712
- snapLines: readonly import("../snapping").SnapLine[];
713
- originSnapOffset: {
714
- x: number;
715
- y: number;
716
- } | null;
717
- objectsSnapModeEnabled: boolean;
718
- userToFollow: import("../types").UserToFollow | null;
719
- followedBy: Set<import("../types").SocketId>;
720
- isCropping: boolean;
721
- croppingElementId: string | null;
722
- searchMatches: Readonly<{
723
- focusedId: string | null;
724
- matches: readonly import("../types").SearchMatch[];
725
- }> | null;
726
- activeLockedId: string | null;
727
- lockedMultiSelections: {
728
- [groupId: string]: true;
729
- };
730
- };
731
- captureUpdate: "EVENTUALLY";
732
- };
733
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
734
- } & {
735
- keyTest?: undefined;
3
+ import type { AppState } from "../types";
4
+ export declare const actionChangeProjectName: import("./types").Action<string | null> & {
5
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
6
+ };
7
+ export declare const actionChangeExportScale: import("./types").Action<number> & {
8
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
9
+ };
10
+ export declare const actionChangeExportBackground: import("./types").Action<boolean> & {
11
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
12
+ };
13
+ export declare const actionChangeExportEmbedScene: import("./types").Action<boolean> & {
14
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
736
15
  };
737
16
  export declare const actionSaveToActiveFile: {
738
17
  name: "saveToActiveFile";
@@ -741,8 +20,8 @@ export declare const actionSaveToActiveFile: {
741
20
  trackEvent: {
742
21
  category: "export";
743
22
  };
744
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
745
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
23
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
24
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
746
25
  captureUpdate: "EVENTUALLY";
747
26
  appState: {
748
27
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -756,10 +35,10 @@ export declare const actionSaveToActiveFile: {
756
35
  } | null;
757
36
  showWelcomeScreen: boolean;
758
37
  isLoading: boolean;
759
- errorMessage: import("react").ReactNode;
38
+ errorMessage: React.ReactNode;
760
39
  activeEmbeddable: {
761
40
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
762
- state: "active" | "hover";
41
+ state: "hover" | "active";
763
42
  } | null;
764
43
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
765
44
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -767,7 +46,7 @@ export declare const actionSaveToActiveFile: {
767
46
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
768
47
  isBindingEnabled: boolean;
769
48
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
770
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
49
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
771
50
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
772
51
  frameRendering: {
773
52
  enabled: boolean;
@@ -783,6 +62,10 @@ export declare const actionSaveToActiveFile: {
783
62
  locked: boolean;
784
63
  fromSelection: boolean;
785
64
  } & import("../types").ActiveTool;
65
+ preferredSelectionTool: {
66
+ type: "selection" | "lasso";
67
+ initialized: boolean;
68
+ };
786
69
  penMode: boolean;
787
70
  penDetected: boolean;
788
71
  exportBackground: boolean;
@@ -791,19 +74,19 @@ export declare const actionSaveToActiveFile: {
791
74
  exportScale: number;
792
75
  currentItemStrokeColor: string;
793
76
  currentItemBackgroundColor: string;
794
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
77
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
795
78
  currentItemStrokeWidth: number;
796
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
79
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
797
80
  currentItemRoughness: number;
798
81
  currentItemOpacity: number;
799
- currentItemFontFamily: number;
82
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
800
83
  currentItemFontSize: number;
801
- currentItemTextAlign: string;
84
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
802
85
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
803
86
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
804
- currentHoveredFontFamily: number | null;
87
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
805
88
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
806
- currentItemArrowType: "round" | "sharp" | "elbow";
89
+ currentItemArrowType: "sharp" | "round" | "elbow";
807
90
  viewBackgroundColor: string;
808
91
  scrollX: number;
809
92
  scrollY: number;
@@ -812,26 +95,26 @@ export declare const actionSaveToActiveFile: {
812
95
  name: string | null;
813
96
  isResizing: boolean;
814
97
  isRotating: boolean;
815
- zoom: Readonly<{
816
- value: import("../types").NormalizedZoomValue;
817
- }>;
818
- openMenu: "canvas" | "shape" | null;
819
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
98
+ zoom: import("../types").Zoom;
99
+ openMenu: "canvas" | null;
100
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
820
101
  openSidebar: {
821
- name: string;
822
- tab?: string | undefined;
102
+ name: import("../types").SidebarName;
103
+ tab?: import("../types").SidebarTabName;
823
104
  } | null;
824
- openDialog: {
105
+ openDialog: null | {
825
106
  name: "imageExport" | "help" | "jsonExport";
826
107
  } | {
827
108
  name: "ttd";
828
- tab: "mermaid" | "text-to-diagram";
109
+ tab: "text-to-diagram" | "mermaid";
829
110
  } | {
830
111
  name: "commandPalette";
112
+ } | {
113
+ name: "settings";
831
114
  } | {
832
115
  name: "elementLinkSelector";
833
- sourceElementId: string;
834
- } | null;
116
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
117
+ };
835
118
  defaultSidebarDockedPreference: boolean;
836
119
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
837
120
  selectedElementIds: Readonly<{
@@ -854,31 +137,12 @@ export declare const actionSaveToActiveFile: {
854
137
  selectedGroupIds: {
855
138
  [groupId: string]: boolean;
856
139
  };
857
- editingGroupId: string | null;
140
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
858
141
  width: number;
859
142
  height: number;
860
143
  offsetTop: number;
861
144
  offsetLeft: number;
862
- collaborators: Map<import("../types").SocketId, Readonly<{
863
- pointer?: import("../types").CollaboratorPointer | undefined;
864
- button?: "up" | "down" | undefined;
865
- selectedElementIds?: Readonly<{
866
- [id: string]: true;
867
- }> | undefined;
868
- username?: string | null | undefined;
869
- userState?: import("@excalidraw/common").UserIdleState | undefined;
870
- color?: {
871
- background: string;
872
- stroke: string;
873
- } | undefined;
874
- avatarUrl?: string | undefined;
875
- id?: string | undefined;
876
- socketId?: import("../types").SocketId | undefined;
877
- isCurrentUser?: boolean | undefined;
878
- isInCall?: boolean | undefined;
879
- isSpeaking?: boolean | undefined;
880
- isMuted?: boolean | undefined;
881
- }>>;
145
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
882
146
  stats: {
883
147
  open: boolean;
884
148
  panels: number;
@@ -891,7 +155,7 @@ export declare const actionSaveToActiveFile: {
891
155
  shown: true;
892
156
  data: import("../charts").Spreadsheet;
893
157
  };
894
- showHyperlinkPopup: false | "editor" | "info";
158
+ showHyperlinkPopup: false | "info" | "editor";
895
159
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
896
160
  snapLines: readonly import("../snapping").SnapLine[];
897
161
  originSnapOffset: {
@@ -902,15 +166,16 @@ export declare const actionSaveToActiveFile: {
902
166
  userToFollow: import("../types").UserToFollow | null;
903
167
  followedBy: Set<import("../types").SocketId>;
904
168
  isCropping: boolean;
905
- croppingElementId: string | null;
169
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
906
170
  searchMatches: Readonly<{
907
- focusedId: string | null;
171
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
908
172
  matches: readonly import("../types").SearchMatch[];
909
173
  }> | null;
910
174
  activeLockedId: string | null;
911
175
  lockedMultiSelections: {
912
176
  [groupId: string]: true;
913
177
  };
178
+ bindMode: import("@excalidraw/element/types").BindMode;
914
179
  };
915
180
  } | {
916
181
  captureUpdate: "EVENTUALLY";
@@ -928,7 +193,7 @@ export declare const actionSaveFileToDisk: {
928
193
  trackEvent: {
929
194
  category: "export";
930
195
  };
931
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any, app: import("../types").AppClassProperties) => Promise<{
196
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: unknown, app: import("../types").AppClassProperties) => Promise<{
932
197
  captureUpdate: "EVENTUALLY";
933
198
  appState: {
934
199
  openDialog: null;
@@ -943,10 +208,10 @@ export declare const actionSaveFileToDisk: {
943
208
  } | null;
944
209
  showWelcomeScreen: boolean;
945
210
  isLoading: boolean;
946
- errorMessage: import("react").ReactNode;
211
+ errorMessage: React.ReactNode;
947
212
  activeEmbeddable: {
948
213
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
949
- state: "active" | "hover";
214
+ state: "hover" | "active";
950
215
  } | null;
951
216
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
952
217
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -954,7 +219,7 @@ export declare const actionSaveFileToDisk: {
954
219
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
955
220
  isBindingEnabled: boolean;
956
221
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
957
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
222
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
958
223
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
959
224
  frameRendering: {
960
225
  enabled: boolean;
@@ -970,6 +235,10 @@ export declare const actionSaveFileToDisk: {
970
235
  locked: boolean;
971
236
  fromSelection: boolean;
972
237
  } & import("../types").ActiveTool;
238
+ preferredSelectionTool: {
239
+ type: "selection" | "lasso";
240
+ initialized: boolean;
241
+ };
973
242
  penMode: boolean;
974
243
  penDetected: boolean;
975
244
  exportBackground: boolean;
@@ -978,19 +247,19 @@ export declare const actionSaveFileToDisk: {
978
247
  exportScale: number;
979
248
  currentItemStrokeColor: string;
980
249
  currentItemBackgroundColor: string;
981
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
250
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
982
251
  currentItemStrokeWidth: number;
983
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
252
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
984
253
  currentItemRoughness: number;
985
254
  currentItemOpacity: number;
986
- currentItemFontFamily: number;
255
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
987
256
  currentItemFontSize: number;
988
- currentItemTextAlign: string;
257
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
989
258
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
990
259
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
991
- currentHoveredFontFamily: number | null;
260
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
992
261
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
993
- currentItemArrowType: "round" | "sharp" | "elbow";
262
+ currentItemArrowType: "sharp" | "round" | "elbow";
994
263
  viewBackgroundColor: string;
995
264
  scrollX: number;
996
265
  scrollY: number;
@@ -999,14 +268,12 @@ export declare const actionSaveFileToDisk: {
999
268
  name: string | null;
1000
269
  isResizing: boolean;
1001
270
  isRotating: boolean;
1002
- zoom: Readonly<{
1003
- value: import("../types").NormalizedZoomValue;
1004
- }>;
1005
- openMenu: "canvas" | "shape" | null;
1006
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
271
+ zoom: import("../types").Zoom;
272
+ openMenu: "canvas" | null;
273
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1007
274
  openSidebar: {
1008
- name: string;
1009
- tab?: string | undefined;
275
+ name: import("../types").SidebarName;
276
+ tab?: import("../types").SidebarTabName;
1010
277
  } | null;
1011
278
  defaultSidebarDockedPreference: boolean;
1012
279
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
@@ -1030,31 +297,12 @@ export declare const actionSaveFileToDisk: {
1030
297
  selectedGroupIds: {
1031
298
  [groupId: string]: boolean;
1032
299
  };
1033
- editingGroupId: string | null;
300
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1034
301
  width: number;
1035
302
  height: number;
1036
303
  offsetTop: number;
1037
304
  offsetLeft: number;
1038
- collaborators: Map<import("../types").SocketId, Readonly<{
1039
- pointer?: import("../types").CollaboratorPointer | undefined;
1040
- button?: "up" | "down" | undefined;
1041
- selectedElementIds?: Readonly<{
1042
- [id: string]: true;
1043
- }> | undefined;
1044
- username?: string | null | undefined;
1045
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1046
- color?: {
1047
- background: string;
1048
- stroke: string;
1049
- } | undefined;
1050
- avatarUrl?: string | undefined;
1051
- id?: string | undefined;
1052
- socketId?: import("../types").SocketId | undefined;
1053
- isCurrentUser?: boolean | undefined;
1054
- isInCall?: boolean | undefined;
1055
- isSpeaking?: boolean | undefined;
1056
- isMuted?: boolean | undefined;
1057
- }>>;
305
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1058
306
  stats: {
1059
307
  open: boolean;
1060
308
  panels: number;
@@ -1067,7 +315,7 @@ export declare const actionSaveFileToDisk: {
1067
315
  shown: true;
1068
316
  data: import("../charts").Spreadsheet;
1069
317
  };
1070
- showHyperlinkPopup: false | "editor" | "info";
318
+ showHyperlinkPopup: false | "info" | "editor";
1071
319
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1072
320
  snapLines: readonly import("../snapping").SnapLine[];
1073
321
  originSnapOffset: {
@@ -1078,15 +326,16 @@ export declare const actionSaveFileToDisk: {
1078
326
  userToFollow: import("../types").UserToFollow | null;
1079
327
  followedBy: Set<import("../types").SocketId>;
1080
328
  isCropping: boolean;
1081
- croppingElementId: string | null;
329
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1082
330
  searchMatches: Readonly<{
1083
- focusedId: string | null;
331
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1084
332
  matches: readonly import("../types").SearchMatch[];
1085
333
  }> | null;
1086
334
  activeLockedId: string | null;
1087
335
  lockedMultiSelections: {
1088
336
  [groupId: string]: true;
1089
337
  };
338
+ bindMode: import("@excalidraw/element/types").BindMode;
1090
339
  };
1091
340
  } | {
1092
341
  captureUpdate: "EVENTUALLY";
@@ -1103,11 +352,12 @@ export declare const actionLoadScene: {
1103
352
  trackEvent: {
1104
353
  category: "export";
1105
354
  };
1106
- predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1107
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
355
+ predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
356
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: import("../types").AppClassProperties) => Promise<false | {
1108
357
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1109
358
  appState: {
1110
359
  viewBackgroundColor: string;
360
+ theme: Theme;
1111
361
  frameRendering: {
1112
362
  enabled: boolean;
1113
363
  name: boolean;
@@ -1115,32 +365,31 @@ export declare const actionLoadScene: {
1115
365
  clip: boolean;
1116
366
  };
1117
367
  name: string | null;
1118
- zoom: Readonly<{
1119
- value: import("../types").NormalizedZoomValue;
1120
- }>;
368
+ zoom: import("../types").Zoom;
1121
369
  scrollX: number;
1122
370
  scrollY: number;
1123
371
  viewModeEnabled: boolean;
1124
- openDialog: {
372
+ openDialog: null | {
1125
373
  name: "imageExport" | "help" | "jsonExport";
1126
374
  } | {
1127
375
  name: "ttd";
1128
- tab: "mermaid" | "text-to-diagram";
376
+ tab: "text-to-diagram" | "mermaid";
1129
377
  } | {
1130
378
  name: "commandPalette";
379
+ } | {
380
+ name: "settings";
1131
381
  } | {
1132
382
  name: "elementLinkSelector";
1133
- sourceElementId: string;
1134
- } | null;
1135
- editingGroupId: string | null;
383
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
384
+ };
385
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1136
386
  selectedElementIds: Readonly<{
1137
387
  [id: string]: true;
1138
388
  }>;
1139
389
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1140
- theme: Theme;
1141
390
  activeEmbeddable: {
1142
391
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1143
- state: "active" | "hover";
392
+ state: "hover" | "active";
1144
393
  } | null;
1145
394
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1146
395
  selectedGroupIds: {
@@ -1148,40 +397,29 @@ export declare const actionLoadScene: {
1148
397
  };
1149
398
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1150
399
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
400
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1151
401
  isBindingEnabled: boolean;
1152
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
402
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1153
403
  isRotating: boolean;
1154
404
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1155
- collaborators: Map<import("../types").SocketId, Readonly<{
1156
- pointer?: import("../types").CollaboratorPointer | undefined;
1157
- button?: "up" | "down" | undefined;
1158
- selectedElementIds?: Readonly<{
1159
- [id: string]: true;
1160
- }> | undefined;
1161
- username?: string | null | undefined;
1162
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1163
- color?: {
1164
- background: string;
1165
- stroke: string;
1166
- } | undefined;
1167
- avatarUrl?: string | undefined;
1168
- id?: string | undefined;
1169
- socketId?: import("../types").SocketId | undefined;
1170
- isCurrentUser?: boolean | undefined;
1171
- isInCall?: boolean | undefined;
1172
- isSpeaking?: boolean | undefined;
1173
- isMuted?: boolean | undefined;
1174
- }>>;
405
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1175
406
  snapLines: readonly import("../snapping").SnapLine[];
1176
407
  zenModeEnabled: boolean;
1177
408
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1178
409
  isCropping: boolean;
1179
- croppingElementId: string | null;
410
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1180
411
  searchMatches: Readonly<{
1181
- focusedId: string | null;
412
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1182
413
  matches: readonly import("../types").SearchMatch[];
1183
414
  }> | null;
1184
415
  activeLockedId: string | null;
416
+ hoveredElementIds: Readonly<{
417
+ [id: string]: true;
418
+ }>;
419
+ shouldCacheIgnoreZoom: boolean;
420
+ exportScale: number;
421
+ bindMode: import("@excalidraw/element/types").BindMode;
422
+ gridSize: number;
1185
423
  contextMenu: {
1186
424
  items: import("../components/ContextMenu").ContextMenuItems;
1187
425
  top: number;
@@ -1189,8 +427,7 @@ export declare const actionLoadScene: {
1189
427
  } | null;
1190
428
  showWelcomeScreen: boolean;
1191
429
  isLoading: boolean;
1192
- errorMessage: import("react").ReactNode;
1193
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
430
+ errorMessage: React.ReactNode;
1194
431
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1195
432
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1196
433
  editingFrame: string | null;
@@ -1199,52 +436,50 @@ export declare const actionLoadScene: {
1199
436
  locked: boolean;
1200
437
  fromSelection: boolean;
1201
438
  } & import("../types").ActiveTool;
439
+ preferredSelectionTool: {
440
+ type: "selection" | "lasso";
441
+ initialized: boolean;
442
+ };
1202
443
  penMode: boolean;
1203
444
  penDetected: boolean;
1204
445
  exportBackground: boolean;
1205
446
  exportEmbedScene: boolean;
1206
447
  exportWithDarkMode: boolean;
1207
- exportScale: number;
1208
448
  currentItemStrokeColor: string;
1209
449
  currentItemBackgroundColor: string;
1210
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
450
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
1211
451
  currentItemStrokeWidth: number;
1212
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
452
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
1213
453
  currentItemRoughness: number;
1214
454
  currentItemOpacity: number;
1215
- currentItemFontFamily: number;
455
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
1216
456
  currentItemFontSize: number;
1217
- currentItemTextAlign: string;
457
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
1218
458
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1219
459
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1220
- currentHoveredFontFamily: number | null;
460
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
1221
461
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1222
- currentItemArrowType: "round" | "sharp" | "elbow";
462
+ currentItemArrowType: "sharp" | "round" | "elbow";
1223
463
  cursorButton: "up" | "down";
1224
464
  scrolledOutside: boolean;
1225
465
  isResizing: boolean;
1226
- openMenu: "canvas" | "shape" | null;
1227
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
466
+ openMenu: "canvas" | null;
467
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1228
468
  openSidebar: {
1229
- name: string;
1230
- tab?: string | undefined;
469
+ name: import("../types").SidebarName;
470
+ tab?: import("../types").SidebarTabName;
1231
471
  } | null;
1232
472
  defaultSidebarDockedPreference: boolean;
1233
473
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1234
- hoveredElementIds: Readonly<{
1235
- [id: string]: true;
1236
- }>;
1237
474
  previousSelectedElementIds: {
1238
475
  [id: string]: true;
1239
476
  };
1240
477
  selectedElementsAreBeingDragged: boolean;
1241
- shouldCacheIgnoreZoom: boolean;
1242
478
  toast: {
1243
479
  message: string;
1244
- closable?: boolean | undefined;
1245
- duration?: number | undefined;
480
+ closable?: boolean;
481
+ duration?: number;
1246
482
  } | null;
1247
- gridSize: number;
1248
483
  gridStep: number;
1249
484
  gridModeEnabled: boolean;
1250
485
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
@@ -1260,7 +495,7 @@ export declare const actionLoadScene: {
1260
495
  shown: true;
1261
496
  data: import("../charts").Spreadsheet;
1262
497
  };
1263
- showHyperlinkPopup: false | "editor" | "info";
498
+ showHyperlinkPopup: false | "info" | "editor";
1264
499
  originSnapOffset: {
1265
500
  x: number;
1266
501
  y: number;
@@ -1287,7 +522,7 @@ export declare const actionLoadScene: {
1287
522
  isLoading: boolean;
1288
523
  activeEmbeddable: {
1289
524
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1290
- state: "active" | "hover";
525
+ state: "hover" | "active";
1291
526
  } | null;
1292
527
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1293
528
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1295,7 +530,7 @@ export declare const actionLoadScene: {
1295
530
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1296
531
  isBindingEnabled: boolean;
1297
532
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1298
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
533
+ suggestedBinding: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1299
534
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1300
535
  frameRendering: {
1301
536
  enabled: boolean;
@@ -1311,6 +546,10 @@ export declare const actionLoadScene: {
1311
546
  locked: boolean;
1312
547
  fromSelection: boolean;
1313
548
  } & import("../types").ActiveTool;
549
+ preferredSelectionTool: {
550
+ type: "selection" | "lasso";
551
+ initialized: boolean;
552
+ };
1314
553
  penMode: boolean;
1315
554
  penDetected: boolean;
1316
555
  exportBackground: boolean;
@@ -1319,19 +558,19 @@ export declare const actionLoadScene: {
1319
558
  exportScale: number;
1320
559
  currentItemStrokeColor: string;
1321
560
  currentItemBackgroundColor: string;
1322
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
561
+ currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
1323
562
  currentItemStrokeWidth: number;
1324
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
563
+ currentItemStrokeStyle: import("@excalidraw/element/types").ExcalidrawElement["strokeStyle"];
1325
564
  currentItemRoughness: number;
1326
565
  currentItemOpacity: number;
1327
- currentItemFontFamily: number;
566
+ currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
1328
567
  currentItemFontSize: number;
1329
- currentItemTextAlign: string;
568
+ currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
1330
569
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1331
570
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1332
- currentHoveredFontFamily: number | null;
571
+ currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
1333
572
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1334
- currentItemArrowType: "round" | "sharp" | "elbow";
573
+ currentItemArrowType: "sharp" | "round" | "elbow";
1335
574
  viewBackgroundColor: string;
1336
575
  scrollX: number;
1337
576
  scrollY: number;
@@ -1340,26 +579,26 @@ export declare const actionLoadScene: {
1340
579
  name: string | null;
1341
580
  isResizing: boolean;
1342
581
  isRotating: boolean;
1343
- zoom: Readonly<{
1344
- value: import("../types").NormalizedZoomValue;
1345
- }>;
1346
- openMenu: "canvas" | "shape" | null;
1347
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
582
+ zoom: import("../types").Zoom;
583
+ openMenu: "canvas" | null;
584
+ openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1348
585
  openSidebar: {
1349
- name: string;
1350
- tab?: string | undefined;
586
+ name: import("../types").SidebarName;
587
+ tab?: import("../types").SidebarTabName;
1351
588
  } | null;
1352
- openDialog: {
589
+ openDialog: null | {
1353
590
  name: "imageExport" | "help" | "jsonExport";
1354
591
  } | {
1355
592
  name: "ttd";
1356
- tab: "mermaid" | "text-to-diagram";
593
+ tab: "text-to-diagram" | "mermaid";
1357
594
  } | {
1358
595
  name: "commandPalette";
596
+ } | {
597
+ name: "settings";
1359
598
  } | {
1360
599
  name: "elementLinkSelector";
1361
- sourceElementId: string;
1362
- } | null;
600
+ sourceElementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
601
+ };
1363
602
  defaultSidebarDockedPreference: boolean;
1364
603
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1365
604
  selectedElementIds: Readonly<{
@@ -1375,8 +614,8 @@ export declare const actionLoadScene: {
1375
614
  shouldCacheIgnoreZoom: boolean;
1376
615
  toast: {
1377
616
  message: string;
1378
- closable?: boolean | undefined;
1379
- duration?: number | undefined;
617
+ closable?: boolean;
618
+ duration?: number;
1380
619
  } | null;
1381
620
  zenModeEnabled: boolean;
1382
621
  theme: Theme;
@@ -1387,32 +626,13 @@ export declare const actionLoadScene: {
1387
626
  selectedGroupIds: {
1388
627
  [groupId: string]: boolean;
1389
628
  };
1390
- editingGroupId: string | null;
629
+ editingGroupId: import("@excalidraw/element/types").GroupId | null;
1391
630
  width: number;
1392
631
  height: number;
1393
632
  offsetTop: number;
1394
633
  offsetLeft: number;
1395
634
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1396
- collaborators: Map<import("../types").SocketId, Readonly<{
1397
- pointer?: import("../types").CollaboratorPointer | undefined;
1398
- button?: "up" | "down" | undefined;
1399
- selectedElementIds?: Readonly<{
1400
- [id: string]: true;
1401
- }> | undefined;
1402
- username?: string | null | undefined;
1403
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1404
- color?: {
1405
- background: string;
1406
- stroke: string;
1407
- } | undefined;
1408
- avatarUrl?: string | undefined;
1409
- id?: string | undefined;
1410
- socketId?: import("../types").SocketId | undefined;
1411
- isCurrentUser?: boolean | undefined;
1412
- isInCall?: boolean | undefined;
1413
- isSpeaking?: boolean | undefined;
1414
- isMuted?: boolean | undefined;
1415
- }>>;
635
+ collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
1416
636
  stats: {
1417
637
  open: boolean;
1418
638
  panels: number;
@@ -1425,7 +645,7 @@ export declare const actionLoadScene: {
1425
645
  shown: true;
1426
646
  data: import("../charts").Spreadsheet;
1427
647
  };
1428
- showHyperlinkPopup: false | "editor" | "info";
648
+ showHyperlinkPopup: false | "info" | "editor";
1429
649
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1430
650
  snapLines: readonly import("../snapping").SnapLine[];
1431
651
  originSnapOffset: {
@@ -1436,15 +656,16 @@ export declare const actionLoadScene: {
1436
656
  userToFollow: import("../types").UserToFollow | null;
1437
657
  followedBy: Set<import("../types").SocketId>;
1438
658
  isCropping: boolean;
1439
- croppingElementId: string | null;
659
+ croppingElementId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1440
660
  searchMatches: Readonly<{
1441
- focusedId: string | null;
661
+ focusedId: import("@excalidraw/element/types").ExcalidrawElement["id"] | null;
1442
662
  matches: readonly import("../types").SearchMatch[];
1443
663
  }> | null;
1444
664
  activeLockedId: string | null;
1445
665
  lockedMultiSelections: {
1446
666
  [groupId: string]: true;
1447
667
  };
668
+ bindMode: import("@excalidraw/element/types").BindMode;
1448
669
  };
1449
670
  files: import("../types").BinaryFiles;
1450
671
  captureUpdate: "EVENTUALLY";
@@ -1453,187 +674,6 @@ export declare const actionLoadScene: {
1453
674
  } & {
1454
675
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1455
676
  };
1456
- export declare const actionExportWithDarkMode: {
1457
- name: "exportWithDarkMode";
1458
- label: string;
1459
- trackEvent: {
1460
- category: "export";
1461
- action: string;
1462
- };
1463
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: any) => {
1464
- appState: {
1465
- exportWithDarkMode: any;
1466
- contextMenu: {
1467
- items: import("../components/ContextMenu").ContextMenuItems;
1468
- top: number;
1469
- left: number;
1470
- } | null;
1471
- showWelcomeScreen: boolean;
1472
- isLoading: boolean;
1473
- errorMessage: import("react").ReactNode;
1474
- activeEmbeddable: {
1475
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1476
- state: "active" | "hover";
1477
- } | null;
1478
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1479
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1480
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1481
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1482
- isBindingEnabled: boolean;
1483
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1484
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1485
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1486
- frameRendering: {
1487
- enabled: boolean;
1488
- name: boolean;
1489
- outline: boolean;
1490
- clip: boolean;
1491
- };
1492
- editingFrame: string | null;
1493
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1494
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1495
- activeTool: {
1496
- lastActiveTool: import("../types").ActiveTool | null;
1497
- locked: boolean;
1498
- fromSelection: boolean;
1499
- } & import("../types").ActiveTool;
1500
- penMode: boolean;
1501
- penDetected: boolean;
1502
- exportBackground: boolean;
1503
- exportEmbedScene: boolean;
1504
- exportScale: number;
1505
- currentItemStrokeColor: string;
1506
- currentItemBackgroundColor: string;
1507
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1508
- currentItemStrokeWidth: number;
1509
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1510
- currentItemRoughness: number;
1511
- currentItemOpacity: number;
1512
- currentItemFontFamily: number;
1513
- currentItemFontSize: number;
1514
- currentItemTextAlign: string;
1515
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1516
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1517
- currentHoveredFontFamily: number | null;
1518
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1519
- currentItemArrowType: "round" | "sharp" | "elbow";
1520
- viewBackgroundColor: string;
1521
- scrollX: number;
1522
- scrollY: number;
1523
- cursorButton: "up" | "down";
1524
- scrolledOutside: boolean;
1525
- name: string | null;
1526
- isResizing: boolean;
1527
- isRotating: boolean;
1528
- zoom: Readonly<{
1529
- value: import("../types").NormalizedZoomValue;
1530
- }>;
1531
- openMenu: "canvas" | "shape" | null;
1532
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1533
- openSidebar: {
1534
- name: string;
1535
- tab?: string | undefined;
1536
- } | null;
1537
- openDialog: {
1538
- name: "imageExport" | "help" | "jsonExport";
1539
- } | {
1540
- name: "ttd";
1541
- tab: "mermaid" | "text-to-diagram";
1542
- } | {
1543
- name: "commandPalette";
1544
- } | {
1545
- name: "elementLinkSelector";
1546
- sourceElementId: string;
1547
- } | null;
1548
- defaultSidebarDockedPreference: boolean;
1549
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1550
- selectedElementIds: Readonly<{
1551
- [id: string]: true;
1552
- }>;
1553
- hoveredElementIds: Readonly<{
1554
- [id: string]: true;
1555
- }>;
1556
- previousSelectedElementIds: {
1557
- [id: string]: true;
1558
- };
1559
- selectedElementsAreBeingDragged: boolean;
1560
- shouldCacheIgnoreZoom: boolean;
1561
- toast: {
1562
- message: string;
1563
- closable?: boolean | undefined;
1564
- duration?: number | undefined;
1565
- } | null;
1566
- zenModeEnabled: boolean;
1567
- theme: Theme;
1568
- gridSize: number;
1569
- gridStep: number;
1570
- gridModeEnabled: boolean;
1571
- viewModeEnabled: boolean;
1572
- selectedGroupIds: {
1573
- [groupId: string]: boolean;
1574
- };
1575
- editingGroupId: string | null;
1576
- width: number;
1577
- height: number;
1578
- offsetTop: number;
1579
- offsetLeft: number;
1580
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
1581
- collaborators: Map<import("../types").SocketId, Readonly<{
1582
- pointer?: import("../types").CollaboratorPointer | undefined;
1583
- button?: "up" | "down" | undefined;
1584
- selectedElementIds?: Readonly<{
1585
- [id: string]: true;
1586
- }> | undefined;
1587
- username?: string | null | undefined;
1588
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1589
- color?: {
1590
- background: string;
1591
- stroke: string;
1592
- } | undefined;
1593
- avatarUrl?: string | undefined;
1594
- id?: string | undefined;
1595
- socketId?: import("../types").SocketId | undefined;
1596
- isCurrentUser?: boolean | undefined;
1597
- isInCall?: boolean | undefined;
1598
- isSpeaking?: boolean | undefined;
1599
- isMuted?: boolean | undefined;
1600
- }>>;
1601
- stats: {
1602
- open: boolean;
1603
- panels: number;
1604
- };
1605
- currentChartType: import("@excalidraw/element/types").ChartType;
1606
- pasteDialog: {
1607
- shown: false;
1608
- data: null;
1609
- } | {
1610
- shown: true;
1611
- data: import("../charts").Spreadsheet;
1612
- };
1613
- showHyperlinkPopup: false | "editor" | "info";
1614
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1615
- snapLines: readonly import("../snapping").SnapLine[];
1616
- originSnapOffset: {
1617
- x: number;
1618
- y: number;
1619
- } | null;
1620
- objectsSnapModeEnabled: boolean;
1621
- userToFollow: import("../types").UserToFollow | null;
1622
- followedBy: Set<import("../types").SocketId>;
1623
- isCropping: boolean;
1624
- croppingElementId: string | null;
1625
- searchMatches: Readonly<{
1626
- focusedId: string | null;
1627
- matches: readonly import("../types").SearchMatch[];
1628
- }> | null;
1629
- activeLockedId: string | null;
1630
- lockedMultiSelections: {
1631
- [groupId: string]: true;
1632
- };
1633
- };
1634
- captureUpdate: "EVENTUALLY";
1635
- };
1636
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1637
- } & {
1638
- keyTest?: undefined;
677
+ export declare const actionExportWithDarkMode: import("./types").Action<boolean> & {
678
+ keyTest?: ((event: React.KeyboardEvent | KeyboardEvent, appState: AppState, elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], app: import("../types").AppClassProperties) => boolean) | undefined;
1639
679
  };