@zsviczian/excalidraw 0.18.0-47 → 0.18.0-49

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 (823) hide show
  1. package/dist/excalidraw-assets/Assistant-Bold.woff2 +0 -0
  2. package/dist/excalidraw-assets/Assistant-Medium.woff2 +0 -0
  3. package/dist/excalidraw-assets/Assistant-Regular.woff2 +0 -0
  4. package/dist/excalidraw-assets/Assistant-SemiBold.woff2 +0 -0
  5. package/dist/excalidraw-assets/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  6. package/dist/excalidraw-assets/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  7. package/dist/excalidraw-assets/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  8. package/dist/excalidraw-assets/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  9. package/dist/excalidraw-assets/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  10. package/dist/excalidraw-assets/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  11. package/dist/excalidraw-assets/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  12. package/dist/excalidraw-assets/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  13. package/dist/excalidraw-assets/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  14. package/dist/excalidraw-assets/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  15. package/dist/excalidraw-assets/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  16. package/dist/excalidraw-assets/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  17. package/dist/excalidraw-assets/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  18. package/dist/excalidraw-assets/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  19. package/dist/excalidraw-assets/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  20. package/dist/excalidraw-assets/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  21. package/dist/excalidraw-assets/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  22. package/dist/excalidraw-assets/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  23. package/dist/excalidraw-assets/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  24. package/dist/excalidraw-assets/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  25. package/dist/excalidraw-assets/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  26. package/dist/excalidraw-assets/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  27. package/dist/excalidraw-assets/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  28. package/dist/excalidraw-assets/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  29. package/dist/excalidraw-assets/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  30. package/dist/excalidraw-assets/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  31. package/dist/excalidraw-assets/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  32. package/dist/excalidraw-assets/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  33. package/dist/excalidraw-assets/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  34. package/dist/excalidraw-assets/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  35. package/dist/excalidraw-assets/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  36. package/dist/excalidraw-assets/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  37. package/dist/excalidraw-assets/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  38. package/dist/excalidraw-assets/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  39. package/dist/excalidraw-assets/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  40. package/dist/excalidraw-assets/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  41. package/dist/excalidraw-assets/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  42. package/dist/excalidraw-assets/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  43. package/dist/excalidraw-assets/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  44. package/dist/excalidraw-assets/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  45. package/dist/excalidraw-assets/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  46. package/dist/excalidraw-assets/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  47. package/dist/excalidraw-assets/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  48. package/dist/excalidraw-assets/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  49. package/dist/excalidraw-assets/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  50. package/dist/excalidraw-assets/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  51. package/dist/excalidraw-assets/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  52. package/dist/excalidraw-assets/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  53. package/dist/excalidraw-assets/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  54. package/dist/excalidraw-assets/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  55. package/dist/excalidraw-assets/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  56. package/dist/excalidraw-assets/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  57. package/dist/excalidraw-assets/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  58. package/dist/excalidraw-assets/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  59. package/dist/excalidraw-assets/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  60. package/dist/excalidraw-assets/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  61. package/dist/excalidraw-assets/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  62. package/dist/excalidraw-assets/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  63. package/dist/excalidraw-assets/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  64. package/dist/excalidraw-assets/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  65. package/dist/excalidraw-assets/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  66. package/dist/excalidraw-assets/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  67. package/dist/excalidraw-assets/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  68. package/dist/excalidraw-assets/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  69. package/dist/excalidraw-assets/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  70. package/dist/excalidraw-assets/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  71. package/dist/excalidraw-assets/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  72. package/dist/excalidraw-assets/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  73. package/dist/excalidraw-assets/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  74. package/dist/excalidraw-assets/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  75. package/dist/excalidraw-assets/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  76. package/dist/excalidraw-assets/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  77. package/dist/excalidraw-assets/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  78. package/dist/excalidraw-assets/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  79. package/dist/excalidraw-assets/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  80. package/dist/excalidraw-assets/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  81. package/dist/excalidraw-assets/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  82. package/dist/excalidraw-assets/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  83. package/dist/excalidraw-assets/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  84. package/dist/excalidraw-assets/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  85. package/dist/excalidraw-assets/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  86. package/dist/excalidraw-assets/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  87. package/dist/excalidraw-assets/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  88. package/dist/excalidraw-assets/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  89. package/dist/excalidraw-assets/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  90. package/dist/excalidraw-assets/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  91. package/dist/excalidraw-assets/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  92. package/dist/excalidraw-assets/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  93. package/dist/excalidraw-assets/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  94. package/dist/excalidraw-assets/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  95. package/dist/excalidraw-assets/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  96. package/dist/excalidraw-assets/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  97. package/dist/excalidraw-assets/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  98. package/dist/excalidraw-assets/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  99. package/dist/excalidraw-assets/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  100. package/dist/excalidraw-assets/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  101. package/dist/excalidraw-assets/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  102. package/dist/excalidraw-assets/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  103. package/dist/excalidraw-assets/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  104. package/dist/excalidraw-assets/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  105. package/dist/excalidraw-assets/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  106. package/dist/excalidraw-assets/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  107. package/dist/excalidraw-assets/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  108. package/dist/excalidraw-assets/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  109. package/dist/excalidraw-assets/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  110. package/dist/excalidraw-assets/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  111. package/dist/excalidraw-assets/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  112. package/dist/excalidraw-assets/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  113. package/dist/excalidraw-assets/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  114. package/dist/excalidraw-assets/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  115. package/dist/excalidraw-assets/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  116. package/dist/excalidraw-assets/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  117. package/dist/excalidraw-assets/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  118. package/dist/excalidraw-assets/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  119. package/dist/excalidraw-assets/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  120. package/dist/excalidraw-assets/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  121. package/dist/excalidraw-assets/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  122. package/dist/excalidraw-assets/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  123. package/dist/excalidraw-assets/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  124. package/dist/excalidraw-assets/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  125. package/dist/excalidraw-assets/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  126. package/dist/excalidraw-assets/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  127. package/dist/excalidraw-assets/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  128. package/dist/excalidraw-assets/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  129. package/dist/excalidraw-assets/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  130. package/dist/excalidraw-assets/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  131. package/dist/excalidraw-assets/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  132. package/dist/excalidraw-assets/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  133. package/dist/excalidraw-assets/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  134. package/dist/excalidraw-assets/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  135. package/dist/excalidraw-assets/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  136. package/dist/excalidraw-assets/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  137. package/dist/excalidraw-assets/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  138. package/dist/excalidraw-assets/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  139. package/dist/excalidraw-assets/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  140. package/dist/excalidraw-assets/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  141. package/dist/excalidraw-assets/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  142. package/dist/excalidraw-assets/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  143. package/dist/excalidraw-assets/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  144. package/dist/excalidraw-assets/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  145. package/dist/excalidraw-assets/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  146. package/dist/excalidraw-assets/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  147. package/dist/excalidraw-assets/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  148. package/dist/excalidraw-assets/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  149. package/dist/excalidraw-assets/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  150. package/dist/excalidraw-assets/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  151. package/dist/excalidraw-assets/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  152. package/dist/excalidraw-assets/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  153. package/dist/excalidraw-assets/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  154. package/dist/excalidraw-assets/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  155. package/dist/excalidraw-assets/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  156. package/dist/excalidraw-assets/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  157. package/dist/excalidraw-assets/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  158. package/dist/excalidraw-assets/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  159. package/dist/excalidraw-assets/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  160. package/dist/excalidraw-assets/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  161. package/dist/excalidraw-assets/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  162. package/dist/excalidraw-assets/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  163. package/dist/excalidraw-assets/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  164. package/dist/excalidraw-assets/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  165. package/dist/excalidraw-assets/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  166. package/dist/excalidraw-assets/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  167. package/dist/excalidraw-assets/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  168. package/dist/excalidraw-assets/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  169. package/dist/excalidraw-assets/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  170. package/dist/excalidraw-assets/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  171. package/dist/excalidraw-assets/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  172. package/dist/excalidraw-assets/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  173. package/dist/excalidraw-assets/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  174. package/dist/excalidraw-assets/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  175. package/dist/excalidraw-assets/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  176. package/dist/excalidraw-assets/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  177. package/dist/excalidraw-assets/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  178. package/dist/excalidraw-assets/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  179. package/dist/excalidraw-assets/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  180. package/dist/excalidraw-assets/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  181. package/dist/excalidraw-assets/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  182. package/dist/excalidraw-assets/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  183. package/dist/excalidraw-assets/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  184. package/dist/excalidraw-assets/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  185. package/dist/excalidraw-assets/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  186. package/dist/excalidraw-assets/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  187. package/dist/excalidraw-assets/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  188. package/dist/excalidraw-assets/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  189. package/dist/excalidraw-assets/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  190. package/dist/excalidraw-assets/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  191. package/dist/excalidraw-assets/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  192. package/dist/excalidraw-assets/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  193. package/dist/excalidraw-assets/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  194. package/dist/excalidraw-assets/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  195. package/dist/excalidraw-assets/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  196. package/dist/excalidraw-assets/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  197. package/dist/excalidraw-assets/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  198. package/dist/excalidraw-assets/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  199. package/dist/excalidraw-assets/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  200. package/dist/excalidraw-assets/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  201. package/dist/excalidraw-assets/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  202. package/dist/excalidraw-assets/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  203. package/dist/excalidraw-assets/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  204. package/dist/excalidraw-assets/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  205. package/dist/excalidraw-assets/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  206. package/dist/excalidraw-assets/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  207. package/dist/excalidraw-assets/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  208. package/dist/excalidraw-assets/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  209. package/dist/excalidraw-assets/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  210. package/dist/excalidraw-assets/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  211. package/dist/excalidraw-assets/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  212. package/dist/excalidraw-assets/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  213. package/dist/excalidraw-assets/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  214. package/dist/excalidraw-assets-dev/Assistant-Bold.woff2 +0 -0
  215. package/dist/excalidraw-assets-dev/Assistant-Medium.woff2 +0 -0
  216. package/dist/excalidraw-assets-dev/Assistant-Regular.woff2 +0 -0
  217. package/dist/excalidraw-assets-dev/Assistant-SemiBold.woff2 +0 -0
  218. package/dist/excalidraw-assets-dev/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
  219. package/dist/excalidraw-assets-dev/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
  220. package/dist/excalidraw-assets-dev/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
  221. package/dist/excalidraw-assets-dev/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
  222. package/dist/excalidraw-assets-dev/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
  223. package/dist/excalidraw-assets-dev/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
  224. package/dist/excalidraw-assets-dev/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
  225. package/dist/excalidraw-assets-dev/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
  226. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
  227. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
  228. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
  229. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
  230. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
  231. package/dist/excalidraw-assets-dev/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
  232. package/dist/excalidraw-assets-dev/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
  233. package/dist/excalidraw-assets-dev/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
  234. package/dist/excalidraw-assets-dev/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
  235. package/dist/excalidraw-assets-dev/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
  236. package/dist/excalidraw-assets-dev/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
  237. package/dist/excalidraw-assets-dev/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
  238. package/dist/excalidraw-assets-dev/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
  239. package/dist/excalidraw-assets-dev/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
  240. package/dist/excalidraw-assets-dev/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
  241. package/dist/excalidraw-assets-dev/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
  242. package/dist/excalidraw-assets-dev/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
  243. package/dist/excalidraw-assets-dev/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
  244. package/dist/excalidraw-assets-dev/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
  245. package/dist/excalidraw-assets-dev/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
  246. package/dist/excalidraw-assets-dev/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
  247. package/dist/excalidraw-assets-dev/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
  248. package/dist/excalidraw-assets-dev/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
  249. package/dist/excalidraw-assets-dev/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
  250. package/dist/excalidraw-assets-dev/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
  251. package/dist/excalidraw-assets-dev/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
  252. package/dist/excalidraw-assets-dev/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
  253. package/dist/excalidraw-assets-dev/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
  254. package/dist/excalidraw-assets-dev/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
  255. package/dist/excalidraw-assets-dev/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
  256. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
  257. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
  258. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
  259. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
  260. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
  261. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
  262. package/dist/excalidraw-assets-dev/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
  263. package/dist/excalidraw-assets-dev/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
  264. package/dist/excalidraw-assets-dev/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
  265. package/dist/excalidraw-assets-dev/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
  266. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
  267. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
  268. package/dist/excalidraw-assets-dev/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
  269. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
  270. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
  271. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
  272. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
  273. package/dist/excalidraw-assets-dev/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
  274. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
  275. package/dist/excalidraw-assets-dev/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
  276. package/dist/excalidraw-assets-dev/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
  277. package/dist/excalidraw-assets-dev/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
  278. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
  279. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
  280. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
  281. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
  282. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
  283. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
  284. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
  285. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
  286. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
  287. package/dist/excalidraw-assets-dev/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
  288. package/dist/excalidraw-assets-dev/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
  289. package/dist/excalidraw-assets-dev/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
  290. package/dist/excalidraw-assets-dev/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
  291. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
  292. package/dist/excalidraw-assets-dev/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
  293. package/dist/excalidraw-assets-dev/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
  294. package/dist/excalidraw-assets-dev/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
  295. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
  296. package/dist/excalidraw-assets-dev/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
  297. package/dist/excalidraw-assets-dev/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
  298. package/dist/excalidraw-assets-dev/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
  299. package/dist/excalidraw-assets-dev/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
  300. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
  301. package/dist/excalidraw-assets-dev/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
  302. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
  303. package/dist/excalidraw-assets-dev/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
  304. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
  305. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
  306. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
  307. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
  308. package/dist/excalidraw-assets-dev/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
  309. package/dist/excalidraw-assets-dev/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
  310. package/dist/excalidraw-assets-dev/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
  311. package/dist/excalidraw-assets-dev/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
  312. package/dist/excalidraw-assets-dev/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
  313. package/dist/excalidraw-assets-dev/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
  314. package/dist/excalidraw-assets-dev/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
  315. package/dist/excalidraw-assets-dev/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
  316. package/dist/excalidraw-assets-dev/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
  317. package/dist/excalidraw-assets-dev/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
  318. package/dist/excalidraw-assets-dev/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
  319. package/dist/excalidraw-assets-dev/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
  320. package/dist/excalidraw-assets-dev/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
  321. package/dist/excalidraw-assets-dev/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
  322. package/dist/excalidraw-assets-dev/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
  323. package/dist/excalidraw-assets-dev/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
  324. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
  325. package/dist/excalidraw-assets-dev/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
  326. package/dist/excalidraw-assets-dev/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
  327. package/dist/excalidraw-assets-dev/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
  328. package/dist/excalidraw-assets-dev/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
  329. package/dist/excalidraw-assets-dev/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
  330. package/dist/excalidraw-assets-dev/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
  331. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
  332. package/dist/excalidraw-assets-dev/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
  333. package/dist/excalidraw-assets-dev/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
  334. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
  335. package/dist/excalidraw-assets-dev/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
  336. package/dist/excalidraw-assets-dev/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
  337. package/dist/excalidraw-assets-dev/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
  338. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
  339. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
  340. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
  341. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
  342. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
  343. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
  344. package/dist/excalidraw-assets-dev/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
  345. package/dist/excalidraw-assets-dev/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
  346. package/dist/excalidraw-assets-dev/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
  347. package/dist/excalidraw-assets-dev/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
  348. package/dist/excalidraw-assets-dev/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
  349. package/dist/excalidraw-assets-dev/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
  350. package/dist/excalidraw-assets-dev/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
  351. package/dist/excalidraw-assets-dev/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
  352. package/dist/excalidraw-assets-dev/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
  353. package/dist/excalidraw-assets-dev/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
  354. package/dist/excalidraw-assets-dev/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
  355. package/dist/excalidraw-assets-dev/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
  356. package/dist/excalidraw-assets-dev/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
  357. package/dist/excalidraw-assets-dev/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
  358. package/dist/excalidraw-assets-dev/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
  359. package/dist/excalidraw-assets-dev/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
  360. package/dist/excalidraw-assets-dev/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
  361. package/dist/excalidraw-assets-dev/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
  362. package/dist/excalidraw-assets-dev/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
  363. package/dist/excalidraw-assets-dev/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
  364. package/dist/excalidraw-assets-dev/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
  365. package/dist/excalidraw-assets-dev/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
  366. package/dist/excalidraw-assets-dev/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
  367. package/dist/excalidraw-assets-dev/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
  368. package/dist/excalidraw-assets-dev/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
  369. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
  370. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
  371. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
  372. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
  373. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
  374. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
  375. package/dist/excalidraw-assets-dev/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
  376. package/dist/excalidraw-assets-dev/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
  377. package/dist/excalidraw-assets-dev/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
  378. package/dist/excalidraw-assets-dev/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
  379. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
  380. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
  381. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
  382. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
  383. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
  384. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
  385. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
  386. package/dist/excalidraw-assets-dev/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
  387. package/dist/excalidraw-assets-dev/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
  388. package/dist/excalidraw-assets-dev/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
  389. package/dist/excalidraw-assets-dev/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
  390. package/dist/excalidraw-assets-dev/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
  391. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
  392. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
  393. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
  394. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
  395. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
  396. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
  397. package/dist/excalidraw-assets-dev/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
  398. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
  399. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
  400. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
  401. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
  402. package/dist/excalidraw-assets-dev/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
  403. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
  404. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
  405. package/dist/excalidraw-assets-dev/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
  406. package/dist/excalidraw-assets-dev/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
  407. package/dist/excalidraw-assets-dev/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
  408. package/dist/excalidraw-assets-dev/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
  409. package/dist/excalidraw-assets-dev/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
  410. package/dist/excalidraw-assets-dev/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
  411. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
  412. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
  413. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
  414. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
  415. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
  416. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
  417. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
  418. package/dist/excalidraw-assets-dev/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
  419. package/dist/excalidraw-assets-dev/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
  420. package/dist/excalidraw-assets-dev/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
  421. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
  422. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
  423. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
  424. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
  425. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
  426. package/dist/excalidraw-assets-dev/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
  427. package/dist/excalidraw.development.js +21197 -0
  428. package/dist/excalidraw.production.min.js +2 -0
  429. package/dist/excalidraw.production.min.js.LICENSE.txt +54 -0
  430. package/dist/styles.development.css +7328 -0
  431. package/dist/styles.production.css +71 -0
  432. package/package.json +2 -1
  433. package/types/common/src/binary-heap.d.ts +12 -0
  434. package/types/common/src/colors.d.ts +62 -0
  435. package/types/common/src/commonObsidianUtils.d.ts +13 -0
  436. package/types/common/src/constants.d.ts +358 -0
  437. package/types/common/src/editorInterface.d.ts +35 -0
  438. package/types/common/src/emitter.d.ts +16 -0
  439. package/types/common/src/font-metadata.d.ts +48 -0
  440. package/types/common/src/index.d.ts +13 -0
  441. package/types/common/src/keys.d.ts +189 -0
  442. package/types/common/src/points.d.ts +9 -0
  443. package/types/common/src/promise-pool.d.ts +6 -0
  444. package/types/common/src/queue.d.ts +9 -0
  445. package/types/common/src/random.d.ts +4 -0
  446. package/types/common/src/url.d.ts +7 -0
  447. package/types/common/src/utility-types.d.ts +37 -0
  448. package/types/common/src/utils.d.ts +268 -0
  449. package/types/element/src/Scene.d.ts +80 -0
  450. package/types/element/src/align.d.ts +8 -0
  451. package/types/element/src/binding.d.ts +111 -0
  452. package/types/element/src/bounds.d.ts +89 -0
  453. package/types/element/src/collision.d.ts +32 -0
  454. package/types/element/src/comparisons.d.ts +8 -0
  455. package/types/element/src/containerCache.d.ts +11 -0
  456. package/types/element/src/cropElement.d.ts +19 -0
  457. package/types/element/src/delta.d.ts +228 -0
  458. package/types/element/src/distance.d.ts +3 -0
  459. package/types/element/src/distribute.d.ts +7 -0
  460. package/types/element/src/dragElements.d.ts +33 -0
  461. package/types/element/src/duplicate.d.ts +63 -0
  462. package/types/element/src/easingFunctions.d.ts +6 -0
  463. package/types/element/src/elbowArrow.d.ts +17 -0
  464. package/types/element/src/elementLink.d.ts +13 -0
  465. package/types/element/src/embeddable.d.ts +10 -0
  466. package/types/element/src/flowchart.d.ts +26 -0
  467. package/types/element/src/fractionalIndex.d.ts +57 -0
  468. package/types/element/src/frame.d.ts +70 -0
  469. package/types/element/src/groups.d.ts +34 -0
  470. package/types/element/src/heading.d.ts +15 -0
  471. package/types/element/src/image.d.ts +32 -0
  472. package/types/element/src/index.d.ts +58 -0
  473. package/types/element/src/linearElementEditor.d.ts +116 -0
  474. package/types/element/src/mutateElement.d.ts +21 -0
  475. package/types/element/src/newElement.d.ts +64 -0
  476. package/types/element/src/positionElementsOnGrid.d.ts +2 -0
  477. package/types/element/src/renderElement.d.ts +31 -0
  478. package/types/element/src/resizeElements.d.ts +39 -0
  479. package/types/element/src/resizeTest.d.ts +16 -0
  480. package/types/element/src/selection.d.ts +38 -0
  481. package/types/element/src/shape.d.ts +42 -0
  482. package/types/element/src/showSelectedShapeActions.d.ts +3 -0
  483. package/types/element/src/sizeHelpers.d.ts +35 -0
  484. package/types/element/src/sortElements.d.ts +2 -0
  485. package/types/element/src/store.d.ts +237 -0
  486. package/types/element/src/textElement.d.ts +40 -0
  487. package/types/element/src/textMeasurements.d.ts +41 -0
  488. package/types/element/src/textWrapping.d.ts +13 -0
  489. package/types/element/src/transformHandles.d.ts +56 -0
  490. package/types/element/src/typeChecks.d.ts +57 -0
  491. package/types/element/src/types.d.ts +308 -0
  492. package/types/element/src/utils.d.ts +31 -0
  493. package/types/element/src/zindex.d.ts +7 -0
  494. package/types/excalidraw/actions/actionAddToLibrary.d.ts +650 -0
  495. package/types/excalidraw/actions/actionAlign.d.ts +109 -0
  496. package/types/excalidraw/actions/actionBoundText.d.ts +470 -0
  497. package/types/excalidraw/actions/actionCanvas.d.ts +3384 -0
  498. package/types/excalidraw/actions/actionClipboard.d.ts +1418 -0
  499. package/types/excalidraw/actions/actionCropEditor.d.ts +229 -0
  500. package/types/excalidraw/actions/actionDeleteSelected.d.ts +690 -0
  501. package/types/excalidraw/actions/actionDistribute.d.ts +34 -0
  502. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +17 -0
  503. package/types/excalidraw/actions/actionElementLink.d.ts +251 -0
  504. package/types/excalidraw/actions/actionElementLock.d.ts +456 -0
  505. package/types/excalidraw/actions/actionEmbeddable.d.ts +226 -0
  506. package/types/excalidraw/actions/actionExport.d.ts +2016 -0
  507. package/types/excalidraw/actions/actionFinalize.d.ts +688 -0
  508. package/types/excalidraw/actions/actionFlip.d.ts +34 -0
  509. package/types/excalidraw/actions/actionFrame.d.ts +1421 -0
  510. package/types/excalidraw/actions/actionGroup.d.ts +468 -0
  511. package/types/excalidraw/actions/actionHistory.d.ts +6 -0
  512. package/types/excalidraw/actions/actionLinearEditor.d.ts +766 -0
  513. package/types/excalidraw/actions/actionLink.d.ts +230 -0
  514. package/types/excalidraw/actions/actionMenu.d.ts +220 -0
  515. package/types/excalidraw/actions/actionNavigate.d.ts +444 -0
  516. package/types/excalidraw/actions/actionProperties.d.ts +3631 -0
  517. package/types/excalidraw/actions/actionSelectAll.d.ts +229 -0
  518. package/types/excalidraw/actions/actionStyles.d.ts +243 -0
  519. package/types/excalidraw/actions/actionTextAutoResize.d.ts +17 -0
  520. package/types/excalidraw/actions/actionToggleGridMode.d.ts +232 -0
  521. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +230 -0
  522. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +223 -0
  523. package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  524. package/types/excalidraw/actions/actionToggleStats.d.ts +229 -0
  525. package/types/excalidraw/actions/actionToggleViewMode.d.ts +230 -0
  526. package/types/excalidraw/actions/actionToggleZenMode.d.ts +230 -0
  527. package/types/excalidraw/actions/actionTrayMenu.d.ts +225 -0
  528. package/types/excalidraw/actions/actionZindex.d.ts +74 -0
  529. package/types/excalidraw/actions/index.d.ts +30 -0
  530. package/types/excalidraw/actions/manager.d.ts +21 -0
  531. package/types/excalidraw/actions/register.d.ts +5 -0
  532. package/types/excalidraw/actions/shortcuts.d.ts +4 -0
  533. package/types/excalidraw/actions/types.d.ts +47 -0
  534. package/types/excalidraw/analytics.d.ts +1 -0
  535. package/types/excalidraw/animated-trail.d.ts +39 -0
  536. package/types/excalidraw/animation-frame-handler.d.ts +16 -0
  537. package/types/excalidraw/appState.d.ts +104 -0
  538. package/types/excalidraw/charts.d.ts +27 -0
  539. package/types/excalidraw/clients.d.ts +14 -0
  540. package/types/excalidraw/clipboard.d.ts +129 -0
  541. package/types/excalidraw/components/Actions.d.ts +48 -0
  542. package/types/excalidraw/components/ActiveConfirmDialog.d.ts +4 -0
  543. package/types/excalidraw/components/App.d.ts +576 -0
  544. package/types/excalidraw/components/Avatar.d.ts +11 -0
  545. package/types/excalidraw/components/BraveMeasureTextError.d.ts +2 -0
  546. package/types/excalidraw/components/Button.d.ts +17 -0
  547. package/types/excalidraw/components/ButtonIcon.d.ts +16 -0
  548. package/types/excalidraw/components/ButtonIconCycle.d.ts +11 -0
  549. package/types/excalidraw/components/ButtonSeparator.d.ts +1 -0
  550. package/types/excalidraw/components/Card.d.ts +6 -0
  551. package/types/excalidraw/components/CheckboxItem.d.ts +8 -0
  552. package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +10 -0
  553. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +23 -0
  554. package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +8 -0
  555. package/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -0
  556. package/types/excalidraw/components/ColorPicker/Picker.d.ts +19 -0
  557. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +10 -0
  558. package/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +5 -0
  559. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +9 -0
  560. package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +9 -0
  561. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +21 -0
  562. package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +20 -0
  563. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +19 -0
  564. package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -0
  565. package/types/excalidraw/components/CommandPalette/types.d.ts +25 -0
  566. package/types/excalidraw/components/ConfirmDialog.d.ts +10 -0
  567. package/types/excalidraw/components/ContextMenu.d.ts +16 -0
  568. package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  569. package/types/excalidraw/components/DarkModeToggle.d.ts +7 -0
  570. package/types/excalidraw/components/DefaultSidebar.d.ts +30 -0
  571. package/types/excalidraw/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +4 -0
  572. package/types/excalidraw/components/Dialog.d.ts +13 -0
  573. package/types/excalidraw/components/DialogActionButton.d.ts +10 -0
  574. package/types/excalidraw/components/ElementCanvasButtons.d.ts +7 -0
  575. package/types/excalidraw/components/ElementLinkDialog.d.ts +12 -0
  576. package/types/excalidraw/components/Ellipsify.d.ts +3 -0
  577. package/types/excalidraw/components/ErrorDialog.d.ts +5 -0
  578. package/types/excalidraw/components/ExcalidrawLogo.d.ts +15 -0
  579. package/types/excalidraw/components/EyeDropper.d.ts +27 -0
  580. package/types/excalidraw/components/FilledButton.d.ts +18 -0
  581. package/types/excalidraw/components/FixedSideContainer.d.ts +10 -0
  582. package/types/excalidraw/components/FollowMode/FollowMode.d.ts +10 -0
  583. package/types/excalidraw/components/FontPicker/FontPicker.d.ts +22 -0
  584. package/types/excalidraw/components/FontPicker/FontPickerList.d.ts +26 -0
  585. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +8 -0
  586. package/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +13 -0
  587. package/types/excalidraw/components/HandButton.d.ts +10 -0
  588. package/types/excalidraw/components/HelpButton.d.ts +7 -0
  589. package/types/excalidraw/components/HelpDialog.d.ts +4 -0
  590. package/types/excalidraw/components/HintViewer.d.ts +11 -0
  591. package/types/excalidraw/components/IconPicker.d.ts +15 -0
  592. package/types/excalidraw/components/ImageExportDialog.d.ts +14 -0
  593. package/types/excalidraw/components/InitializeApp.d.ts +10 -0
  594. package/types/excalidraw/components/InlineIcon.d.ts +5 -0
  595. package/types/excalidraw/components/Island.d.ts +10 -0
  596. package/types/excalidraw/components/JSONExportDialog.d.ts +15 -0
  597. package/types/excalidraw/components/LaserPointerButton.d.ts +10 -0
  598. package/types/excalidraw/components/LayerUI.d.ts +32 -0
  599. package/types/excalidraw/components/LibraryMenu.d.ts +10 -0
  600. package/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +7 -0
  601. package/types/excalidraw/components/LibraryMenuControlButtons.d.ts +9 -0
  602. package/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +17 -0
  603. package/types/excalidraw/components/LibraryMenuItems.d.ts +14 -0
  604. package/types/excalidraw/components/LibraryMenuSection.d.ts +23 -0
  605. package/types/excalidraw/components/LibraryUnit.d.ts +14 -0
  606. package/types/excalidraw/components/LoadingMessage.d.ts +5 -0
  607. package/types/excalidraw/components/LockButton.d.ts +10 -0
  608. package/types/excalidraw/components/MagicButton.d.ts +10 -0
  609. package/types/excalidraw/components/MobileMenu.d.ts +24 -0
  610. package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  611. package/types/excalidraw/components/Modal.d.ts +14 -0
  612. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
  613. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
  614. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
  615. package/types/excalidraw/components/Paragraph.d.ts +4 -0
  616. package/types/excalidraw/components/PasteChartDialog.d.ts +8 -0
  617. package/types/excalidraw/components/PenModeButton.d.ts +12 -0
  618. package/types/excalidraw/components/Popover.d.ts +16 -0
  619. package/types/excalidraw/components/ProjectName.d.ts +10 -0
  620. package/types/excalidraw/components/PropertiesPopover.d.ts +16 -0
  621. package/types/excalidraw/components/PublishLibrary.d.ts +16 -0
  622. package/types/excalidraw/components/QuickSearch.d.ts +9 -0
  623. package/types/excalidraw/components/RadioGroup.d.ts +13 -0
  624. package/types/excalidraw/components/RadioSelection.d.ts +20 -0
  625. package/types/excalidraw/components/Range.d.ts +8 -0
  626. package/types/excalidraw/components/SVGLayer.d.ts +7 -0
  627. package/types/excalidraw/components/ScrollableList.d.ts +8 -0
  628. package/types/excalidraw/components/SearchMenu.d.ts +5 -0
  629. package/types/excalidraw/components/Section.d.ts +7 -0
  630. package/types/excalidraw/components/ShareableLinkDialog.d.ts +7 -0
  631. package/types/excalidraw/components/Sidebar/Sidebar.d.ts +76 -0
  632. package/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +7 -0
  633. package/types/excalidraw/components/Sidebar/SidebarTab.d.ts +8 -0
  634. package/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +9 -0
  635. package/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +6 -0
  636. package/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +6 -0
  637. package/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +6 -0
  638. package/types/excalidraw/components/Sidebar/common.d.ts +34 -0
  639. package/types/excalidraw/components/Spinner.d.ts +8 -0
  640. package/types/excalidraw/components/Stack.d.ts +15 -0
  641. package/types/excalidraw/components/Stats/Angle.d.ts +11 -0
  642. package/types/excalidraw/components/Stats/CanvasGrid.d.ts +10 -0
  643. package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +10 -0
  644. package/types/excalidraw/components/Stats/Collapsible.d.ts +10 -0
  645. package/types/excalidraw/components/Stats/Dimension.d.ts +11 -0
  646. package/types/excalidraw/components/Stats/DragInput.d.ts +44 -0
  647. package/types/excalidraw/components/Stats/FontSize.d.ts +11 -0
  648. package/types/excalidraw/components/Stats/MultiAngle.d.ts +11 -0
  649. package/types/excalidraw/components/Stats/MultiDimension.d.ts +14 -0
  650. package/types/excalidraw/components/Stats/MultiFontSize.d.ts +12 -0
  651. package/types/excalidraw/components/Stats/MultiPosition.d.ts +14 -0
  652. package/types/excalidraw/components/Stats/Position.d.ts +12 -0
  653. package/types/excalidraw/components/Stats/index.d.ts +35 -0
  654. package/types/excalidraw/components/Stats/utils.d.ts +19 -0
  655. package/types/excalidraw/components/Switch.d.ts +9 -0
  656. package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +8 -0
  657. package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +10 -0
  658. package/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +29 -0
  659. package/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  660. package/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
  661. package/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +17 -0
  662. package/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  663. package/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -0
  664. package/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +7 -0
  665. package/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
  666. package/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
  667. package/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +11 -0
  668. package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  669. package/types/excalidraw/components/TTDDialog/common.d.ts +32 -0
  670. package/types/excalidraw/components/TextField.d.ts +22 -0
  671. package/types/excalidraw/components/Toast.d.ts +9 -0
  672. package/types/excalidraw/components/ToolButton.d.ts +49 -0
  673. package/types/excalidraw/components/ToolPopover.d.ts +25 -0
  674. package/types/excalidraw/components/Tooltip.d.ts +18 -0
  675. package/types/excalidraw/components/Trans.d.ts +9 -0
  676. package/types/excalidraw/components/TrayMenu.d.ts +26 -0
  677. package/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  678. package/types/excalidraw/components/UserList.d.ts +18 -0
  679. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +31 -0
  680. package/types/excalidraw/components/canvases/NewElementCanvas.d.ts +14 -0
  681. package/types/excalidraw/components/canvases/StaticCanvas.d.ts +19 -0
  682. package/types/excalidraw/components/canvases/index.d.ts +3 -0
  683. package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +88 -0
  684. package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +16 -0
  685. package/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -0
  686. package/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +46 -0
  687. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +8 -0
  688. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -0
  689. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +7 -0
  690. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +16 -0
  691. package/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +5 -0
  692. package/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +10 -0
  693. package/types/excalidraw/components/dropdownMenu/common.d.ts +6 -0
  694. package/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -0
  695. package/types/excalidraw/components/footer/Footer.d.ts +12 -0
  696. package/types/excalidraw/components/footer/FooterCenter.d.ts +8 -0
  697. package/types/excalidraw/components/hoc/withInternalFallback.d.ts +4 -0
  698. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +19 -0
  699. package/types/excalidraw/components/hyperlink/helpers.d.ts +10 -0
  700. package/types/excalidraw/components/icons.d.ts +237 -0
  701. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +22 -0
  702. package/types/excalidraw/components/main-menu/DefaultItems.d.ts +64 -0
  703. package/types/excalidraw/components/main-menu/MainMenu.d.ts +80 -0
  704. package/types/excalidraw/components/shapes.d.ts +172 -0
  705. package/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +60 -0
  706. package/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +19 -0
  707. package/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +86 -0
  708. package/types/excalidraw/context/tunnels.d.ts +21 -0
  709. package/types/excalidraw/context/ui-appState.d.ts +4 -0
  710. package/types/excalidraw/cursor.d.ts +6 -0
  711. package/types/excalidraw/data/EditorLocalStorage.d.ts +8 -0
  712. package/types/excalidraw/data/ai/types.d.ts +242 -0
  713. package/types/excalidraw/data/blob.d.ts +49 -0
  714. package/types/excalidraw/data/encode.d.ts +55 -0
  715. package/types/excalidraw/data/encryption.d.ts +9 -0
  716. package/types/excalidraw/data/filesystem.d.ts +21 -0
  717. package/types/excalidraw/data/image.d.ts +9 -0
  718. package/types/excalidraw/data/index.d.ts +22 -0
  719. package/types/excalidraw/data/json.d.ts +16 -0
  720. package/types/excalidraw/data/library.d.ts +112 -0
  721. package/types/excalidraw/data/reconcile.d.ts +7 -0
  722. package/types/excalidraw/data/resave.d.ts +5 -0
  723. package/types/excalidraw/data/restore.d.ts +26 -0
  724. package/types/excalidraw/data/transform.d.ts +81 -0
  725. package/types/excalidraw/data/types.d.ts +48 -0
  726. package/types/excalidraw/deburr.d.ts +1 -0
  727. package/types/excalidraw/dist/excalidraw.development.d.ts +2 -0
  728. package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -0
  729. package/types/excalidraw/editor-jotai.d.ts +56 -0
  730. package/types/excalidraw/entry.d.ts +1 -0
  731. package/types/excalidraw/env.d.cts +1 -0
  732. package/types/excalidraw/env.d.ts +1 -0
  733. package/types/excalidraw/eraser/index.d.ts +12 -0
  734. package/types/excalidraw/errors.d.ts +29 -0
  735. package/types/excalidraw/fonts/Cascadia/index.d.ts +2 -0
  736. package/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -0
  737. package/types/excalidraw/fonts/Emoji/index.d.ts +2 -0
  738. package/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +29 -0
  739. package/types/excalidraw/fonts/Excalifont/index.d.ts +2 -0
  740. package/types/excalidraw/fonts/Fonts.d.ts +90 -0
  741. package/types/excalidraw/fonts/Helvetica/index.d.ts +2 -0
  742. package/types/excalidraw/fonts/Liberation/index.d.ts +2 -0
  743. package/types/excalidraw/fonts/Lilita/index.d.ts +2 -0
  744. package/types/excalidraw/fonts/Nunito/index.d.ts +2 -0
  745. package/types/excalidraw/fonts/Virgil/index.d.ts +2 -0
  746. package/types/excalidraw/fonts/Xiaolai/index.d.ts +8 -0
  747. package/types/excalidraw/fonts/index.d.ts +1 -0
  748. package/types/excalidraw/gesture.d.ts +6 -0
  749. package/types/excalidraw/history.d.ts +48 -0
  750. package/types/excalidraw/hooks/useCallbackRefState.d.ts +1 -0
  751. package/types/excalidraw/hooks/useCopiedIndicator.d.ts +5 -0
  752. package/types/excalidraw/hooks/useCreatePortalContainer.d.ts +7 -0
  753. package/types/excalidraw/hooks/useEmitter.d.ts +2 -0
  754. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +11 -0
  755. package/types/excalidraw/hooks/useOutsideClick.d.ts +19 -0
  756. package/types/excalidraw/hooks/useScrollPosition.d.ts +1 -0
  757. package/types/excalidraw/hooks/useStable.d.ts +1 -0
  758. package/types/excalidraw/hooks/useStableCallback.d.ts +4 -0
  759. package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  760. package/types/excalidraw/hooks/useTransition.d.ts +2 -0
  761. package/types/excalidraw/i18n.d.ts +24 -0
  762. package/types/excalidraw/index-node.d.ts +1 -0
  763. package/types/excalidraw/index.d.ts +60 -0
  764. package/types/excalidraw/laser-trails.d.ts +20 -0
  765. package/types/excalidraw/lasso/index.d.ts +16 -0
  766. package/types/excalidraw/lasso/utils.d.ts +13 -0
  767. package/types/excalidraw/main.d.ts +2 -0
  768. package/types/excalidraw/mermaid.d.ts +2 -0
  769. package/types/excalidraw/obsidianUtils.d.ts +46 -0
  770. package/types/excalidraw/polyfill.d.ts +2 -0
  771. package/types/excalidraw/publicPath.d.ts +1 -0
  772. package/types/excalidraw/reactUtils.d.ts +14 -0
  773. package/types/excalidraw/renderer/helpers.d.ts +18 -0
  774. package/types/excalidraw/renderer/interactiveScene.d.ts +20 -0
  775. package/types/excalidraw/renderer/renderNewElementScene.d.ts +7 -0
  776. package/types/excalidraw/renderer/renderSnaps.d.ts +2 -0
  777. package/types/excalidraw/renderer/roundRect.d.ts +11 -0
  778. package/types/excalidraw/renderer/staticScene.d.ts +14 -0
  779. package/types/excalidraw/renderer/staticSvgScene.d.ts +5 -0
  780. package/types/excalidraw/scene/Renderer.d.ts +27 -0
  781. package/types/excalidraw/scene/export.d.ts +37 -0
  782. package/types/excalidraw/scene/index.d.ts +4 -0
  783. package/types/excalidraw/scene/normalize.d.ts +4 -0
  784. package/types/excalidraw/scene/scroll.d.ts +23 -0
  785. package/types/excalidraw/scene/scrollbars.d.ts +11 -0
  786. package/types/excalidraw/scene/types.d.ts +122 -0
  787. package/types/excalidraw/scene/zoom.d.ts +12 -0
  788. package/types/excalidraw/shortcut.d.ts +1 -0
  789. package/types/excalidraw/snapping.d.ts +111 -0
  790. package/types/excalidraw/subset/harfbuzz/harfbuzz-bindings.d.ts +45 -0
  791. package/types/excalidraw/subset/harfbuzz/harfbuzz-loader.d.ts +13 -0
  792. package/types/excalidraw/subset/harfbuzz/harfbuzz-wasm.d.ts +2 -0
  793. package/types/excalidraw/subset/subset-main.d.ts +12 -0
  794. package/types/excalidraw/subset/subset-shared.chunk.d.ts +32 -0
  795. package/types/excalidraw/subset/subset-worker.chunk.d.ts +15 -0
  796. package/types/excalidraw/subset/woff2/woff2-bindings.d.ts +31 -0
  797. package/types/excalidraw/subset/woff2/woff2-loader.d.ts +14 -0
  798. package/types/excalidraw/subset/woff2/woff2-wasm.d.ts +2 -0
  799. package/types/excalidraw/types.d.ts +788 -0
  800. package/types/excalidraw/webpack.dev.config.d.ts +116 -0
  801. package/types/excalidraw/webpack.prod.config.d.ts +130 -0
  802. package/types/excalidraw/workers.d.ts +36 -0
  803. package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +24 -0
  804. package/types/math/src/angle.d.ts +19 -0
  805. package/types/math/src/constants.d.ts +3 -0
  806. package/types/math/src/curve.d.ts +74 -0
  807. package/types/math/src/ellipse.d.ts +44 -0
  808. package/types/math/src/index.d.ts +13 -0
  809. package/types/math/src/line.d.ts +17 -0
  810. package/types/math/src/point.d.ts +122 -0
  811. package/types/math/src/polygon.d.ts +6 -0
  812. package/types/math/src/range.d.ts +44 -0
  813. package/types/math/src/rectangle.d.ts +5 -0
  814. package/types/math/src/segment.d.ts +40 -0
  815. package/types/math/src/triangle.d.ts +11 -0
  816. package/types/math/src/types.d.ts +106 -0
  817. package/types/math/src/utils.d.ts +7 -0
  818. package/types/math/src/vector.d.ts +94 -0
  819. package/types/utils/src/bbox.d.ts +9 -0
  820. package/types/utils/src/export.d.ts +35 -0
  821. package/types/utils/src/index.d.ts +4 -0
  822. package/types/utils/src/shape.d.ts +58 -0
  823. package/types/utils/src/withinBounds.d.ts +19 -0
@@ -0,0 +1,3384 @@
1
+ import { type SceneBounds } from "@excalidraw/element";
2
+ import type { ExcalidrawElement } from "@excalidraw/element/types";
3
+ import type { AppClassProperties, AppState, Offsets } from "../types";
4
+ export declare const actionChangeViewBackgroundColor: {
5
+ name: "changeViewBackgroundColor";
6
+ label: string;
7
+ trackEvent: false;
8
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
9
+ perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
10
+ appState: any;
11
+ captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
12
+ };
13
+ PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
14
+ } & {
15
+ keyTest?: undefined;
16
+ };
17
+ export declare const actionClearCanvas: {
18
+ name: "clearCanvas";
19
+ label: string;
20
+ icon: import("react/jsx-runtime").JSX.Element;
21
+ trackEvent: {
22
+ category: "canvas";
23
+ };
24
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
25
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
26
+ elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
27
+ appState: {
28
+ files: {};
29
+ theme: import("@excalidraw/element/types").Theme;
30
+ penMode: boolean;
31
+ penDetected: boolean;
32
+ exportBackground: boolean;
33
+ exportEmbedScene: boolean;
34
+ gridSize: number;
35
+ gridStep: number;
36
+ gridModeEnabled: boolean;
37
+ stats: {
38
+ open: boolean;
39
+ panels: number;
40
+ };
41
+ pasteDialog: {
42
+ shown: false;
43
+ data: null;
44
+ } | {
45
+ shown: true;
46
+ data: import("../charts").Spreadsheet;
47
+ };
48
+ activeTool: {
49
+ lastActiveTool: import("../types").ActiveTool | null;
50
+ locked: boolean;
51
+ fromSelection: boolean;
52
+ } & import("../types").ActiveTool;
53
+ colorPalette: {
54
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
55
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
56
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
57
+ topPicks: {
58
+ canvasBackground: [string, string, string, string, string];
59
+ elementStroke: [string, string, string, string, string];
60
+ elementBackground: [string, string, string, string, string];
61
+ };
62
+ } | undefined;
63
+ allowPinchZoom: boolean | undefined;
64
+ allowWheelZoom: boolean | undefined;
65
+ pinnedScripts: string[] | undefined;
66
+ customPens: any[] | undefined;
67
+ viewBackgroundColor: string;
68
+ frameRendering: {
69
+ enabled: boolean;
70
+ name: boolean;
71
+ outline: boolean;
72
+ clip: boolean;
73
+ markerName: boolean;
74
+ markerEnabled: boolean;
75
+ };
76
+ frameColor: {
77
+ stroke: string;
78
+ fill: string;
79
+ nameColor: string;
80
+ };
81
+ name: string | null;
82
+ zoom: Readonly<{
83
+ value: import("../types").NormalizedZoomValue;
84
+ }>;
85
+ scrollX: number;
86
+ scrollY: number;
87
+ viewModeEnabled: boolean;
88
+ openDialog: {
89
+ name: "help" | "imageExport" | "jsonExport";
90
+ } | {
91
+ name: "ttd";
92
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
93
+ } | {
94
+ name: "commandPalette";
95
+ } | {
96
+ name: "elementLinkSelector";
97
+ sourceElementId: string;
98
+ } | null;
99
+ editingGroupId: string | null;
100
+ selectedElementIds: Readonly<{
101
+ [id: string]: true;
102
+ }>;
103
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
104
+ activeEmbeddable: {
105
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
106
+ state: "active" | "hover";
107
+ } | null;
108
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
109
+ selectedGroupIds: {
110
+ [groupId: string]: boolean;
111
+ };
112
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
113
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
114
+ isBindingEnabled: boolean;
115
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
116
+ isRotating: boolean;
117
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
118
+ collaborators: Map<import("../types").SocketId, Readonly<{
119
+ pointer?: import("../types").CollaboratorPointer | undefined;
120
+ button?: "up" | "down" | undefined;
121
+ selectedElementIds?: Readonly<{
122
+ [id: string]: true;
123
+ }> | undefined;
124
+ username?: string | null | undefined;
125
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
126
+ color?: {
127
+ background: string;
128
+ stroke: string;
129
+ } | undefined;
130
+ avatarUrl?: string | undefined;
131
+ id?: string | undefined;
132
+ socketId?: import("../types").SocketId | undefined;
133
+ isCurrentUser?: boolean | undefined;
134
+ isInCall?: boolean | undefined;
135
+ isSpeaking?: boolean | undefined;
136
+ isMuted?: boolean | undefined;
137
+ }>>;
138
+ snapLines: readonly import("../snapping").SnapLine[];
139
+ zenModeEnabled: boolean;
140
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
141
+ gridColor: {
142
+ Bold: string;
143
+ Regular: string;
144
+ };
145
+ gridDirection: {
146
+ horizontal: boolean;
147
+ vertical: boolean;
148
+ };
149
+ highlightSearchResult: boolean;
150
+ isCropping: boolean;
151
+ croppingElementId: string | null;
152
+ searchMatches: Readonly<{
153
+ focusedId: string | null;
154
+ matches: readonly import("../types").SearchMatch[];
155
+ }> | null;
156
+ activeLockedId: string | null;
157
+ contextMenu: {
158
+ items: import("../components/ContextMenu").ContextMenuItems;
159
+ top: number;
160
+ left: number;
161
+ } | null;
162
+ showWelcomeScreen: boolean;
163
+ isLoading: boolean;
164
+ errorMessage: import("react").ReactNode;
165
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
166
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
167
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
168
+ editingFrame: string | null;
169
+ preferredSelectionTool: {
170
+ type: "selection" | "lasso";
171
+ initialized: boolean;
172
+ };
173
+ exportWithDarkMode: boolean;
174
+ exportScale: number;
175
+ currentItemStrokeColor: string;
176
+ currentItemBackgroundColor: string;
177
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
178
+ currentItemStrokeWidth: number;
179
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
180
+ currentItemRoughness: number;
181
+ currentItemOpacity: number;
182
+ currentItemFontFamily: number;
183
+ currentItemFontSize: number;
184
+ currentItemTextAlign: string;
185
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
186
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
187
+ currentHoveredFontFamily: number | null;
188
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
189
+ currentItemArrowType: "round" | "sharp" | "elbow";
190
+ currentItemFrameRole: ("marker" | null) | undefined;
191
+ cursorButton: "up" | "down";
192
+ scrolledOutside: boolean;
193
+ isResizing: boolean;
194
+ openMenu: "canvas" | "shape" | null;
195
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
196
+ openSidebar: {
197
+ name: string;
198
+ tab?: string | undefined;
199
+ } | null;
200
+ defaultSidebarDockedPreference: boolean;
201
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
202
+ hoveredElementIds: Readonly<{
203
+ [id: string]: true;
204
+ }>;
205
+ previousSelectedElementIds: {
206
+ [id: string]: true;
207
+ };
208
+ selectedElementsAreBeingDragged: boolean;
209
+ shouldCacheIgnoreZoom: boolean;
210
+ toast: {
211
+ message: string;
212
+ closable?: boolean | undefined;
213
+ duration?: number | undefined;
214
+ } | null;
215
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
216
+ currentChartType: import("@excalidraw/element/types").ChartType;
217
+ showHyperlinkPopup: false | "info" | "editor";
218
+ linkOpacity: number;
219
+ currentStrokeOptions?: any;
220
+ resetCustomPen?: any;
221
+ dynamicStyle: {
222
+ [x: string]: string;
223
+ };
224
+ invertBindingBehaviour: boolean;
225
+ originSnapOffset: {
226
+ x: number;
227
+ y: number;
228
+ } | null;
229
+ objectsSnapModeEnabled: boolean;
230
+ userToFollow: import("../types").UserToFollow | null;
231
+ followedBy: Set<import("../types").SocketId>;
232
+ lockedMultiSelections: {
233
+ [groupId: string]: true;
234
+ };
235
+ };
236
+ captureUpdate: "IMMEDIATELY";
237
+ };
238
+ } & {
239
+ keyTest?: undefined;
240
+ };
241
+ export declare const actionZoomIn: {
242
+ name: "zoomIn";
243
+ label: string;
244
+ viewMode: true;
245
+ icon: import("react/jsx-runtime").JSX.Element;
246
+ trackEvent: {
247
+ category: "canvas";
248
+ };
249
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
250
+ appState: {
251
+ userToFollow: null;
252
+ scrollX: number;
253
+ scrollY: number;
254
+ zoom: {
255
+ value: import("../types").NormalizedZoomValue;
256
+ };
257
+ contextMenu: {
258
+ items: import("../components/ContextMenu").ContextMenuItems;
259
+ top: number;
260
+ left: number;
261
+ } | null;
262
+ showWelcomeScreen: boolean;
263
+ isLoading: boolean;
264
+ errorMessage: import("react").ReactNode;
265
+ activeEmbeddable: {
266
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
267
+ state: "active" | "hover";
268
+ } | null;
269
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
270
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
271
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
272
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
273
+ isBindingEnabled: boolean;
274
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
275
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
276
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
277
+ frameRendering: {
278
+ enabled: boolean;
279
+ name: boolean;
280
+ outline: boolean;
281
+ clip: boolean;
282
+ markerName: boolean;
283
+ markerEnabled: boolean;
284
+ };
285
+ editingFrame: string | null;
286
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
287
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
288
+ activeTool: {
289
+ lastActiveTool: import("../types").ActiveTool | null;
290
+ locked: boolean;
291
+ fromSelection: boolean;
292
+ } & import("../types").ActiveTool;
293
+ preferredSelectionTool: {
294
+ type: "selection" | "lasso";
295
+ initialized: boolean;
296
+ };
297
+ penMode: boolean;
298
+ penDetected: boolean;
299
+ exportBackground: boolean;
300
+ exportEmbedScene: boolean;
301
+ exportWithDarkMode: boolean;
302
+ exportScale: number;
303
+ currentItemStrokeColor: string;
304
+ currentItemBackgroundColor: string;
305
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
306
+ currentItemStrokeWidth: number;
307
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
308
+ currentItemRoughness: number;
309
+ currentItemOpacity: number;
310
+ currentItemFontFamily: number;
311
+ currentItemFontSize: number;
312
+ currentItemTextAlign: string;
313
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
314
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
315
+ currentHoveredFontFamily: number | null;
316
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
317
+ currentItemArrowType: "round" | "sharp" | "elbow";
318
+ currentItemFrameRole: ("marker" | null) | undefined;
319
+ viewBackgroundColor: string;
320
+ cursorButton: "up" | "down";
321
+ scrolledOutside: boolean;
322
+ name: string | null;
323
+ isResizing: boolean;
324
+ isRotating: boolean;
325
+ openMenu: "canvas" | "shape" | null;
326
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
327
+ openSidebar: {
328
+ name: string;
329
+ tab?: string | undefined;
330
+ } | null;
331
+ openDialog: {
332
+ name: "help" | "imageExport" | "jsonExport";
333
+ } | {
334
+ name: "ttd";
335
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
336
+ } | {
337
+ name: "commandPalette";
338
+ } | {
339
+ name: "elementLinkSelector";
340
+ sourceElementId: string;
341
+ } | null;
342
+ defaultSidebarDockedPreference: boolean;
343
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
344
+ selectedElementIds: Readonly<{
345
+ [id: string]: true;
346
+ }>;
347
+ hoveredElementIds: Readonly<{
348
+ [id: string]: true;
349
+ }>;
350
+ previousSelectedElementIds: {
351
+ [id: string]: true;
352
+ };
353
+ selectedElementsAreBeingDragged: boolean;
354
+ shouldCacheIgnoreZoom: boolean;
355
+ toast: {
356
+ message: string;
357
+ closable?: boolean | undefined;
358
+ duration?: number | undefined;
359
+ } | null;
360
+ zenModeEnabled: boolean;
361
+ theme: import("@excalidraw/element/types").Theme;
362
+ gridSize: number;
363
+ gridStep: number;
364
+ gridModeEnabled: boolean;
365
+ viewModeEnabled: boolean;
366
+ selectedGroupIds: {
367
+ [groupId: string]: boolean;
368
+ };
369
+ editingGroupId: string | null;
370
+ width: number;
371
+ height: number;
372
+ offsetTop: number;
373
+ offsetLeft: number;
374
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
375
+ collaborators: Map<import("../types").SocketId, Readonly<{
376
+ pointer?: import("../types").CollaboratorPointer | undefined;
377
+ button?: "up" | "down" | undefined;
378
+ selectedElementIds?: Readonly<{
379
+ [id: string]: true;
380
+ }> | undefined;
381
+ username?: string | null | undefined;
382
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
383
+ color?: {
384
+ background: string;
385
+ stroke: string;
386
+ } | undefined;
387
+ avatarUrl?: string | undefined;
388
+ id?: string | undefined;
389
+ socketId?: import("../types").SocketId | undefined;
390
+ isCurrentUser?: boolean | undefined;
391
+ isInCall?: boolean | undefined;
392
+ isSpeaking?: boolean | undefined;
393
+ isMuted?: boolean | undefined;
394
+ }>>;
395
+ stats: {
396
+ open: boolean;
397
+ panels: number;
398
+ };
399
+ currentChartType: import("@excalidraw/element/types").ChartType;
400
+ pasteDialog: {
401
+ shown: false;
402
+ data: null;
403
+ } | {
404
+ shown: true;
405
+ data: import("../charts").Spreadsheet;
406
+ };
407
+ showHyperlinkPopup: false | "info" | "editor";
408
+ linkOpacity: number;
409
+ colorPalette?: {
410
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
411
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
412
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
413
+ topPicks: {
414
+ canvasBackground: [string, string, string, string, string];
415
+ elementStroke: [string, string, string, string, string];
416
+ elementBackground: [string, string, string, string, string];
417
+ };
418
+ } | undefined;
419
+ allowWheelZoom?: boolean | undefined;
420
+ allowPinchZoom?: boolean | undefined;
421
+ pinnedScripts?: string[] | undefined;
422
+ customPens?: any[] | undefined;
423
+ currentStrokeOptions?: any;
424
+ resetCustomPen?: any;
425
+ gridColor: {
426
+ Bold: string;
427
+ Regular: string;
428
+ };
429
+ gridDirection: {
430
+ horizontal: boolean;
431
+ vertical: boolean;
432
+ };
433
+ highlightSearchResult: boolean;
434
+ dynamicStyle: {
435
+ [x: string]: string;
436
+ };
437
+ frameColor: {
438
+ stroke: string;
439
+ fill: string;
440
+ nameColor: string;
441
+ };
442
+ invertBindingBehaviour: boolean;
443
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
444
+ snapLines: readonly import("../snapping").SnapLine[];
445
+ originSnapOffset: {
446
+ x: number;
447
+ y: number;
448
+ } | null;
449
+ objectsSnapModeEnabled: boolean;
450
+ followedBy: Set<import("../types").SocketId>;
451
+ isCropping: boolean;
452
+ croppingElementId: string | null;
453
+ searchMatches: Readonly<{
454
+ focusedId: string | null;
455
+ matches: readonly import("../types").SearchMatch[];
456
+ }> | null;
457
+ activeLockedId: string | null;
458
+ lockedMultiSelections: {
459
+ [groupId: string]: true;
460
+ };
461
+ };
462
+ captureUpdate: "EVENTUALLY";
463
+ };
464
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
465
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
466
+ } & {
467
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
468
+ };
469
+ export declare const actionZoomOut: {
470
+ name: "zoomOut";
471
+ label: string;
472
+ icon: import("react/jsx-runtime").JSX.Element;
473
+ viewMode: true;
474
+ trackEvent: {
475
+ category: "canvas";
476
+ };
477
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
478
+ appState: {
479
+ userToFollow: null;
480
+ scrollX: number;
481
+ scrollY: number;
482
+ zoom: {
483
+ value: import("../types").NormalizedZoomValue;
484
+ };
485
+ contextMenu: {
486
+ items: import("../components/ContextMenu").ContextMenuItems;
487
+ top: number;
488
+ left: number;
489
+ } | null;
490
+ showWelcomeScreen: boolean;
491
+ isLoading: boolean;
492
+ errorMessage: import("react").ReactNode;
493
+ activeEmbeddable: {
494
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
495
+ state: "active" | "hover";
496
+ } | null;
497
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
498
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
499
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
500
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
501
+ isBindingEnabled: boolean;
502
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
503
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
504
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
505
+ frameRendering: {
506
+ enabled: boolean;
507
+ name: boolean;
508
+ outline: boolean;
509
+ clip: boolean;
510
+ markerName: boolean;
511
+ markerEnabled: boolean;
512
+ };
513
+ editingFrame: string | null;
514
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
515
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
516
+ activeTool: {
517
+ lastActiveTool: import("../types").ActiveTool | null;
518
+ locked: boolean;
519
+ fromSelection: boolean;
520
+ } & import("../types").ActiveTool;
521
+ preferredSelectionTool: {
522
+ type: "selection" | "lasso";
523
+ initialized: boolean;
524
+ };
525
+ penMode: boolean;
526
+ penDetected: boolean;
527
+ exportBackground: boolean;
528
+ exportEmbedScene: boolean;
529
+ exportWithDarkMode: boolean;
530
+ exportScale: number;
531
+ currentItemStrokeColor: string;
532
+ currentItemBackgroundColor: string;
533
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
534
+ currentItemStrokeWidth: number;
535
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
536
+ currentItemRoughness: number;
537
+ currentItemOpacity: number;
538
+ currentItemFontFamily: number;
539
+ currentItemFontSize: number;
540
+ currentItemTextAlign: string;
541
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
542
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
543
+ currentHoveredFontFamily: number | null;
544
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
545
+ currentItemArrowType: "round" | "sharp" | "elbow";
546
+ currentItemFrameRole: ("marker" | null) | undefined;
547
+ viewBackgroundColor: string;
548
+ cursorButton: "up" | "down";
549
+ scrolledOutside: boolean;
550
+ name: string | null;
551
+ isResizing: boolean;
552
+ isRotating: boolean;
553
+ openMenu: "canvas" | "shape" | null;
554
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
555
+ openSidebar: {
556
+ name: string;
557
+ tab?: string | undefined;
558
+ } | null;
559
+ openDialog: {
560
+ name: "help" | "imageExport" | "jsonExport";
561
+ } | {
562
+ name: "ttd";
563
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
564
+ } | {
565
+ name: "commandPalette";
566
+ } | {
567
+ name: "elementLinkSelector";
568
+ sourceElementId: string;
569
+ } | null;
570
+ defaultSidebarDockedPreference: boolean;
571
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
572
+ selectedElementIds: Readonly<{
573
+ [id: string]: true;
574
+ }>;
575
+ hoveredElementIds: Readonly<{
576
+ [id: string]: true;
577
+ }>;
578
+ previousSelectedElementIds: {
579
+ [id: string]: true;
580
+ };
581
+ selectedElementsAreBeingDragged: boolean;
582
+ shouldCacheIgnoreZoom: boolean;
583
+ toast: {
584
+ message: string;
585
+ closable?: boolean | undefined;
586
+ duration?: number | undefined;
587
+ } | null;
588
+ zenModeEnabled: boolean;
589
+ theme: import("@excalidraw/element/types").Theme;
590
+ gridSize: number;
591
+ gridStep: number;
592
+ gridModeEnabled: boolean;
593
+ viewModeEnabled: boolean;
594
+ selectedGroupIds: {
595
+ [groupId: string]: boolean;
596
+ };
597
+ editingGroupId: string | null;
598
+ width: number;
599
+ height: number;
600
+ offsetTop: number;
601
+ offsetLeft: number;
602
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
603
+ collaborators: Map<import("../types").SocketId, Readonly<{
604
+ pointer?: import("../types").CollaboratorPointer | undefined;
605
+ button?: "up" | "down" | undefined;
606
+ selectedElementIds?: Readonly<{
607
+ [id: string]: true;
608
+ }> | undefined;
609
+ username?: string | null | undefined;
610
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
611
+ color?: {
612
+ background: string;
613
+ stroke: string;
614
+ } | undefined;
615
+ avatarUrl?: string | undefined;
616
+ id?: string | undefined;
617
+ socketId?: import("../types").SocketId | undefined;
618
+ isCurrentUser?: boolean | undefined;
619
+ isInCall?: boolean | undefined;
620
+ isSpeaking?: boolean | undefined;
621
+ isMuted?: boolean | undefined;
622
+ }>>;
623
+ stats: {
624
+ open: boolean;
625
+ panels: number;
626
+ };
627
+ currentChartType: import("@excalidraw/element/types").ChartType;
628
+ pasteDialog: {
629
+ shown: false;
630
+ data: null;
631
+ } | {
632
+ shown: true;
633
+ data: import("../charts").Spreadsheet;
634
+ };
635
+ showHyperlinkPopup: false | "info" | "editor";
636
+ linkOpacity: number;
637
+ colorPalette?: {
638
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
639
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
640
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
641
+ topPicks: {
642
+ canvasBackground: [string, string, string, string, string];
643
+ elementStroke: [string, string, string, string, string];
644
+ elementBackground: [string, string, string, string, string];
645
+ };
646
+ } | undefined;
647
+ allowWheelZoom?: boolean | undefined;
648
+ allowPinchZoom?: boolean | undefined;
649
+ pinnedScripts?: string[] | undefined;
650
+ customPens?: any[] | undefined;
651
+ currentStrokeOptions?: any;
652
+ resetCustomPen?: any;
653
+ gridColor: {
654
+ Bold: string;
655
+ Regular: string;
656
+ };
657
+ gridDirection: {
658
+ horizontal: boolean;
659
+ vertical: boolean;
660
+ };
661
+ highlightSearchResult: boolean;
662
+ dynamicStyle: {
663
+ [x: string]: string;
664
+ };
665
+ frameColor: {
666
+ stroke: string;
667
+ fill: string;
668
+ nameColor: string;
669
+ };
670
+ invertBindingBehaviour: boolean;
671
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
672
+ snapLines: readonly import("../snapping").SnapLine[];
673
+ originSnapOffset: {
674
+ x: number;
675
+ y: number;
676
+ } | null;
677
+ objectsSnapModeEnabled: boolean;
678
+ followedBy: Set<import("../types").SocketId>;
679
+ isCropping: boolean;
680
+ croppingElementId: string | null;
681
+ searchMatches: Readonly<{
682
+ focusedId: string | null;
683
+ matches: readonly import("../types").SearchMatch[];
684
+ }> | null;
685
+ activeLockedId: string | null;
686
+ lockedMultiSelections: {
687
+ [groupId: string]: true;
688
+ };
689
+ };
690
+ captureUpdate: "EVENTUALLY";
691
+ };
692
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
693
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
694
+ } & {
695
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
696
+ };
697
+ export declare const actionResetZoom: {
698
+ name: "resetZoom";
699
+ label: string;
700
+ icon: import("react/jsx-runtime").JSX.Element;
701
+ viewMode: true;
702
+ trackEvent: {
703
+ category: "canvas";
704
+ };
705
+ perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
706
+ appState: {
707
+ userToFollow: null;
708
+ scrollX: number;
709
+ scrollY: number;
710
+ zoom: {
711
+ value: import("../types").NormalizedZoomValue;
712
+ };
713
+ contextMenu: {
714
+ items: import("../components/ContextMenu").ContextMenuItems;
715
+ top: number;
716
+ left: number;
717
+ } | null;
718
+ showWelcomeScreen: boolean;
719
+ isLoading: boolean;
720
+ errorMessage: import("react").ReactNode;
721
+ activeEmbeddable: {
722
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
723
+ state: "active" | "hover";
724
+ } | null;
725
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
726
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
727
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
728
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
729
+ isBindingEnabled: boolean;
730
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
731
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
732
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
733
+ frameRendering: {
734
+ enabled: boolean;
735
+ name: boolean;
736
+ outline: boolean;
737
+ clip: boolean;
738
+ markerName: boolean;
739
+ markerEnabled: boolean;
740
+ };
741
+ editingFrame: string | null;
742
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
743
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
744
+ activeTool: {
745
+ lastActiveTool: import("../types").ActiveTool | null;
746
+ locked: boolean;
747
+ fromSelection: boolean;
748
+ } & import("../types").ActiveTool;
749
+ preferredSelectionTool: {
750
+ type: "selection" | "lasso";
751
+ initialized: boolean;
752
+ };
753
+ penMode: boolean;
754
+ penDetected: boolean;
755
+ exportBackground: boolean;
756
+ exportEmbedScene: boolean;
757
+ exportWithDarkMode: boolean;
758
+ exportScale: number;
759
+ currentItemStrokeColor: string;
760
+ currentItemBackgroundColor: string;
761
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
762
+ currentItemStrokeWidth: number;
763
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
764
+ currentItemRoughness: number;
765
+ currentItemOpacity: number;
766
+ currentItemFontFamily: number;
767
+ currentItemFontSize: number;
768
+ currentItemTextAlign: string;
769
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
770
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
771
+ currentHoveredFontFamily: number | null;
772
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
773
+ currentItemArrowType: "round" | "sharp" | "elbow";
774
+ currentItemFrameRole: ("marker" | null) | undefined;
775
+ viewBackgroundColor: string;
776
+ cursorButton: "up" | "down";
777
+ scrolledOutside: boolean;
778
+ name: string | null;
779
+ isResizing: boolean;
780
+ isRotating: boolean;
781
+ openMenu: "canvas" | "shape" | null;
782
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
783
+ openSidebar: {
784
+ name: string;
785
+ tab?: string | undefined;
786
+ } | null;
787
+ openDialog: {
788
+ name: "help" | "imageExport" | "jsonExport";
789
+ } | {
790
+ name: "ttd";
791
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
792
+ } | {
793
+ name: "commandPalette";
794
+ } | {
795
+ name: "elementLinkSelector";
796
+ sourceElementId: string;
797
+ } | null;
798
+ defaultSidebarDockedPreference: boolean;
799
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
800
+ selectedElementIds: Readonly<{
801
+ [id: string]: true;
802
+ }>;
803
+ hoveredElementIds: Readonly<{
804
+ [id: string]: true;
805
+ }>;
806
+ previousSelectedElementIds: {
807
+ [id: string]: true;
808
+ };
809
+ selectedElementsAreBeingDragged: boolean;
810
+ shouldCacheIgnoreZoom: boolean;
811
+ toast: {
812
+ message: string;
813
+ closable?: boolean | undefined;
814
+ duration?: number | undefined;
815
+ } | null;
816
+ zenModeEnabled: boolean;
817
+ theme: import("@excalidraw/element/types").Theme;
818
+ gridSize: number;
819
+ gridStep: number;
820
+ gridModeEnabled: boolean;
821
+ viewModeEnabled: boolean;
822
+ selectedGroupIds: {
823
+ [groupId: string]: boolean;
824
+ };
825
+ editingGroupId: string | null;
826
+ width: number;
827
+ height: number;
828
+ offsetTop: number;
829
+ offsetLeft: number;
830
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
831
+ collaborators: Map<import("../types").SocketId, Readonly<{
832
+ pointer?: import("../types").CollaboratorPointer | undefined;
833
+ button?: "up" | "down" | undefined;
834
+ selectedElementIds?: Readonly<{
835
+ [id: string]: true;
836
+ }> | undefined;
837
+ username?: string | null | undefined;
838
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
839
+ color?: {
840
+ background: string;
841
+ stroke: string;
842
+ } | undefined;
843
+ avatarUrl?: string | undefined;
844
+ id?: string | undefined;
845
+ socketId?: import("../types").SocketId | undefined;
846
+ isCurrentUser?: boolean | undefined;
847
+ isInCall?: boolean | undefined;
848
+ isSpeaking?: boolean | undefined;
849
+ isMuted?: boolean | undefined;
850
+ }>>;
851
+ stats: {
852
+ open: boolean;
853
+ panels: number;
854
+ };
855
+ currentChartType: import("@excalidraw/element/types").ChartType;
856
+ pasteDialog: {
857
+ shown: false;
858
+ data: null;
859
+ } | {
860
+ shown: true;
861
+ data: import("../charts").Spreadsheet;
862
+ };
863
+ showHyperlinkPopup: false | "info" | "editor";
864
+ linkOpacity: number;
865
+ colorPalette?: {
866
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
867
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
868
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
869
+ topPicks: {
870
+ canvasBackground: [string, string, string, string, string];
871
+ elementStroke: [string, string, string, string, string];
872
+ elementBackground: [string, string, string, string, string];
873
+ };
874
+ } | undefined;
875
+ allowWheelZoom?: boolean | undefined;
876
+ allowPinchZoom?: boolean | undefined;
877
+ pinnedScripts?: string[] | undefined;
878
+ customPens?: any[] | undefined;
879
+ currentStrokeOptions?: any;
880
+ resetCustomPen?: any;
881
+ gridColor: {
882
+ Bold: string;
883
+ Regular: string;
884
+ };
885
+ gridDirection: {
886
+ horizontal: boolean;
887
+ vertical: boolean;
888
+ };
889
+ highlightSearchResult: boolean;
890
+ dynamicStyle: {
891
+ [x: string]: string;
892
+ };
893
+ frameColor: {
894
+ stroke: string;
895
+ fill: string;
896
+ nameColor: string;
897
+ };
898
+ invertBindingBehaviour: boolean;
899
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
900
+ snapLines: readonly import("../snapping").SnapLine[];
901
+ originSnapOffset: {
902
+ x: number;
903
+ y: number;
904
+ } | null;
905
+ objectsSnapModeEnabled: boolean;
906
+ followedBy: Set<import("../types").SocketId>;
907
+ isCropping: boolean;
908
+ croppingElementId: string | null;
909
+ searchMatches: Readonly<{
910
+ focusedId: string | null;
911
+ matches: readonly import("../types").SearchMatch[];
912
+ }> | null;
913
+ activeLockedId: string | null;
914
+ lockedMultiSelections: {
915
+ [groupId: string]: true;
916
+ };
917
+ };
918
+ captureUpdate: "EVENTUALLY";
919
+ };
920
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
921
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
922
+ } & {
923
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
924
+ };
925
+ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
926
+ bounds: SceneBounds;
927
+ canvasOffsets?: Partial<{
928
+ top: number;
929
+ right: number;
930
+ bottom: number;
931
+ left: number;
932
+ }> | undefined;
933
+ appState: Readonly<AppState>;
934
+ /** whether to fit content to viewport (beyond >100%) */
935
+ fitToViewport: boolean;
936
+ /** zoom content to cover X of the viewport, when fitToViewport=true */
937
+ viewportZoomFactor?: number | undefined;
938
+ minZoom?: number | undefined;
939
+ maxZoom?: number | undefined;
940
+ }) => {
941
+ appState: {
942
+ scrollX: number;
943
+ scrollY: number;
944
+ zoom: {
945
+ value: import("../types").NormalizedZoomValue;
946
+ };
947
+ contextMenu: {
948
+ items: import("../components/ContextMenu").ContextMenuItems;
949
+ top: number;
950
+ left: number;
951
+ } | null;
952
+ showWelcomeScreen: boolean;
953
+ isLoading: boolean;
954
+ errorMessage: import("react").ReactNode;
955
+ activeEmbeddable: {
956
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
957
+ state: "active" | "hover";
958
+ } | null;
959
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
960
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
961
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
962
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
963
+ isBindingEnabled: boolean;
964
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
965
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
966
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
967
+ frameRendering: {
968
+ enabled: boolean;
969
+ name: boolean;
970
+ outline: boolean;
971
+ clip: boolean;
972
+ markerName: boolean;
973
+ markerEnabled: boolean;
974
+ };
975
+ editingFrame: string | null;
976
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
977
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
978
+ activeTool: {
979
+ lastActiveTool: import("../types").ActiveTool | null;
980
+ locked: boolean;
981
+ fromSelection: boolean;
982
+ } & import("../types").ActiveTool;
983
+ preferredSelectionTool: {
984
+ type: "selection" | "lasso";
985
+ initialized: boolean;
986
+ };
987
+ penMode: boolean;
988
+ penDetected: boolean;
989
+ exportBackground: boolean;
990
+ exportEmbedScene: boolean;
991
+ exportWithDarkMode: boolean;
992
+ exportScale: number;
993
+ currentItemStrokeColor: string;
994
+ currentItemBackgroundColor: string;
995
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
996
+ currentItemStrokeWidth: number;
997
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
998
+ currentItemRoughness: number;
999
+ currentItemOpacity: number;
1000
+ currentItemFontFamily: number;
1001
+ currentItemFontSize: number;
1002
+ currentItemTextAlign: string;
1003
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1004
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1005
+ currentHoveredFontFamily: number | null;
1006
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1007
+ currentItemArrowType: "round" | "sharp" | "elbow";
1008
+ currentItemFrameRole: ("marker" | null) | undefined;
1009
+ viewBackgroundColor: string;
1010
+ cursorButton: "up" | "down";
1011
+ scrolledOutside: boolean;
1012
+ name: string | null;
1013
+ isResizing: boolean;
1014
+ isRotating: boolean;
1015
+ openMenu: "canvas" | "shape" | null;
1016
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1017
+ openSidebar: {
1018
+ name: string;
1019
+ tab?: string | undefined;
1020
+ } | null;
1021
+ openDialog: {
1022
+ name: "help" | "imageExport" | "jsonExport";
1023
+ } | {
1024
+ name: "ttd";
1025
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1026
+ } | {
1027
+ name: "commandPalette";
1028
+ } | {
1029
+ name: "elementLinkSelector";
1030
+ sourceElementId: string;
1031
+ } | null;
1032
+ defaultSidebarDockedPreference: boolean;
1033
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1034
+ selectedElementIds: Readonly<{
1035
+ [id: string]: true;
1036
+ }>;
1037
+ hoveredElementIds: Readonly<{
1038
+ [id: string]: true;
1039
+ }>;
1040
+ previousSelectedElementIds: {
1041
+ [id: string]: true;
1042
+ };
1043
+ selectedElementsAreBeingDragged: boolean;
1044
+ shouldCacheIgnoreZoom: boolean;
1045
+ toast: {
1046
+ message: string;
1047
+ closable?: boolean | undefined;
1048
+ duration?: number | undefined;
1049
+ } | null;
1050
+ zenModeEnabled: boolean;
1051
+ theme: import("@excalidraw/element/types").Theme;
1052
+ gridSize: number;
1053
+ gridStep: number;
1054
+ gridModeEnabled: boolean;
1055
+ viewModeEnabled: boolean;
1056
+ selectedGroupIds: {
1057
+ [groupId: string]: boolean;
1058
+ };
1059
+ editingGroupId: string | null;
1060
+ width: number;
1061
+ height: number;
1062
+ offsetTop: number;
1063
+ offsetLeft: number;
1064
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1065
+ collaborators: Map<import("../types").SocketId, Readonly<{
1066
+ pointer?: import("../types").CollaboratorPointer | undefined;
1067
+ button?: "up" | "down" | undefined;
1068
+ selectedElementIds?: Readonly<{
1069
+ [id: string]: true;
1070
+ }> | undefined;
1071
+ username?: string | null | undefined;
1072
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1073
+ color?: {
1074
+ background: string;
1075
+ stroke: string;
1076
+ } | undefined;
1077
+ avatarUrl?: string | undefined;
1078
+ id?: string | undefined;
1079
+ socketId?: import("../types").SocketId | undefined;
1080
+ isCurrentUser?: boolean | undefined;
1081
+ isInCall?: boolean | undefined;
1082
+ isSpeaking?: boolean | undefined;
1083
+ isMuted?: boolean | undefined;
1084
+ }>>;
1085
+ stats: {
1086
+ open: boolean;
1087
+ panels: number;
1088
+ };
1089
+ currentChartType: import("@excalidraw/element/types").ChartType;
1090
+ pasteDialog: {
1091
+ shown: false;
1092
+ data: null;
1093
+ } | {
1094
+ shown: true;
1095
+ data: import("../charts").Spreadsheet;
1096
+ };
1097
+ showHyperlinkPopup: false | "info" | "editor";
1098
+ linkOpacity: number;
1099
+ colorPalette?: {
1100
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1101
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1102
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1103
+ topPicks: {
1104
+ canvasBackground: [string, string, string, string, string];
1105
+ elementStroke: [string, string, string, string, string];
1106
+ elementBackground: [string, string, string, string, string];
1107
+ };
1108
+ } | undefined;
1109
+ allowWheelZoom?: boolean | undefined;
1110
+ allowPinchZoom?: boolean | undefined;
1111
+ pinnedScripts?: string[] | undefined;
1112
+ customPens?: any[] | undefined;
1113
+ currentStrokeOptions?: any;
1114
+ resetCustomPen?: any;
1115
+ gridColor: {
1116
+ Bold: string;
1117
+ Regular: string;
1118
+ };
1119
+ gridDirection: {
1120
+ horizontal: boolean;
1121
+ vertical: boolean;
1122
+ };
1123
+ highlightSearchResult: boolean;
1124
+ dynamicStyle: {
1125
+ [x: string]: string;
1126
+ };
1127
+ frameColor: {
1128
+ stroke: string;
1129
+ fill: string;
1130
+ nameColor: string;
1131
+ };
1132
+ invertBindingBehaviour: boolean;
1133
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1134
+ snapLines: readonly import("../snapping").SnapLine[];
1135
+ originSnapOffset: {
1136
+ x: number;
1137
+ y: number;
1138
+ } | null;
1139
+ objectsSnapModeEnabled: boolean;
1140
+ userToFollow: import("../types").UserToFollow | null;
1141
+ followedBy: Set<import("../types").SocketId>;
1142
+ isCropping: boolean;
1143
+ croppingElementId: string | null;
1144
+ searchMatches: Readonly<{
1145
+ focusedId: string | null;
1146
+ matches: readonly import("../types").SearchMatch[];
1147
+ }> | null;
1148
+ activeLockedId: string | null;
1149
+ lockedMultiSelections: {
1150
+ [groupId: string]: true;
1151
+ };
1152
+ };
1153
+ captureUpdate: "EVENTUALLY";
1154
+ };
1155
+ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
1156
+ canvasOffsets?: Partial<{
1157
+ top: number;
1158
+ right: number;
1159
+ bottom: number;
1160
+ left: number;
1161
+ }> | undefined;
1162
+ targetElements: readonly ExcalidrawElement[];
1163
+ appState: Readonly<AppState>;
1164
+ /** whether to fit content to viewport (beyond >100%) */
1165
+ fitToViewport: boolean;
1166
+ /** zoom content to cover X of the viewport, when fitToViewport=true */
1167
+ viewportZoomFactor?: number | undefined;
1168
+ minZoom?: number | undefined;
1169
+ maxZoom?: number | undefined;
1170
+ }) => {
1171
+ appState: {
1172
+ scrollX: number;
1173
+ scrollY: number;
1174
+ zoom: {
1175
+ value: import("../types").NormalizedZoomValue;
1176
+ };
1177
+ contextMenu: {
1178
+ items: import("../components/ContextMenu").ContextMenuItems;
1179
+ top: number;
1180
+ left: number;
1181
+ } | null;
1182
+ showWelcomeScreen: boolean;
1183
+ isLoading: boolean;
1184
+ errorMessage: import("react").ReactNode;
1185
+ activeEmbeddable: {
1186
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1187
+ state: "active" | "hover";
1188
+ } | null;
1189
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1190
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1191
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1192
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1193
+ isBindingEnabled: boolean;
1194
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1195
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1196
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1197
+ frameRendering: {
1198
+ enabled: boolean;
1199
+ name: boolean;
1200
+ outline: boolean;
1201
+ clip: boolean;
1202
+ markerName: boolean;
1203
+ markerEnabled: boolean;
1204
+ };
1205
+ editingFrame: string | null;
1206
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1207
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1208
+ activeTool: {
1209
+ lastActiveTool: import("../types").ActiveTool | null;
1210
+ locked: boolean;
1211
+ fromSelection: boolean;
1212
+ } & import("../types").ActiveTool;
1213
+ preferredSelectionTool: {
1214
+ type: "selection" | "lasso";
1215
+ initialized: boolean;
1216
+ };
1217
+ penMode: boolean;
1218
+ penDetected: boolean;
1219
+ exportBackground: boolean;
1220
+ exportEmbedScene: boolean;
1221
+ exportWithDarkMode: boolean;
1222
+ exportScale: number;
1223
+ currentItemStrokeColor: string;
1224
+ currentItemBackgroundColor: string;
1225
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1226
+ currentItemStrokeWidth: number;
1227
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1228
+ currentItemRoughness: number;
1229
+ currentItemOpacity: number;
1230
+ currentItemFontFamily: number;
1231
+ currentItemFontSize: number;
1232
+ currentItemTextAlign: string;
1233
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1234
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1235
+ currentHoveredFontFamily: number | null;
1236
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1237
+ currentItemArrowType: "round" | "sharp" | "elbow";
1238
+ currentItemFrameRole: ("marker" | null) | undefined;
1239
+ viewBackgroundColor: string;
1240
+ cursorButton: "up" | "down";
1241
+ scrolledOutside: boolean;
1242
+ name: string | null;
1243
+ isResizing: boolean;
1244
+ isRotating: boolean;
1245
+ openMenu: "canvas" | "shape" | null;
1246
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1247
+ openSidebar: {
1248
+ name: string;
1249
+ tab?: string | undefined;
1250
+ } | null;
1251
+ openDialog: {
1252
+ name: "help" | "imageExport" | "jsonExport";
1253
+ } | {
1254
+ name: "ttd";
1255
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1256
+ } | {
1257
+ name: "commandPalette";
1258
+ } | {
1259
+ name: "elementLinkSelector";
1260
+ sourceElementId: string;
1261
+ } | null;
1262
+ defaultSidebarDockedPreference: boolean;
1263
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1264
+ selectedElementIds: Readonly<{
1265
+ [id: string]: true;
1266
+ }>;
1267
+ hoveredElementIds: Readonly<{
1268
+ [id: string]: true;
1269
+ }>;
1270
+ previousSelectedElementIds: {
1271
+ [id: string]: true;
1272
+ };
1273
+ selectedElementsAreBeingDragged: boolean;
1274
+ shouldCacheIgnoreZoom: boolean;
1275
+ toast: {
1276
+ message: string;
1277
+ closable?: boolean | undefined;
1278
+ duration?: number | undefined;
1279
+ } | null;
1280
+ zenModeEnabled: boolean;
1281
+ theme: import("@excalidraw/element/types").Theme;
1282
+ gridSize: number;
1283
+ gridStep: number;
1284
+ gridModeEnabled: boolean;
1285
+ viewModeEnabled: boolean;
1286
+ selectedGroupIds: {
1287
+ [groupId: string]: boolean;
1288
+ };
1289
+ editingGroupId: string | null;
1290
+ width: number;
1291
+ height: number;
1292
+ offsetTop: number;
1293
+ offsetLeft: number;
1294
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1295
+ collaborators: Map<import("../types").SocketId, Readonly<{
1296
+ pointer?: import("../types").CollaboratorPointer | undefined;
1297
+ button?: "up" | "down" | undefined;
1298
+ selectedElementIds?: Readonly<{
1299
+ [id: string]: true;
1300
+ }> | undefined;
1301
+ username?: string | null | undefined;
1302
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1303
+ color?: {
1304
+ background: string;
1305
+ stroke: string;
1306
+ } | undefined;
1307
+ avatarUrl?: string | undefined;
1308
+ id?: string | undefined;
1309
+ socketId?: import("../types").SocketId | undefined;
1310
+ isCurrentUser?: boolean | undefined;
1311
+ isInCall?: boolean | undefined;
1312
+ isSpeaking?: boolean | undefined;
1313
+ isMuted?: boolean | undefined;
1314
+ }>>;
1315
+ stats: {
1316
+ open: boolean;
1317
+ panels: number;
1318
+ };
1319
+ currentChartType: import("@excalidraw/element/types").ChartType;
1320
+ pasteDialog: {
1321
+ shown: false;
1322
+ data: null;
1323
+ } | {
1324
+ shown: true;
1325
+ data: import("../charts").Spreadsheet;
1326
+ };
1327
+ showHyperlinkPopup: false | "info" | "editor";
1328
+ linkOpacity: number;
1329
+ colorPalette?: {
1330
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1331
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1332
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1333
+ topPicks: {
1334
+ canvasBackground: [string, string, string, string, string];
1335
+ elementStroke: [string, string, string, string, string];
1336
+ elementBackground: [string, string, string, string, string];
1337
+ };
1338
+ } | undefined;
1339
+ allowWheelZoom?: boolean | undefined;
1340
+ allowPinchZoom?: boolean | undefined;
1341
+ pinnedScripts?: string[] | undefined;
1342
+ customPens?: any[] | undefined;
1343
+ currentStrokeOptions?: any;
1344
+ resetCustomPen?: any;
1345
+ gridColor: {
1346
+ Bold: string;
1347
+ Regular: string;
1348
+ };
1349
+ gridDirection: {
1350
+ horizontal: boolean;
1351
+ vertical: boolean;
1352
+ };
1353
+ highlightSearchResult: boolean;
1354
+ dynamicStyle: {
1355
+ [x: string]: string;
1356
+ };
1357
+ frameColor: {
1358
+ stroke: string;
1359
+ fill: string;
1360
+ nameColor: string;
1361
+ };
1362
+ invertBindingBehaviour: boolean;
1363
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1364
+ snapLines: readonly import("../snapping").SnapLine[];
1365
+ originSnapOffset: {
1366
+ x: number;
1367
+ y: number;
1368
+ } | null;
1369
+ objectsSnapModeEnabled: boolean;
1370
+ userToFollow: import("../types").UserToFollow | null;
1371
+ followedBy: Set<import("../types").SocketId>;
1372
+ isCropping: boolean;
1373
+ croppingElementId: string | null;
1374
+ searchMatches: Readonly<{
1375
+ focusedId: string | null;
1376
+ matches: readonly import("../types").SearchMatch[];
1377
+ }> | null;
1378
+ activeLockedId: string | null;
1379
+ lockedMultiSelections: {
1380
+ [groupId: string]: true;
1381
+ };
1382
+ };
1383
+ captureUpdate: "EVENTUALLY";
1384
+ };
1385
+ export declare const actionZoomToFitSelectionInViewport: {
1386
+ name: "zoomToFitSelectionInViewport";
1387
+ label: string;
1388
+ icon: import("react/jsx-runtime").JSX.Element;
1389
+ trackEvent: {
1390
+ category: "canvas";
1391
+ };
1392
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1393
+ appState: {
1394
+ scrollX: number;
1395
+ scrollY: number;
1396
+ zoom: {
1397
+ value: import("../types").NormalizedZoomValue;
1398
+ };
1399
+ contextMenu: {
1400
+ items: import("../components/ContextMenu").ContextMenuItems;
1401
+ top: number;
1402
+ left: number;
1403
+ } | null;
1404
+ showWelcomeScreen: boolean;
1405
+ isLoading: boolean;
1406
+ errorMessage: import("react").ReactNode;
1407
+ activeEmbeddable: {
1408
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1409
+ state: "active" | "hover";
1410
+ } | null;
1411
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1412
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1413
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1414
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1415
+ isBindingEnabled: boolean;
1416
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1417
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1418
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1419
+ frameRendering: {
1420
+ enabled: boolean;
1421
+ name: boolean;
1422
+ outline: boolean;
1423
+ clip: boolean;
1424
+ markerName: boolean;
1425
+ markerEnabled: boolean;
1426
+ };
1427
+ editingFrame: string | null;
1428
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1429
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1430
+ activeTool: {
1431
+ lastActiveTool: import("../types").ActiveTool | null;
1432
+ locked: boolean;
1433
+ fromSelection: boolean;
1434
+ } & import("../types").ActiveTool;
1435
+ preferredSelectionTool: {
1436
+ type: "selection" | "lasso";
1437
+ initialized: boolean;
1438
+ };
1439
+ penMode: boolean;
1440
+ penDetected: boolean;
1441
+ exportBackground: boolean;
1442
+ exportEmbedScene: boolean;
1443
+ exportWithDarkMode: boolean;
1444
+ exportScale: number;
1445
+ currentItemStrokeColor: string;
1446
+ currentItemBackgroundColor: string;
1447
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1448
+ currentItemStrokeWidth: number;
1449
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1450
+ currentItemRoughness: number;
1451
+ currentItemOpacity: number;
1452
+ currentItemFontFamily: number;
1453
+ currentItemFontSize: number;
1454
+ currentItemTextAlign: string;
1455
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1456
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1457
+ currentHoveredFontFamily: number | null;
1458
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1459
+ currentItemArrowType: "round" | "sharp" | "elbow";
1460
+ currentItemFrameRole: ("marker" | null) | undefined;
1461
+ viewBackgroundColor: string;
1462
+ cursorButton: "up" | "down";
1463
+ scrolledOutside: boolean;
1464
+ name: string | null;
1465
+ isResizing: boolean;
1466
+ isRotating: boolean;
1467
+ openMenu: "canvas" | "shape" | null;
1468
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1469
+ openSidebar: {
1470
+ name: string;
1471
+ tab?: string | undefined;
1472
+ } | null;
1473
+ openDialog: {
1474
+ name: "help" | "imageExport" | "jsonExport";
1475
+ } | {
1476
+ name: "ttd";
1477
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1478
+ } | {
1479
+ name: "commandPalette";
1480
+ } | {
1481
+ name: "elementLinkSelector";
1482
+ sourceElementId: string;
1483
+ } | null;
1484
+ defaultSidebarDockedPreference: boolean;
1485
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1486
+ selectedElementIds: Readonly<{
1487
+ [id: string]: true;
1488
+ }>;
1489
+ hoveredElementIds: Readonly<{
1490
+ [id: string]: true;
1491
+ }>;
1492
+ previousSelectedElementIds: {
1493
+ [id: string]: true;
1494
+ };
1495
+ selectedElementsAreBeingDragged: boolean;
1496
+ shouldCacheIgnoreZoom: boolean;
1497
+ toast: {
1498
+ message: string;
1499
+ closable?: boolean | undefined;
1500
+ duration?: number | undefined;
1501
+ } | null;
1502
+ zenModeEnabled: boolean;
1503
+ theme: import("@excalidraw/element/types").Theme;
1504
+ gridSize: number;
1505
+ gridStep: number;
1506
+ gridModeEnabled: boolean;
1507
+ viewModeEnabled: boolean;
1508
+ selectedGroupIds: {
1509
+ [groupId: string]: boolean;
1510
+ };
1511
+ editingGroupId: string | null;
1512
+ width: number;
1513
+ height: number;
1514
+ offsetTop: number;
1515
+ offsetLeft: number;
1516
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1517
+ collaborators: Map<import("../types").SocketId, Readonly<{
1518
+ pointer?: import("../types").CollaboratorPointer | undefined;
1519
+ button?: "up" | "down" | undefined;
1520
+ selectedElementIds?: Readonly<{
1521
+ [id: string]: true;
1522
+ }> | undefined;
1523
+ username?: string | null | undefined;
1524
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1525
+ color?: {
1526
+ background: string;
1527
+ stroke: string;
1528
+ } | undefined;
1529
+ avatarUrl?: string | undefined;
1530
+ id?: string | undefined;
1531
+ socketId?: import("../types").SocketId | undefined;
1532
+ isCurrentUser?: boolean | undefined;
1533
+ isInCall?: boolean | undefined;
1534
+ isSpeaking?: boolean | undefined;
1535
+ isMuted?: boolean | undefined;
1536
+ }>>;
1537
+ stats: {
1538
+ open: boolean;
1539
+ panels: number;
1540
+ };
1541
+ currentChartType: import("@excalidraw/element/types").ChartType;
1542
+ pasteDialog: {
1543
+ shown: false;
1544
+ data: null;
1545
+ } | {
1546
+ shown: true;
1547
+ data: import("../charts").Spreadsheet;
1548
+ };
1549
+ showHyperlinkPopup: false | "info" | "editor";
1550
+ linkOpacity: number;
1551
+ colorPalette?: {
1552
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1553
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1554
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1555
+ topPicks: {
1556
+ canvasBackground: [string, string, string, string, string];
1557
+ elementStroke: [string, string, string, string, string];
1558
+ elementBackground: [string, string, string, string, string];
1559
+ };
1560
+ } | undefined;
1561
+ allowWheelZoom?: boolean | undefined;
1562
+ allowPinchZoom?: boolean | undefined;
1563
+ pinnedScripts?: string[] | undefined;
1564
+ customPens?: any[] | undefined;
1565
+ currentStrokeOptions?: any;
1566
+ resetCustomPen?: any;
1567
+ gridColor: {
1568
+ Bold: string;
1569
+ Regular: string;
1570
+ };
1571
+ gridDirection: {
1572
+ horizontal: boolean;
1573
+ vertical: boolean;
1574
+ };
1575
+ highlightSearchResult: boolean;
1576
+ dynamicStyle: {
1577
+ [x: string]: string;
1578
+ };
1579
+ frameColor: {
1580
+ stroke: string;
1581
+ fill: string;
1582
+ nameColor: string;
1583
+ };
1584
+ invertBindingBehaviour: boolean;
1585
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1586
+ snapLines: readonly import("../snapping").SnapLine[];
1587
+ originSnapOffset: {
1588
+ x: number;
1589
+ y: number;
1590
+ } | null;
1591
+ objectsSnapModeEnabled: boolean;
1592
+ userToFollow: import("../types").UserToFollow | null;
1593
+ followedBy: Set<import("../types").SocketId>;
1594
+ isCropping: boolean;
1595
+ croppingElementId: string | null;
1596
+ searchMatches: Readonly<{
1597
+ focusedId: string | null;
1598
+ matches: readonly import("../types").SearchMatch[];
1599
+ }> | null;
1600
+ activeLockedId: string | null;
1601
+ lockedMultiSelections: {
1602
+ [groupId: string]: true;
1603
+ };
1604
+ };
1605
+ captureUpdate: "EVENTUALLY";
1606
+ };
1607
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1608
+ } & {
1609
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1610
+ };
1611
+ export declare const actionZoomToFitSelection: {
1612
+ name: "zoomToFitSelection";
1613
+ label: string;
1614
+ icon: import("react/jsx-runtime").JSX.Element;
1615
+ trackEvent: {
1616
+ category: "canvas";
1617
+ };
1618
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1619
+ appState: {
1620
+ scrollX: number;
1621
+ scrollY: number;
1622
+ zoom: {
1623
+ value: import("../types").NormalizedZoomValue;
1624
+ };
1625
+ contextMenu: {
1626
+ items: import("../components/ContextMenu").ContextMenuItems;
1627
+ top: number;
1628
+ left: number;
1629
+ } | null;
1630
+ showWelcomeScreen: boolean;
1631
+ isLoading: boolean;
1632
+ errorMessage: import("react").ReactNode;
1633
+ activeEmbeddable: {
1634
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1635
+ state: "active" | "hover";
1636
+ } | null;
1637
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1638
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1639
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1640
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1641
+ isBindingEnabled: boolean;
1642
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1643
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1644
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1645
+ frameRendering: {
1646
+ enabled: boolean;
1647
+ name: boolean;
1648
+ outline: boolean;
1649
+ clip: boolean;
1650
+ markerName: boolean;
1651
+ markerEnabled: boolean;
1652
+ };
1653
+ editingFrame: string | null;
1654
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1655
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1656
+ activeTool: {
1657
+ lastActiveTool: import("../types").ActiveTool | null;
1658
+ locked: boolean;
1659
+ fromSelection: boolean;
1660
+ } & import("../types").ActiveTool;
1661
+ preferredSelectionTool: {
1662
+ type: "selection" | "lasso";
1663
+ initialized: boolean;
1664
+ };
1665
+ penMode: boolean;
1666
+ penDetected: boolean;
1667
+ exportBackground: boolean;
1668
+ exportEmbedScene: boolean;
1669
+ exportWithDarkMode: boolean;
1670
+ exportScale: number;
1671
+ currentItemStrokeColor: string;
1672
+ currentItemBackgroundColor: string;
1673
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1674
+ currentItemStrokeWidth: number;
1675
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1676
+ currentItemRoughness: number;
1677
+ currentItemOpacity: number;
1678
+ currentItemFontFamily: number;
1679
+ currentItemFontSize: number;
1680
+ currentItemTextAlign: string;
1681
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1682
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1683
+ currentHoveredFontFamily: number | null;
1684
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1685
+ currentItemArrowType: "round" | "sharp" | "elbow";
1686
+ currentItemFrameRole: ("marker" | null) | undefined;
1687
+ viewBackgroundColor: string;
1688
+ cursorButton: "up" | "down";
1689
+ scrolledOutside: boolean;
1690
+ name: string | null;
1691
+ isResizing: boolean;
1692
+ isRotating: boolean;
1693
+ openMenu: "canvas" | "shape" | null;
1694
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1695
+ openSidebar: {
1696
+ name: string;
1697
+ tab?: string | undefined;
1698
+ } | null;
1699
+ openDialog: {
1700
+ name: "help" | "imageExport" | "jsonExport";
1701
+ } | {
1702
+ name: "ttd";
1703
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1704
+ } | {
1705
+ name: "commandPalette";
1706
+ } | {
1707
+ name: "elementLinkSelector";
1708
+ sourceElementId: string;
1709
+ } | null;
1710
+ defaultSidebarDockedPreference: boolean;
1711
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1712
+ selectedElementIds: Readonly<{
1713
+ [id: string]: true;
1714
+ }>;
1715
+ hoveredElementIds: Readonly<{
1716
+ [id: string]: true;
1717
+ }>;
1718
+ previousSelectedElementIds: {
1719
+ [id: string]: true;
1720
+ };
1721
+ selectedElementsAreBeingDragged: boolean;
1722
+ shouldCacheIgnoreZoom: boolean;
1723
+ toast: {
1724
+ message: string;
1725
+ closable?: boolean | undefined;
1726
+ duration?: number | undefined;
1727
+ } | null;
1728
+ zenModeEnabled: boolean;
1729
+ theme: import("@excalidraw/element/types").Theme;
1730
+ gridSize: number;
1731
+ gridStep: number;
1732
+ gridModeEnabled: boolean;
1733
+ viewModeEnabled: boolean;
1734
+ selectedGroupIds: {
1735
+ [groupId: string]: boolean;
1736
+ };
1737
+ editingGroupId: string | null;
1738
+ width: number;
1739
+ height: number;
1740
+ offsetTop: number;
1741
+ offsetLeft: number;
1742
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1743
+ collaborators: Map<import("../types").SocketId, Readonly<{
1744
+ pointer?: import("../types").CollaboratorPointer | undefined;
1745
+ button?: "up" | "down" | undefined;
1746
+ selectedElementIds?: Readonly<{
1747
+ [id: string]: true;
1748
+ }> | undefined;
1749
+ username?: string | null | undefined;
1750
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1751
+ color?: {
1752
+ background: string;
1753
+ stroke: string;
1754
+ } | undefined;
1755
+ avatarUrl?: string | undefined;
1756
+ id?: string | undefined;
1757
+ socketId?: import("../types").SocketId | undefined;
1758
+ isCurrentUser?: boolean | undefined;
1759
+ isInCall?: boolean | undefined;
1760
+ isSpeaking?: boolean | undefined;
1761
+ isMuted?: boolean | undefined;
1762
+ }>>;
1763
+ stats: {
1764
+ open: boolean;
1765
+ panels: number;
1766
+ };
1767
+ currentChartType: import("@excalidraw/element/types").ChartType;
1768
+ pasteDialog: {
1769
+ shown: false;
1770
+ data: null;
1771
+ } | {
1772
+ shown: true;
1773
+ data: import("../charts").Spreadsheet;
1774
+ };
1775
+ showHyperlinkPopup: false | "info" | "editor";
1776
+ linkOpacity: number;
1777
+ colorPalette?: {
1778
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
1779
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
1780
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
1781
+ topPicks: {
1782
+ canvasBackground: [string, string, string, string, string];
1783
+ elementStroke: [string, string, string, string, string];
1784
+ elementBackground: [string, string, string, string, string];
1785
+ };
1786
+ } | undefined;
1787
+ allowWheelZoom?: boolean | undefined;
1788
+ allowPinchZoom?: boolean | undefined;
1789
+ pinnedScripts?: string[] | undefined;
1790
+ customPens?: any[] | undefined;
1791
+ currentStrokeOptions?: any;
1792
+ resetCustomPen?: any;
1793
+ gridColor: {
1794
+ Bold: string;
1795
+ Regular: string;
1796
+ };
1797
+ gridDirection: {
1798
+ horizontal: boolean;
1799
+ vertical: boolean;
1800
+ };
1801
+ highlightSearchResult: boolean;
1802
+ dynamicStyle: {
1803
+ [x: string]: string;
1804
+ };
1805
+ frameColor: {
1806
+ stroke: string;
1807
+ fill: string;
1808
+ nameColor: string;
1809
+ };
1810
+ invertBindingBehaviour: boolean;
1811
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1812
+ snapLines: readonly import("../snapping").SnapLine[];
1813
+ originSnapOffset: {
1814
+ x: number;
1815
+ y: number;
1816
+ } | null;
1817
+ objectsSnapModeEnabled: boolean;
1818
+ userToFollow: import("../types").UserToFollow | null;
1819
+ followedBy: Set<import("../types").SocketId>;
1820
+ isCropping: boolean;
1821
+ croppingElementId: string | null;
1822
+ searchMatches: Readonly<{
1823
+ focusedId: string | null;
1824
+ matches: readonly import("../types").SearchMatch[];
1825
+ }> | null;
1826
+ activeLockedId: string | null;
1827
+ lockedMultiSelections: {
1828
+ [groupId: string]: true;
1829
+ };
1830
+ };
1831
+ captureUpdate: "EVENTUALLY";
1832
+ };
1833
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1834
+ } & {
1835
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1836
+ };
1837
+ export declare const actionZoomToFit: {
1838
+ name: "zoomToFit";
1839
+ label: string;
1840
+ icon: import("react/jsx-runtime").JSX.Element;
1841
+ viewMode: true;
1842
+ trackEvent: {
1843
+ category: "canvas";
1844
+ };
1845
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
1846
+ appState: {
1847
+ scrollX: number;
1848
+ scrollY: number;
1849
+ zoom: {
1850
+ value: import("../types").NormalizedZoomValue;
1851
+ };
1852
+ contextMenu: {
1853
+ items: import("../components/ContextMenu").ContextMenuItems;
1854
+ top: number;
1855
+ left: number;
1856
+ } | null;
1857
+ showWelcomeScreen: boolean;
1858
+ isLoading: boolean;
1859
+ errorMessage: import("react").ReactNode;
1860
+ activeEmbeddable: {
1861
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1862
+ state: "active" | "hover";
1863
+ } | null;
1864
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1865
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1866
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1867
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1868
+ isBindingEnabled: boolean;
1869
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1870
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1871
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1872
+ frameRendering: {
1873
+ enabled: boolean;
1874
+ name: boolean;
1875
+ outline: boolean;
1876
+ clip: boolean;
1877
+ markerName: boolean;
1878
+ markerEnabled: boolean;
1879
+ };
1880
+ editingFrame: string | null;
1881
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1882
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1883
+ activeTool: {
1884
+ lastActiveTool: import("../types").ActiveTool | null;
1885
+ locked: boolean;
1886
+ fromSelection: boolean;
1887
+ } & import("../types").ActiveTool;
1888
+ preferredSelectionTool: {
1889
+ type: "selection" | "lasso";
1890
+ initialized: boolean;
1891
+ };
1892
+ penMode: boolean;
1893
+ penDetected: boolean;
1894
+ exportBackground: boolean;
1895
+ exportEmbedScene: boolean;
1896
+ exportWithDarkMode: boolean;
1897
+ exportScale: number;
1898
+ currentItemStrokeColor: string;
1899
+ currentItemBackgroundColor: string;
1900
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
1901
+ currentItemStrokeWidth: number;
1902
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
1903
+ currentItemRoughness: number;
1904
+ currentItemOpacity: number;
1905
+ currentItemFontFamily: number;
1906
+ currentItemFontSize: number;
1907
+ currentItemTextAlign: string;
1908
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1909
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1910
+ currentHoveredFontFamily: number | null;
1911
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1912
+ currentItemArrowType: "round" | "sharp" | "elbow";
1913
+ currentItemFrameRole: ("marker" | null) | undefined;
1914
+ viewBackgroundColor: string;
1915
+ cursorButton: "up" | "down";
1916
+ scrolledOutside: boolean;
1917
+ name: string | null;
1918
+ isResizing: boolean;
1919
+ isRotating: boolean;
1920
+ openMenu: "canvas" | "shape" | null;
1921
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1922
+ openSidebar: {
1923
+ name: string;
1924
+ tab?: string | undefined;
1925
+ } | null;
1926
+ openDialog: {
1927
+ name: "help" | "imageExport" | "jsonExport";
1928
+ } | {
1929
+ name: "ttd";
1930
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1931
+ } | {
1932
+ name: "commandPalette";
1933
+ } | {
1934
+ name: "elementLinkSelector";
1935
+ sourceElementId: string;
1936
+ } | null;
1937
+ defaultSidebarDockedPreference: boolean;
1938
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1939
+ selectedElementIds: Readonly<{
1940
+ [id: string]: true;
1941
+ }>;
1942
+ hoveredElementIds: Readonly<{
1943
+ [id: string]: true;
1944
+ }>;
1945
+ previousSelectedElementIds: {
1946
+ [id: string]: true;
1947
+ };
1948
+ selectedElementsAreBeingDragged: boolean;
1949
+ shouldCacheIgnoreZoom: boolean;
1950
+ toast: {
1951
+ message: string;
1952
+ closable?: boolean | undefined;
1953
+ duration?: number | undefined;
1954
+ } | null;
1955
+ zenModeEnabled: boolean;
1956
+ theme: import("@excalidraw/element/types").Theme;
1957
+ gridSize: number;
1958
+ gridStep: number;
1959
+ gridModeEnabled: boolean;
1960
+ viewModeEnabled: boolean;
1961
+ selectedGroupIds: {
1962
+ [groupId: string]: boolean;
1963
+ };
1964
+ editingGroupId: string | null;
1965
+ width: number;
1966
+ height: number;
1967
+ offsetTop: number;
1968
+ offsetLeft: number;
1969
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
1970
+ collaborators: Map<import("../types").SocketId, Readonly<{
1971
+ pointer?: import("../types").CollaboratorPointer | undefined;
1972
+ button?: "up" | "down" | undefined;
1973
+ selectedElementIds?: Readonly<{
1974
+ [id: string]: true;
1975
+ }> | undefined;
1976
+ username?: string | null | undefined;
1977
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1978
+ color?: {
1979
+ background: string;
1980
+ stroke: string;
1981
+ } | undefined;
1982
+ avatarUrl?: string | undefined;
1983
+ id?: string | undefined;
1984
+ socketId?: import("../types").SocketId | undefined;
1985
+ isCurrentUser?: boolean | undefined;
1986
+ isInCall?: boolean | undefined;
1987
+ isSpeaking?: boolean | undefined;
1988
+ isMuted?: boolean | undefined;
1989
+ }>>;
1990
+ stats: {
1991
+ open: boolean;
1992
+ panels: number;
1993
+ };
1994
+ currentChartType: import("@excalidraw/element/types").ChartType;
1995
+ pasteDialog: {
1996
+ shown: false;
1997
+ data: null;
1998
+ } | {
1999
+ shown: true;
2000
+ data: import("../charts").Spreadsheet;
2001
+ };
2002
+ showHyperlinkPopup: false | "info" | "editor";
2003
+ linkOpacity: number;
2004
+ colorPalette?: {
2005
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2006
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2007
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2008
+ topPicks: {
2009
+ canvasBackground: [string, string, string, string, string];
2010
+ elementStroke: [string, string, string, string, string];
2011
+ elementBackground: [string, string, string, string, string];
2012
+ };
2013
+ } | undefined;
2014
+ allowWheelZoom?: boolean | undefined;
2015
+ allowPinchZoom?: boolean | undefined;
2016
+ pinnedScripts?: string[] | undefined;
2017
+ customPens?: any[] | undefined;
2018
+ currentStrokeOptions?: any;
2019
+ resetCustomPen?: any;
2020
+ gridColor: {
2021
+ Bold: string;
2022
+ Regular: string;
2023
+ };
2024
+ gridDirection: {
2025
+ horizontal: boolean;
2026
+ vertical: boolean;
2027
+ };
2028
+ highlightSearchResult: boolean;
2029
+ dynamicStyle: {
2030
+ [x: string]: string;
2031
+ };
2032
+ frameColor: {
2033
+ stroke: string;
2034
+ fill: string;
2035
+ nameColor: string;
2036
+ };
2037
+ invertBindingBehaviour: boolean;
2038
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2039
+ snapLines: readonly import("../snapping").SnapLine[];
2040
+ originSnapOffset: {
2041
+ x: number;
2042
+ y: number;
2043
+ } | null;
2044
+ objectsSnapModeEnabled: boolean;
2045
+ userToFollow: import("../types").UserToFollow | null;
2046
+ followedBy: Set<import("../types").SocketId>;
2047
+ isCropping: boolean;
2048
+ croppingElementId: string | null;
2049
+ searchMatches: Readonly<{
2050
+ focusedId: string | null;
2051
+ matches: readonly import("../types").SearchMatch[];
2052
+ }> | null;
2053
+ activeLockedId: string | null;
2054
+ lockedMultiSelections: {
2055
+ [groupId: string]: true;
2056
+ };
2057
+ };
2058
+ captureUpdate: "EVENTUALLY";
2059
+ };
2060
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2061
+ } & {
2062
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2063
+ };
2064
+ export declare const actionToggleTheme: {
2065
+ name: "toggleTheme";
2066
+ label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
2067
+ keywords: string[];
2068
+ icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
2069
+ viewMode: true;
2070
+ trackEvent: {
2071
+ category: "canvas";
2072
+ };
2073
+ perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
2074
+ appState: {
2075
+ theme: any;
2076
+ contextMenu: {
2077
+ items: import("../components/ContextMenu").ContextMenuItems;
2078
+ top: number;
2079
+ left: number;
2080
+ } | null;
2081
+ showWelcomeScreen: boolean;
2082
+ isLoading: boolean;
2083
+ errorMessage: import("react").ReactNode;
2084
+ activeEmbeddable: {
2085
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2086
+ state: "active" | "hover";
2087
+ } | null;
2088
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2089
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2090
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2091
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2092
+ isBindingEnabled: boolean;
2093
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2094
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2095
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2096
+ frameRendering: {
2097
+ enabled: boolean;
2098
+ name: boolean;
2099
+ outline: boolean;
2100
+ clip: boolean;
2101
+ markerName: boolean;
2102
+ markerEnabled: boolean;
2103
+ };
2104
+ editingFrame: string | null;
2105
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2106
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2107
+ activeTool: {
2108
+ lastActiveTool: import("../types").ActiveTool | null;
2109
+ locked: boolean;
2110
+ fromSelection: boolean;
2111
+ } & import("../types").ActiveTool;
2112
+ preferredSelectionTool: {
2113
+ type: "selection" | "lasso";
2114
+ initialized: boolean;
2115
+ };
2116
+ penMode: boolean;
2117
+ penDetected: boolean;
2118
+ exportBackground: boolean;
2119
+ exportEmbedScene: boolean;
2120
+ exportWithDarkMode: boolean;
2121
+ exportScale: number;
2122
+ currentItemStrokeColor: string;
2123
+ currentItemBackgroundColor: string;
2124
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2125
+ currentItemStrokeWidth: number;
2126
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2127
+ currentItemRoughness: number;
2128
+ currentItemOpacity: number;
2129
+ currentItemFontFamily: number;
2130
+ currentItemFontSize: number;
2131
+ currentItemTextAlign: string;
2132
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2133
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2134
+ currentHoveredFontFamily: number | null;
2135
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2136
+ currentItemArrowType: "round" | "sharp" | "elbow";
2137
+ currentItemFrameRole: ("marker" | null) | undefined;
2138
+ viewBackgroundColor: string;
2139
+ scrollX: number;
2140
+ scrollY: number;
2141
+ cursorButton: "up" | "down";
2142
+ scrolledOutside: boolean;
2143
+ name: string | null;
2144
+ isResizing: boolean;
2145
+ isRotating: boolean;
2146
+ zoom: Readonly<{
2147
+ value: import("../types").NormalizedZoomValue;
2148
+ }>;
2149
+ openMenu: "canvas" | "shape" | null;
2150
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2151
+ openSidebar: {
2152
+ name: string;
2153
+ tab?: string | undefined;
2154
+ } | null;
2155
+ openDialog: {
2156
+ name: "help" | "imageExport" | "jsonExport";
2157
+ } | {
2158
+ name: "ttd";
2159
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2160
+ } | {
2161
+ name: "commandPalette";
2162
+ } | {
2163
+ name: "elementLinkSelector";
2164
+ sourceElementId: string;
2165
+ } | null;
2166
+ defaultSidebarDockedPreference: boolean;
2167
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2168
+ selectedElementIds: Readonly<{
2169
+ [id: string]: true;
2170
+ }>;
2171
+ hoveredElementIds: Readonly<{
2172
+ [id: string]: true;
2173
+ }>;
2174
+ previousSelectedElementIds: {
2175
+ [id: string]: true;
2176
+ };
2177
+ selectedElementsAreBeingDragged: boolean;
2178
+ shouldCacheIgnoreZoom: boolean;
2179
+ toast: {
2180
+ message: string;
2181
+ closable?: boolean | undefined;
2182
+ duration?: number | undefined;
2183
+ } | null;
2184
+ zenModeEnabled: boolean;
2185
+ gridSize: number;
2186
+ gridStep: number;
2187
+ gridModeEnabled: boolean;
2188
+ viewModeEnabled: boolean;
2189
+ selectedGroupIds: {
2190
+ [groupId: string]: boolean;
2191
+ };
2192
+ editingGroupId: string | null;
2193
+ width: number;
2194
+ height: number;
2195
+ offsetTop: number;
2196
+ offsetLeft: number;
2197
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2198
+ collaborators: Map<import("../types").SocketId, Readonly<{
2199
+ pointer?: import("../types").CollaboratorPointer | undefined;
2200
+ button?: "up" | "down" | undefined;
2201
+ selectedElementIds?: Readonly<{
2202
+ [id: string]: true;
2203
+ }> | undefined;
2204
+ username?: string | null | undefined;
2205
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2206
+ color?: {
2207
+ background: string;
2208
+ stroke: string;
2209
+ } | undefined;
2210
+ avatarUrl?: string | undefined;
2211
+ id?: string | undefined;
2212
+ socketId?: import("../types").SocketId | undefined;
2213
+ isCurrentUser?: boolean | undefined;
2214
+ isInCall?: boolean | undefined;
2215
+ isSpeaking?: boolean | undefined;
2216
+ isMuted?: boolean | undefined;
2217
+ }>>;
2218
+ stats: {
2219
+ open: boolean;
2220
+ panels: number;
2221
+ };
2222
+ currentChartType: import("@excalidraw/element/types").ChartType;
2223
+ pasteDialog: {
2224
+ shown: false;
2225
+ data: null;
2226
+ } | {
2227
+ shown: true;
2228
+ data: import("../charts").Spreadsheet;
2229
+ };
2230
+ showHyperlinkPopup: false | "info" | "editor";
2231
+ linkOpacity: number;
2232
+ colorPalette?: {
2233
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2234
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2235
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2236
+ topPicks: {
2237
+ canvasBackground: [string, string, string, string, string];
2238
+ elementStroke: [string, string, string, string, string];
2239
+ elementBackground: [string, string, string, string, string];
2240
+ };
2241
+ } | undefined;
2242
+ allowWheelZoom?: boolean | undefined;
2243
+ allowPinchZoom?: boolean | undefined;
2244
+ pinnedScripts?: string[] | undefined;
2245
+ customPens?: any[] | undefined;
2246
+ currentStrokeOptions?: any;
2247
+ resetCustomPen?: any;
2248
+ gridColor: {
2249
+ Bold: string;
2250
+ Regular: string;
2251
+ };
2252
+ gridDirection: {
2253
+ horizontal: boolean;
2254
+ vertical: boolean;
2255
+ };
2256
+ highlightSearchResult: boolean;
2257
+ dynamicStyle: {
2258
+ [x: string]: string;
2259
+ };
2260
+ frameColor: {
2261
+ stroke: string;
2262
+ fill: string;
2263
+ nameColor: string;
2264
+ };
2265
+ invertBindingBehaviour: boolean;
2266
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2267
+ snapLines: readonly import("../snapping").SnapLine[];
2268
+ originSnapOffset: {
2269
+ x: number;
2270
+ y: number;
2271
+ } | null;
2272
+ objectsSnapModeEnabled: boolean;
2273
+ userToFollow: import("../types").UserToFollow | null;
2274
+ followedBy: Set<import("../types").SocketId>;
2275
+ isCropping: boolean;
2276
+ croppingElementId: string | null;
2277
+ searchMatches: Readonly<{
2278
+ focusedId: string | null;
2279
+ matches: readonly import("../types").SearchMatch[];
2280
+ }> | null;
2281
+ activeLockedId: string | null;
2282
+ lockedMultiSelections: {
2283
+ [groupId: string]: true;
2284
+ };
2285
+ };
2286
+ captureUpdate: "EVENTUALLY";
2287
+ };
2288
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2289
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
2290
+ } & {
2291
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2292
+ };
2293
+ export declare const actionToggleEraserTool: {
2294
+ name: "toggleEraserTool";
2295
+ label: string;
2296
+ trackEvent: {
2297
+ category: "toolbar";
2298
+ };
2299
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2300
+ appState: {
2301
+ selectedElementIds: {};
2302
+ selectedGroupIds: {};
2303
+ activeEmbeddable: null;
2304
+ activeTool: {
2305
+ lastActiveTool: import("../types").ActiveTool | null;
2306
+ locked: boolean;
2307
+ fromSelection: boolean;
2308
+ } & import("../types").ActiveTool;
2309
+ contextMenu: {
2310
+ items: import("../components/ContextMenu").ContextMenuItems;
2311
+ top: number;
2312
+ left: number;
2313
+ } | null;
2314
+ showWelcomeScreen: boolean;
2315
+ isLoading: boolean;
2316
+ errorMessage: import("react").ReactNode;
2317
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2318
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2319
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2320
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2321
+ isBindingEnabled: boolean;
2322
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2323
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2324
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2325
+ frameRendering: {
2326
+ enabled: boolean;
2327
+ name: boolean;
2328
+ outline: boolean;
2329
+ clip: boolean;
2330
+ markerName: boolean;
2331
+ markerEnabled: boolean;
2332
+ };
2333
+ editingFrame: string | null;
2334
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2335
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2336
+ preferredSelectionTool: {
2337
+ type: "selection" | "lasso";
2338
+ initialized: boolean;
2339
+ };
2340
+ penMode: boolean;
2341
+ penDetected: boolean;
2342
+ exportBackground: boolean;
2343
+ exportEmbedScene: boolean;
2344
+ exportWithDarkMode: boolean;
2345
+ exportScale: number;
2346
+ currentItemStrokeColor: string;
2347
+ currentItemBackgroundColor: string;
2348
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2349
+ currentItemStrokeWidth: number;
2350
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2351
+ currentItemRoughness: number;
2352
+ currentItemOpacity: number;
2353
+ currentItemFontFamily: number;
2354
+ currentItemFontSize: number;
2355
+ currentItemTextAlign: string;
2356
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2357
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2358
+ currentHoveredFontFamily: number | null;
2359
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2360
+ currentItemArrowType: "round" | "sharp" | "elbow";
2361
+ currentItemFrameRole: ("marker" | null) | undefined;
2362
+ viewBackgroundColor: string;
2363
+ scrollX: number;
2364
+ scrollY: number;
2365
+ cursorButton: "up" | "down";
2366
+ scrolledOutside: boolean;
2367
+ name: string | null;
2368
+ isResizing: boolean;
2369
+ isRotating: boolean;
2370
+ zoom: Readonly<{
2371
+ value: import("../types").NormalizedZoomValue;
2372
+ }>;
2373
+ openMenu: "canvas" | "shape" | null;
2374
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2375
+ openSidebar: {
2376
+ name: string;
2377
+ tab?: string | undefined;
2378
+ } | null;
2379
+ openDialog: {
2380
+ name: "help" | "imageExport" | "jsonExport";
2381
+ } | {
2382
+ name: "ttd";
2383
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2384
+ } | {
2385
+ name: "commandPalette";
2386
+ } | {
2387
+ name: "elementLinkSelector";
2388
+ sourceElementId: string;
2389
+ } | null;
2390
+ defaultSidebarDockedPreference: boolean;
2391
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2392
+ hoveredElementIds: Readonly<{
2393
+ [id: string]: true;
2394
+ }>;
2395
+ previousSelectedElementIds: {
2396
+ [id: string]: true;
2397
+ };
2398
+ selectedElementsAreBeingDragged: boolean;
2399
+ shouldCacheIgnoreZoom: boolean;
2400
+ toast: {
2401
+ message: string;
2402
+ closable?: boolean | undefined;
2403
+ duration?: number | undefined;
2404
+ } | null;
2405
+ zenModeEnabled: boolean;
2406
+ theme: import("@excalidraw/element/types").Theme;
2407
+ gridSize: number;
2408
+ gridStep: number;
2409
+ gridModeEnabled: boolean;
2410
+ viewModeEnabled: boolean;
2411
+ editingGroupId: string | null;
2412
+ width: number;
2413
+ height: number;
2414
+ offsetTop: number;
2415
+ offsetLeft: number;
2416
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2417
+ collaborators: Map<import("../types").SocketId, Readonly<{
2418
+ pointer?: import("../types").CollaboratorPointer | undefined;
2419
+ button?: "up" | "down" | undefined;
2420
+ selectedElementIds?: Readonly<{
2421
+ [id: string]: true;
2422
+ }> | undefined;
2423
+ username?: string | null | undefined;
2424
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2425
+ color?: {
2426
+ background: string;
2427
+ stroke: string;
2428
+ } | undefined;
2429
+ avatarUrl?: string | undefined;
2430
+ id?: string | undefined;
2431
+ socketId?: import("../types").SocketId | undefined;
2432
+ isCurrentUser?: boolean | undefined;
2433
+ isInCall?: boolean | undefined;
2434
+ isSpeaking?: boolean | undefined;
2435
+ isMuted?: boolean | undefined;
2436
+ }>>;
2437
+ stats: {
2438
+ open: boolean;
2439
+ panels: number;
2440
+ };
2441
+ currentChartType: import("@excalidraw/element/types").ChartType;
2442
+ pasteDialog: {
2443
+ shown: false;
2444
+ data: null;
2445
+ } | {
2446
+ shown: true;
2447
+ data: import("../charts").Spreadsheet;
2448
+ };
2449
+ showHyperlinkPopup: false | "info" | "editor";
2450
+ linkOpacity: number;
2451
+ colorPalette?: {
2452
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2453
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2454
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2455
+ topPicks: {
2456
+ canvasBackground: [string, string, string, string, string];
2457
+ elementStroke: [string, string, string, string, string];
2458
+ elementBackground: [string, string, string, string, string];
2459
+ };
2460
+ } | undefined;
2461
+ allowWheelZoom?: boolean | undefined;
2462
+ allowPinchZoom?: boolean | undefined;
2463
+ pinnedScripts?: string[] | undefined;
2464
+ customPens?: any[] | undefined;
2465
+ currentStrokeOptions?: any;
2466
+ resetCustomPen?: any;
2467
+ gridColor: {
2468
+ Bold: string;
2469
+ Regular: string;
2470
+ };
2471
+ gridDirection: {
2472
+ horizontal: boolean;
2473
+ vertical: boolean;
2474
+ };
2475
+ highlightSearchResult: boolean;
2476
+ dynamicStyle: {
2477
+ [x: string]: string;
2478
+ };
2479
+ frameColor: {
2480
+ stroke: string;
2481
+ fill: string;
2482
+ nameColor: string;
2483
+ };
2484
+ invertBindingBehaviour: boolean;
2485
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2486
+ snapLines: readonly import("../snapping").SnapLine[];
2487
+ originSnapOffset: {
2488
+ x: number;
2489
+ y: number;
2490
+ } | null;
2491
+ objectsSnapModeEnabled: boolean;
2492
+ userToFollow: import("../types").UserToFollow | null;
2493
+ followedBy: Set<import("../types").SocketId>;
2494
+ isCropping: boolean;
2495
+ croppingElementId: string | null;
2496
+ searchMatches: Readonly<{
2497
+ focusedId: string | null;
2498
+ matches: readonly import("../types").SearchMatch[];
2499
+ }> | null;
2500
+ activeLockedId: string | null;
2501
+ lockedMultiSelections: {
2502
+ [groupId: string]: true;
2503
+ };
2504
+ };
2505
+ captureUpdate: "IMMEDIATELY";
2506
+ };
2507
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2508
+ } & {
2509
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2510
+ };
2511
+ export declare const actionToggleLassoTool: {
2512
+ name: "toggleLassoTool";
2513
+ label: string;
2514
+ icon: import("react/jsx-runtime").JSX.Element;
2515
+ trackEvent: {
2516
+ category: "toolbar";
2517
+ };
2518
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
2519
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2520
+ appState: {
2521
+ selectedElementIds: {};
2522
+ selectedGroupIds: {};
2523
+ activeEmbeddable: null;
2524
+ activeTool: {
2525
+ lastActiveTool: import("../types").ActiveTool | null;
2526
+ locked: boolean;
2527
+ fromSelection: boolean;
2528
+ } & import("../types").ActiveTool;
2529
+ contextMenu: {
2530
+ items: import("../components/ContextMenu").ContextMenuItems;
2531
+ top: number;
2532
+ left: number;
2533
+ } | null;
2534
+ showWelcomeScreen: boolean;
2535
+ isLoading: boolean;
2536
+ errorMessage: import("react").ReactNode;
2537
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2538
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2539
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2540
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2541
+ isBindingEnabled: boolean;
2542
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2543
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2544
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2545
+ frameRendering: {
2546
+ enabled: boolean;
2547
+ name: boolean;
2548
+ outline: boolean;
2549
+ clip: boolean;
2550
+ markerName: boolean;
2551
+ markerEnabled: boolean;
2552
+ };
2553
+ editingFrame: string | null;
2554
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2555
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2556
+ preferredSelectionTool: {
2557
+ type: "selection" | "lasso";
2558
+ initialized: boolean;
2559
+ };
2560
+ penMode: boolean;
2561
+ penDetected: boolean;
2562
+ exportBackground: boolean;
2563
+ exportEmbedScene: boolean;
2564
+ exportWithDarkMode: boolean;
2565
+ exportScale: number;
2566
+ currentItemStrokeColor: string;
2567
+ currentItemBackgroundColor: string;
2568
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2569
+ currentItemStrokeWidth: number;
2570
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2571
+ currentItemRoughness: number;
2572
+ currentItemOpacity: number;
2573
+ currentItemFontFamily: number;
2574
+ currentItemFontSize: number;
2575
+ currentItemTextAlign: string;
2576
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2577
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2578
+ currentHoveredFontFamily: number | null;
2579
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2580
+ currentItemArrowType: "round" | "sharp" | "elbow";
2581
+ currentItemFrameRole: ("marker" | null) | undefined;
2582
+ viewBackgroundColor: string;
2583
+ scrollX: number;
2584
+ scrollY: number;
2585
+ cursorButton: "up" | "down";
2586
+ scrolledOutside: boolean;
2587
+ name: string | null;
2588
+ isResizing: boolean;
2589
+ isRotating: boolean;
2590
+ zoom: Readonly<{
2591
+ value: import("../types").NormalizedZoomValue;
2592
+ }>;
2593
+ openMenu: "canvas" | "shape" | null;
2594
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2595
+ openSidebar: {
2596
+ name: string;
2597
+ tab?: string | undefined;
2598
+ } | null;
2599
+ openDialog: {
2600
+ name: "help" | "imageExport" | "jsonExport";
2601
+ } | {
2602
+ name: "ttd";
2603
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2604
+ } | {
2605
+ name: "commandPalette";
2606
+ } | {
2607
+ name: "elementLinkSelector";
2608
+ sourceElementId: string;
2609
+ } | null;
2610
+ defaultSidebarDockedPreference: boolean;
2611
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2612
+ hoveredElementIds: Readonly<{
2613
+ [id: string]: true;
2614
+ }>;
2615
+ previousSelectedElementIds: {
2616
+ [id: string]: true;
2617
+ };
2618
+ selectedElementsAreBeingDragged: boolean;
2619
+ shouldCacheIgnoreZoom: boolean;
2620
+ toast: {
2621
+ message: string;
2622
+ closable?: boolean | undefined;
2623
+ duration?: number | undefined;
2624
+ } | null;
2625
+ zenModeEnabled: boolean;
2626
+ theme: import("@excalidraw/element/types").Theme;
2627
+ gridSize: number;
2628
+ gridStep: number;
2629
+ gridModeEnabled: boolean;
2630
+ viewModeEnabled: boolean;
2631
+ editingGroupId: string | null;
2632
+ width: number;
2633
+ height: number;
2634
+ offsetTop: number;
2635
+ offsetLeft: number;
2636
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2637
+ collaborators: Map<import("../types").SocketId, Readonly<{
2638
+ pointer?: import("../types").CollaboratorPointer | undefined;
2639
+ button?: "up" | "down" | undefined;
2640
+ selectedElementIds?: Readonly<{
2641
+ [id: string]: true;
2642
+ }> | undefined;
2643
+ username?: string | null | undefined;
2644
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2645
+ color?: {
2646
+ background: string;
2647
+ stroke: string;
2648
+ } | undefined;
2649
+ avatarUrl?: string | undefined;
2650
+ id?: string | undefined;
2651
+ socketId?: import("../types").SocketId | undefined;
2652
+ isCurrentUser?: boolean | undefined;
2653
+ isInCall?: boolean | undefined;
2654
+ isSpeaking?: boolean | undefined;
2655
+ isMuted?: boolean | undefined;
2656
+ }>>;
2657
+ stats: {
2658
+ open: boolean;
2659
+ panels: number;
2660
+ };
2661
+ currentChartType: import("@excalidraw/element/types").ChartType;
2662
+ pasteDialog: {
2663
+ shown: false;
2664
+ data: null;
2665
+ } | {
2666
+ shown: true;
2667
+ data: import("../charts").Spreadsheet;
2668
+ };
2669
+ showHyperlinkPopup: false | "info" | "editor";
2670
+ linkOpacity: number;
2671
+ colorPalette?: {
2672
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2673
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2674
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2675
+ topPicks: {
2676
+ canvasBackground: [string, string, string, string, string];
2677
+ elementStroke: [string, string, string, string, string];
2678
+ elementBackground: [string, string, string, string, string];
2679
+ };
2680
+ } | undefined;
2681
+ allowWheelZoom?: boolean | undefined;
2682
+ allowPinchZoom?: boolean | undefined;
2683
+ pinnedScripts?: string[] | undefined;
2684
+ customPens?: any[] | undefined;
2685
+ currentStrokeOptions?: any;
2686
+ resetCustomPen?: any;
2687
+ gridColor: {
2688
+ Bold: string;
2689
+ Regular: string;
2690
+ };
2691
+ gridDirection: {
2692
+ horizontal: boolean;
2693
+ vertical: boolean;
2694
+ };
2695
+ highlightSearchResult: boolean;
2696
+ dynamicStyle: {
2697
+ [x: string]: string;
2698
+ };
2699
+ frameColor: {
2700
+ stroke: string;
2701
+ fill: string;
2702
+ nameColor: string;
2703
+ };
2704
+ invertBindingBehaviour: boolean;
2705
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2706
+ snapLines: readonly import("../snapping").SnapLine[];
2707
+ originSnapOffset: {
2708
+ x: number;
2709
+ y: number;
2710
+ } | null;
2711
+ objectsSnapModeEnabled: boolean;
2712
+ userToFollow: import("../types").UserToFollow | null;
2713
+ followedBy: Set<import("../types").SocketId>;
2714
+ isCropping: boolean;
2715
+ croppingElementId: string | null;
2716
+ searchMatches: Readonly<{
2717
+ focusedId: string | null;
2718
+ matches: readonly import("../types").SearchMatch[];
2719
+ }> | null;
2720
+ activeLockedId: string | null;
2721
+ lockedMultiSelections: {
2722
+ [groupId: string]: true;
2723
+ };
2724
+ };
2725
+ captureUpdate: "NEVER";
2726
+ };
2727
+ } & {
2728
+ keyTest?: undefined;
2729
+ };
2730
+ export declare const actionToggleHandTool: {
2731
+ name: "toggleHandTool";
2732
+ label: string;
2733
+ trackEvent: {
2734
+ category: "toolbar";
2735
+ };
2736
+ icon: import("react/jsx-runtime").JSX.Element;
2737
+ viewMode: false;
2738
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
2739
+ appState: {
2740
+ selectedElementIds: {};
2741
+ selectedGroupIds: {};
2742
+ activeEmbeddable: null;
2743
+ activeTool: {
2744
+ lastActiveTool: import("../types").ActiveTool | null;
2745
+ locked: boolean;
2746
+ fromSelection: boolean;
2747
+ } & import("../types").ActiveTool;
2748
+ contextMenu: {
2749
+ items: import("../components/ContextMenu").ContextMenuItems;
2750
+ top: number;
2751
+ left: number;
2752
+ } | null;
2753
+ showWelcomeScreen: boolean;
2754
+ isLoading: boolean;
2755
+ errorMessage: import("react").ReactNode;
2756
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2757
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2758
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2759
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2760
+ isBindingEnabled: boolean;
2761
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2762
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2763
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2764
+ frameRendering: {
2765
+ enabled: boolean;
2766
+ name: boolean;
2767
+ outline: boolean;
2768
+ clip: boolean;
2769
+ markerName: boolean;
2770
+ markerEnabled: boolean;
2771
+ };
2772
+ editingFrame: string | null;
2773
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2774
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2775
+ preferredSelectionTool: {
2776
+ type: "selection" | "lasso";
2777
+ initialized: boolean;
2778
+ };
2779
+ penMode: boolean;
2780
+ penDetected: boolean;
2781
+ exportBackground: boolean;
2782
+ exportEmbedScene: boolean;
2783
+ exportWithDarkMode: boolean;
2784
+ exportScale: number;
2785
+ currentItemStrokeColor: string;
2786
+ currentItemBackgroundColor: string;
2787
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
2788
+ currentItemStrokeWidth: number;
2789
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
2790
+ currentItemRoughness: number;
2791
+ currentItemOpacity: number;
2792
+ currentItemFontFamily: number;
2793
+ currentItemFontSize: number;
2794
+ currentItemTextAlign: string;
2795
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2796
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
2797
+ currentHoveredFontFamily: number | null;
2798
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2799
+ currentItemArrowType: "round" | "sharp" | "elbow";
2800
+ currentItemFrameRole: ("marker" | null) | undefined;
2801
+ viewBackgroundColor: string;
2802
+ scrollX: number;
2803
+ scrollY: number;
2804
+ cursorButton: "up" | "down";
2805
+ scrolledOutside: boolean;
2806
+ name: string | null;
2807
+ isResizing: boolean;
2808
+ isRotating: boolean;
2809
+ zoom: Readonly<{
2810
+ value: import("../types").NormalizedZoomValue;
2811
+ }>;
2812
+ openMenu: "canvas" | "shape" | null;
2813
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2814
+ openSidebar: {
2815
+ name: string;
2816
+ tab?: string | undefined;
2817
+ } | null;
2818
+ openDialog: {
2819
+ name: "help" | "imageExport" | "jsonExport";
2820
+ } | {
2821
+ name: "ttd";
2822
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2823
+ } | {
2824
+ name: "commandPalette";
2825
+ } | {
2826
+ name: "elementLinkSelector";
2827
+ sourceElementId: string;
2828
+ } | null;
2829
+ defaultSidebarDockedPreference: boolean;
2830
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
2831
+ hoveredElementIds: Readonly<{
2832
+ [id: string]: true;
2833
+ }>;
2834
+ previousSelectedElementIds: {
2835
+ [id: string]: true;
2836
+ };
2837
+ selectedElementsAreBeingDragged: boolean;
2838
+ shouldCacheIgnoreZoom: boolean;
2839
+ toast: {
2840
+ message: string;
2841
+ closable?: boolean | undefined;
2842
+ duration?: number | undefined;
2843
+ } | null;
2844
+ zenModeEnabled: boolean;
2845
+ theme: import("@excalidraw/element/types").Theme;
2846
+ gridSize: number;
2847
+ gridStep: number;
2848
+ gridModeEnabled: boolean;
2849
+ viewModeEnabled: boolean;
2850
+ editingGroupId: string | null;
2851
+ width: number;
2852
+ height: number;
2853
+ offsetTop: number;
2854
+ offsetLeft: number;
2855
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
2856
+ collaborators: Map<import("../types").SocketId, Readonly<{
2857
+ pointer?: import("../types").CollaboratorPointer | undefined;
2858
+ button?: "up" | "down" | undefined;
2859
+ selectedElementIds?: Readonly<{
2860
+ [id: string]: true;
2861
+ }> | undefined;
2862
+ username?: string | null | undefined;
2863
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
2864
+ color?: {
2865
+ background: string;
2866
+ stroke: string;
2867
+ } | undefined;
2868
+ avatarUrl?: string | undefined;
2869
+ id?: string | undefined;
2870
+ socketId?: import("../types").SocketId | undefined;
2871
+ isCurrentUser?: boolean | undefined;
2872
+ isInCall?: boolean | undefined;
2873
+ isSpeaking?: boolean | undefined;
2874
+ isMuted?: boolean | undefined;
2875
+ }>>;
2876
+ stats: {
2877
+ open: boolean;
2878
+ panels: number;
2879
+ };
2880
+ currentChartType: import("@excalidraw/element/types").ChartType;
2881
+ pasteDialog: {
2882
+ shown: false;
2883
+ data: null;
2884
+ } | {
2885
+ shown: true;
2886
+ data: import("../charts").Spreadsheet;
2887
+ };
2888
+ showHyperlinkPopup: false | "info" | "editor";
2889
+ linkOpacity: number;
2890
+ colorPalette?: {
2891
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
2892
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
2893
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
2894
+ topPicks: {
2895
+ canvasBackground: [string, string, string, string, string];
2896
+ elementStroke: [string, string, string, string, string];
2897
+ elementBackground: [string, string, string, string, string];
2898
+ };
2899
+ } | undefined;
2900
+ allowWheelZoom?: boolean | undefined;
2901
+ allowPinchZoom?: boolean | undefined;
2902
+ pinnedScripts?: string[] | undefined;
2903
+ customPens?: any[] | undefined;
2904
+ currentStrokeOptions?: any;
2905
+ resetCustomPen?: any;
2906
+ gridColor: {
2907
+ Bold: string;
2908
+ Regular: string;
2909
+ };
2910
+ gridDirection: {
2911
+ horizontal: boolean;
2912
+ vertical: boolean;
2913
+ };
2914
+ highlightSearchResult: boolean;
2915
+ dynamicStyle: {
2916
+ [x: string]: string;
2917
+ };
2918
+ frameColor: {
2919
+ stroke: string;
2920
+ fill: string;
2921
+ nameColor: string;
2922
+ };
2923
+ invertBindingBehaviour: boolean;
2924
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2925
+ snapLines: readonly import("../snapping").SnapLine[];
2926
+ originSnapOffset: {
2927
+ x: number;
2928
+ y: number;
2929
+ } | null;
2930
+ objectsSnapModeEnabled: boolean;
2931
+ userToFollow: import("../types").UserToFollow | null;
2932
+ followedBy: Set<import("../types").SocketId>;
2933
+ isCropping: boolean;
2934
+ croppingElementId: string | null;
2935
+ searchMatches: Readonly<{
2936
+ focusedId: string | null;
2937
+ matches: readonly import("../types").SearchMatch[];
2938
+ }> | null;
2939
+ activeLockedId: string | null;
2940
+ lockedMultiSelections: {
2941
+ [groupId: string]: true;
2942
+ };
2943
+ };
2944
+ captureUpdate: "IMMEDIATELY";
2945
+ };
2946
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2947
+ } & {
2948
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2949
+ };
2950
+ export declare const actionToggleLaserPointer: {
2951
+ name: "toggleLaserPointerTool";
2952
+ viewMode: true;
2953
+ trackEvent: {
2954
+ category: "menu";
2955
+ };
2956
+ perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties): {
2957
+ appState: {
2958
+ selectedElementIds: {};
2959
+ selectedGroupIds: {};
2960
+ activeEmbeddable: null;
2961
+ activeTool: {
2962
+ lastActiveTool: import("../types").ActiveTool | null;
2963
+ locked: boolean;
2964
+ fromSelection: boolean;
2965
+ } & import("../types").ActiveTool;
2966
+ contextMenu: {
2967
+ items: import("../components/ContextMenu").ContextMenuItems;
2968
+ top: number;
2969
+ left: number;
2970
+ } | null;
2971
+ showWelcomeScreen: boolean;
2972
+ isLoading: boolean;
2973
+ errorMessage: import("react").ReactNode;
2974
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2975
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2976
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
2977
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2978
+ isBindingEnabled: boolean;
2979
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2980
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2981
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2982
+ frameRendering: {
2983
+ enabled: boolean;
2984
+ name: boolean;
2985
+ outline: boolean;
2986
+ clip: boolean;
2987
+ markerName: boolean;
2988
+ markerEnabled: boolean;
2989
+ };
2990
+ editingFrame: string | null;
2991
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2992
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2993
+ preferredSelectionTool: {
2994
+ type: "selection" | "lasso";
2995
+ initialized: boolean;
2996
+ };
2997
+ penMode: boolean;
2998
+ penDetected: boolean;
2999
+ exportBackground: boolean;
3000
+ exportEmbedScene: boolean;
3001
+ exportWithDarkMode: boolean;
3002
+ exportScale: number;
3003
+ currentItemStrokeColor: string;
3004
+ currentItemBackgroundColor: string;
3005
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
3006
+ currentItemStrokeWidth: number;
3007
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
3008
+ currentItemRoughness: number;
3009
+ currentItemOpacity: number;
3010
+ currentItemFontFamily: number;
3011
+ currentItemFontSize: number;
3012
+ currentItemTextAlign: string;
3013
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
3014
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
3015
+ currentHoveredFontFamily: number | null;
3016
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
3017
+ currentItemArrowType: "round" | "sharp" | "elbow";
3018
+ currentItemFrameRole: ("marker" | null) | undefined;
3019
+ viewBackgroundColor: string;
3020
+ scrollX: number;
3021
+ scrollY: number;
3022
+ cursorButton: "up" | "down";
3023
+ scrolledOutside: boolean;
3024
+ name: string | null;
3025
+ isResizing: boolean;
3026
+ isRotating: boolean;
3027
+ zoom: Readonly<{
3028
+ value: import("../types").NormalizedZoomValue;
3029
+ }>;
3030
+ openMenu: "canvas" | "shape" | null;
3031
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
3032
+ openSidebar: {
3033
+ name: string;
3034
+ tab?: string | undefined;
3035
+ } | null;
3036
+ openDialog: {
3037
+ name: "help" | "imageExport" | "jsonExport";
3038
+ } | {
3039
+ name: "ttd";
3040
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
3041
+ } | {
3042
+ name: "commandPalette";
3043
+ } | {
3044
+ name: "elementLinkSelector";
3045
+ sourceElementId: string;
3046
+ } | null;
3047
+ defaultSidebarDockedPreference: boolean;
3048
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
3049
+ hoveredElementIds: Readonly<{
3050
+ [id: string]: true;
3051
+ }>;
3052
+ previousSelectedElementIds: {
3053
+ [id: string]: true;
3054
+ };
3055
+ selectedElementsAreBeingDragged: boolean;
3056
+ shouldCacheIgnoreZoom: boolean;
3057
+ toast: {
3058
+ message: string;
3059
+ closable?: boolean | undefined;
3060
+ duration?: number | undefined;
3061
+ } | null;
3062
+ zenModeEnabled: boolean;
3063
+ theme: import("@excalidraw/element/types").Theme;
3064
+ gridSize: number;
3065
+ gridStep: number;
3066
+ gridModeEnabled: boolean;
3067
+ viewModeEnabled: boolean;
3068
+ editingGroupId: string | null;
3069
+ width: number;
3070
+ height: number;
3071
+ offsetTop: number;
3072
+ offsetLeft: number;
3073
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
3074
+ collaborators: Map<import("../types").SocketId, Readonly<{
3075
+ pointer?: import("../types").CollaboratorPointer | undefined;
3076
+ button?: "up" | "down" | undefined;
3077
+ selectedElementIds?: Readonly<{
3078
+ [id: string]: true;
3079
+ }> | undefined;
3080
+ username?: string | null | undefined;
3081
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
3082
+ color?: {
3083
+ background: string;
3084
+ stroke: string;
3085
+ } | undefined;
3086
+ avatarUrl?: string | undefined;
3087
+ id?: string | undefined;
3088
+ socketId?: import("../types").SocketId | undefined;
3089
+ isCurrentUser?: boolean | undefined;
3090
+ isInCall?: boolean | undefined;
3091
+ isSpeaking?: boolean | undefined;
3092
+ isMuted?: boolean | undefined;
3093
+ }>>;
3094
+ stats: {
3095
+ open: boolean;
3096
+ panels: number;
3097
+ };
3098
+ currentChartType: import("@excalidraw/element/types").ChartType;
3099
+ pasteDialog: {
3100
+ shown: false;
3101
+ data: null;
3102
+ } | {
3103
+ shown: true;
3104
+ data: import("../charts").Spreadsheet;
3105
+ };
3106
+ showHyperlinkPopup: false | "info" | "editor";
3107
+ linkOpacity: number;
3108
+ colorPalette?: {
3109
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
3110
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
3111
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
3112
+ topPicks: {
3113
+ canvasBackground: [string, string, string, string, string];
3114
+ elementStroke: [string, string, string, string, string];
3115
+ elementBackground: [string, string, string, string, string];
3116
+ };
3117
+ } | undefined;
3118
+ allowWheelZoom?: boolean | undefined;
3119
+ allowPinchZoom?: boolean | undefined;
3120
+ pinnedScripts?: string[] | undefined;
3121
+ customPens?: any[] | undefined;
3122
+ currentStrokeOptions?: any;
3123
+ resetCustomPen?: any;
3124
+ gridColor: {
3125
+ Bold: string;
3126
+ Regular: string;
3127
+ };
3128
+ gridDirection: {
3129
+ horizontal: boolean;
3130
+ vertical: boolean;
3131
+ };
3132
+ highlightSearchResult: boolean;
3133
+ dynamicStyle: {
3134
+ [x: string]: string;
3135
+ };
3136
+ frameColor: {
3137
+ stroke: string;
3138
+ fill: string;
3139
+ nameColor: string;
3140
+ };
3141
+ invertBindingBehaviour: boolean;
3142
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
3143
+ snapLines: readonly import("../snapping").SnapLine[];
3144
+ originSnapOffset: {
3145
+ x: number;
3146
+ y: number;
3147
+ } | null;
3148
+ objectsSnapModeEnabled: boolean;
3149
+ userToFollow: import("../types").UserToFollow | null;
3150
+ followedBy: Set<import("../types").SocketId>;
3151
+ isCropping: boolean;
3152
+ croppingElementId: string | null;
3153
+ searchMatches: Readonly<{
3154
+ focusedId: string | null;
3155
+ matches: readonly import("../types").SearchMatch[];
3156
+ }> | null;
3157
+ activeLockedId: string | null;
3158
+ lockedMultiSelections: {
3159
+ [groupId: string]: true;
3160
+ };
3161
+ };
3162
+ captureUpdate: "NEVER";
3163
+ };
3164
+ checked: (appState: Readonly<AppState>) => boolean;
3165
+ label: string;
3166
+ icon: import("react/jsx-runtime").JSX.Element;
3167
+ } & {
3168
+ keyTest?: undefined;
3169
+ };
3170
+ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, zoomToSelection: boolean, app: AppClassProperties, maxZoom?: number, margin?: number) => {
3171
+ appState: {
3172
+ zoom: {
3173
+ value: import("../types").NormalizedZoomValue;
3174
+ };
3175
+ scrollX: number;
3176
+ scrollY: number;
3177
+ contextMenu: {
3178
+ items: import("../components/ContextMenu").ContextMenuItems;
3179
+ top: number;
3180
+ left: number;
3181
+ } | null;
3182
+ showWelcomeScreen: boolean;
3183
+ isLoading: boolean;
3184
+ errorMessage: import("react").ReactNode;
3185
+ activeEmbeddable: {
3186
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
3187
+ state: "active" | "hover";
3188
+ } | null;
3189
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
3190
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
3191
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
3192
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
3193
+ isBindingEnabled: boolean;
3194
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
3195
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
3196
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
3197
+ frameRendering: {
3198
+ enabled: boolean;
3199
+ name: boolean;
3200
+ outline: boolean;
3201
+ clip: boolean;
3202
+ markerName: boolean;
3203
+ markerEnabled: boolean;
3204
+ };
3205
+ editingFrame: string | null;
3206
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
3207
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
3208
+ activeTool: {
3209
+ lastActiveTool: import("../types").ActiveTool | null;
3210
+ locked: boolean;
3211
+ fromSelection: boolean;
3212
+ } & import("../types").ActiveTool;
3213
+ preferredSelectionTool: {
3214
+ type: "selection" | "lasso";
3215
+ initialized: boolean;
3216
+ };
3217
+ penMode: boolean;
3218
+ penDetected: boolean;
3219
+ exportBackground: boolean;
3220
+ exportEmbedScene: boolean;
3221
+ exportWithDarkMode: boolean;
3222
+ exportScale: number;
3223
+ currentItemStrokeColor: string;
3224
+ currentItemBackgroundColor: string;
3225
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
3226
+ currentItemStrokeWidth: number;
3227
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
3228
+ currentItemRoughness: number;
3229
+ currentItemOpacity: number;
3230
+ currentItemFontFamily: number;
3231
+ currentItemFontSize: number;
3232
+ currentItemTextAlign: string;
3233
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
3234
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
3235
+ currentHoveredFontFamily: number | null;
3236
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
3237
+ currentItemArrowType: "round" | "sharp" | "elbow";
3238
+ currentItemFrameRole: ("marker" | null) | undefined;
3239
+ viewBackgroundColor: string;
3240
+ cursorButton: "up" | "down";
3241
+ scrolledOutside: boolean;
3242
+ name: string | null;
3243
+ isResizing: boolean;
3244
+ isRotating: boolean;
3245
+ openMenu: "canvas" | "shape" | null;
3246
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
3247
+ openSidebar: {
3248
+ name: string;
3249
+ tab?: string | undefined;
3250
+ } | null;
3251
+ openDialog: {
3252
+ name: "help" | "imageExport" | "jsonExport";
3253
+ } | {
3254
+ name: "ttd";
3255
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
3256
+ } | {
3257
+ name: "commandPalette";
3258
+ } | {
3259
+ name: "elementLinkSelector";
3260
+ sourceElementId: string;
3261
+ } | null;
3262
+ defaultSidebarDockedPreference: boolean;
3263
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
3264
+ selectedElementIds: Readonly<{
3265
+ [id: string]: true;
3266
+ }>;
3267
+ hoveredElementIds: Readonly<{
3268
+ [id: string]: true;
3269
+ }>;
3270
+ previousSelectedElementIds: {
3271
+ [id: string]: true;
3272
+ };
3273
+ selectedElementsAreBeingDragged: boolean;
3274
+ shouldCacheIgnoreZoom: boolean;
3275
+ toast: {
3276
+ message: string;
3277
+ closable?: boolean | undefined;
3278
+ duration?: number | undefined;
3279
+ } | null;
3280
+ zenModeEnabled: boolean;
3281
+ theme: import("@excalidraw/element/types").Theme;
3282
+ gridSize: number;
3283
+ gridStep: number;
3284
+ gridModeEnabled: boolean;
3285
+ viewModeEnabled: boolean;
3286
+ selectedGroupIds: {
3287
+ [groupId: string]: boolean;
3288
+ };
3289
+ editingGroupId: string | null;
3290
+ width: number;
3291
+ height: number;
3292
+ offsetTop: number;
3293
+ offsetLeft: number;
3294
+ fileHandle: import("browser-fs-access").FileSystemHandle | null;
3295
+ collaborators: Map<import("../types").SocketId, Readonly<{
3296
+ pointer?: import("../types").CollaboratorPointer | undefined;
3297
+ button?: "up" | "down" | undefined;
3298
+ selectedElementIds?: Readonly<{
3299
+ [id: string]: true;
3300
+ }> | undefined;
3301
+ username?: string | null | undefined;
3302
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
3303
+ color?: {
3304
+ background: string;
3305
+ stroke: string;
3306
+ } | undefined;
3307
+ avatarUrl?: string | undefined;
3308
+ id?: string | undefined;
3309
+ socketId?: import("../types").SocketId | undefined;
3310
+ isCurrentUser?: boolean | undefined;
3311
+ isInCall?: boolean | undefined;
3312
+ isSpeaking?: boolean | undefined;
3313
+ isMuted?: boolean | undefined;
3314
+ }>>;
3315
+ stats: {
3316
+ open: boolean;
3317
+ panels: number;
3318
+ };
3319
+ currentChartType: import("@excalidraw/element/types").ChartType;
3320
+ pasteDialog: {
3321
+ shown: false;
3322
+ data: null;
3323
+ } | {
3324
+ shown: true;
3325
+ data: import("../charts").Spreadsheet;
3326
+ };
3327
+ showHyperlinkPopup: false | "info" | "editor";
3328
+ linkOpacity: number;
3329
+ colorPalette?: {
3330
+ canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
3331
+ elementBackground: import("@excalidraw/common").ColorPaletteCustom;
3332
+ elementStroke: import("@excalidraw/common").ColorPaletteCustom;
3333
+ topPicks: {
3334
+ canvasBackground: [string, string, string, string, string];
3335
+ elementStroke: [string, string, string, string, string];
3336
+ elementBackground: [string, string, string, string, string];
3337
+ };
3338
+ } | undefined;
3339
+ allowWheelZoom?: boolean | undefined;
3340
+ allowPinchZoom?: boolean | undefined;
3341
+ pinnedScripts?: string[] | undefined;
3342
+ customPens?: any[] | undefined;
3343
+ currentStrokeOptions?: any;
3344
+ resetCustomPen?: any;
3345
+ gridColor: {
3346
+ Bold: string;
3347
+ Regular: string;
3348
+ };
3349
+ gridDirection: {
3350
+ horizontal: boolean;
3351
+ vertical: boolean;
3352
+ };
3353
+ highlightSearchResult: boolean;
3354
+ dynamicStyle: {
3355
+ [x: string]: string;
3356
+ };
3357
+ frameColor: {
3358
+ stroke: string;
3359
+ fill: string;
3360
+ nameColor: string;
3361
+ };
3362
+ invertBindingBehaviour: boolean;
3363
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
3364
+ snapLines: readonly import("../snapping").SnapLine[];
3365
+ originSnapOffset: {
3366
+ x: number;
3367
+ y: number;
3368
+ } | null;
3369
+ objectsSnapModeEnabled: boolean;
3370
+ userToFollow: import("../types").UserToFollow | null;
3371
+ followedBy: Set<import("../types").SocketId>;
3372
+ isCropping: boolean;
3373
+ croppingElementId: string | null;
3374
+ searchMatches: Readonly<{
3375
+ focusedId: string | null;
3376
+ matches: readonly import("../types").SearchMatch[];
3377
+ }> | null;
3378
+ activeLockedId: string | null;
3379
+ lockedMultiSelections: {
3380
+ [groupId: string]: true;
3381
+ };
3382
+ };
3383
+ commitToHistory: boolean;
3384
+ };