@myoc/excalidraw 0.18.1 → 0.18.2

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 (227) hide show
  1. package/dist/dev/{chunk-DYSQNY2T.js → chunk-6MXLCRC3.js} +2 -1
  2. package/dist/dev/chunk-6MXLCRC3.js.map +7 -0
  3. package/dist/dev/{chunk-IVKGBVG7.js → chunk-WBHLRU4Z.js} +2 -2
  4. package/dist/dev/{chunk-IVKGBVG7.js.map → chunk-WBHLRU4Z.js.map} +1 -1
  5. package/dist/dev/{chunk-ND5KUA7P.js → chunk-WT7JKXOQ.js} +16541 -21170
  6. package/dist/dev/chunk-WT7JKXOQ.js.map +7 -0
  7. package/dist/dev/data/{image-ZD4HK457.js → image-N5NBMO74.js} +3 -3
  8. package/dist/dev/index.css +44 -47
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +6637 -1355
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-IW3FTNXY.js → en-FBYNI7ML.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/{chunk-Y5S6JYT2.js → chunk-6NO4X5TH.js} +1 -1
  16. package/dist/prod/chunk-GALOWMDI.js +31 -0
  17. package/dist/prod/data/{image-YE6T6FOC.js → image-NMU2LHCK.js} +1 -1
  18. package/dist/prod/index.css +1 -1
  19. package/dist/prod/index.js +17 -14
  20. package/dist/prod/locales/{en-3JJA6ONK.js → en-RF5UZHGV.js} +1 -1
  21. package/dist/types/{excalidraw/binaryheap.d.ts → common/src/binary-heap.d.ts} +1 -1
  22. package/dist/types/{excalidraw → common/src}/colors.d.ts +1 -0
  23. package/dist/types/{excalidraw → common/src}/constants.d.ts +7 -6
  24. package/dist/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +11 -3
  25. package/dist/types/common/src/index.d.ts +11 -0
  26. package/dist/types/{excalidraw → common/src}/points.d.ts +2 -0
  27. package/dist/types/common/src/promise-pool.d.ts +6 -0
  28. package/dist/types/{excalidraw → common/src}/utils.d.ts +9 -12
  29. package/dist/types/{excalidraw/scene → element/src}/Shape.d.ts +2 -2
  30. package/dist/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +4 -4
  31. package/dist/types/{excalidraw → element/src}/align.d.ts +2 -2
  32. package/dist/types/{excalidraw/element → element/src}/binding.d.ts +5 -4
  33. package/dist/types/{excalidraw/element → element/src}/bounds.d.ts +6 -1
  34. package/dist/types/{excalidraw/element → element/src}/collision.d.ts +2 -2
  35. package/dist/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
  36. package/dist/types/{excalidraw → element/src}/distribute.d.ts +1 -1
  37. package/dist/types/{excalidraw/element → element/src}/dragElements.d.ts +3 -3
  38. package/dist/types/element/src/duplicate.d.ts +66 -0
  39. package/dist/types/{excalidraw/element → element/src}/elementLink.d.ts +1 -1
  40. package/dist/types/element/src/embeddable.d.ts +10 -0
  41. package/dist/types/{excalidraw/element → element/src}/flowchart.d.ts +1 -1
  42. package/dist/types/{excalidraw → element/src}/fractionalIndex.d.ts +4 -1
  43. package/dist/types/{excalidraw → element/src}/frame.d.ts +6 -6
  44. package/dist/types/{excalidraw → element/src}/groups.d.ts +5 -5
  45. package/dist/types/{excalidraw/element → element/src}/heading.d.ts +1 -2
  46. package/dist/types/{excalidraw/element → element/src}/image.d.ts +2 -2
  47. package/dist/types/{excalidraw/element → element/src}/index.d.ts +0 -10
  48. package/dist/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +5 -5
  49. package/dist/types/{excalidraw/element → element/src}/mutateElement.d.ts +1 -1
  50. package/dist/types/{excalidraw/element → element/src}/newElement.d.ts +3 -43
  51. package/dist/types/{excalidraw/renderer → element/src}/renderElement.d.ts +3 -3
  52. package/dist/types/{excalidraw/element → element/src}/resizeElements.d.ts +2 -2
  53. package/dist/types/{excalidraw/element → element/src}/resizeTest.d.ts +1 -1
  54. package/dist/types/{excalidraw/scene → element/src}/selection.d.ts +2 -2
  55. package/dist/types/{excalidraw → element/src}/shapes.d.ts +6 -6
  56. package/dist/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
  57. package/dist/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +1 -1
  58. package/dist/types/{excalidraw/element → element/src}/textElement.d.ts +3 -4
  59. package/dist/types/{excalidraw/element → element/src}/transformHandles.d.ts +5 -5
  60. package/dist/types/{excalidraw/element → element/src}/typeChecks.d.ts +2 -2
  61. package/dist/types/{excalidraw/element → element/src}/types.d.ts +2 -2
  62. package/dist/types/{excalidraw → element/src}/zindex.d.ts +5 -4
  63. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +73 -70
  64. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  65. package/dist/types/excalidraw/actions/actionBoundText.d.ts +54 -52
  66. package/dist/types/excalidraw/actions/actionCanvas.d.ts +456 -264
  67. package/dist/types/excalidraw/actions/actionClipboard.d.ts +155 -149
  68. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +26 -25
  69. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +73 -70
  70. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  71. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -7
  72. package/dist/types/excalidraw/actions/actionElementLink.d.ts +30 -29
  73. package/dist/types/excalidraw/actions/actionElementLock.d.ts +53 -52
  74. package/dist/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +26 -35
  75. package/dist/types/excalidraw/actions/actionExport.d.ts +306 -297
  76. package/dist/types/excalidraw/actions/actionFinalize.d.ts +41 -39
  77. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  78. package/dist/types/excalidraw/actions/actionFrame.d.ts +217 -213
  79. package/dist/types/excalidraw/actions/actionGroup.d.ts +51 -49
  80. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +27 -26
  81. package/dist/types/excalidraw/actions/actionLink.d.ts +26 -25
  82. package/dist/types/excalidraw/actions/actionMenu.d.ts +73 -70
  83. package/dist/types/excalidraw/actions/actionNavigate.d.ts +48 -46
  84. package/dist/types/excalidraw/actions/actionProperties.d.ts +317 -302
  85. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +26 -25
  86. package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +1 -1
  87. package/dist/types/excalidraw/actions/actionStyles.d.ts +28 -27
  88. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  89. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +26 -25
  90. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +26 -25
  91. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +50 -48
  92. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +25 -25
  93. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +26 -26
  94. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -26
  95. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  96. package/dist/types/excalidraw/actions/index.d.ts +1 -0
  97. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  98. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  99. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  100. package/dist/types/excalidraw/animated-trail.d.ts +7 -1
  101. package/dist/types/excalidraw/appState.d.ts +35 -34
  102. package/dist/types/excalidraw/change.d.ts +3 -3
  103. package/dist/types/excalidraw/charts.d.ts +1 -1
  104. package/dist/types/excalidraw/clipboard.d.ts +2 -2
  105. package/dist/types/excalidraw/components/Actions.d.ts +2 -2
  106. package/dist/types/excalidraw/components/App.d.ts +14 -9
  107. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  108. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  109. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  110. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  111. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  112. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +3 -3
  113. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  114. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  115. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  116. package/dist/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
  117. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  118. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  119. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  120. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  121. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  122. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  123. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  124. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  125. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  126. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  127. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  128. package/dist/types/excalidraw/components/LibraryUnit.d.ts +1 -1
  129. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  130. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  131. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  132. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  133. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  134. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  135. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  136. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  137. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  138. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  139. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  140. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  141. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  142. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  143. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  144. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -1
  145. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  146. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  147. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  148. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  149. package/dist/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  150. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  151. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
  152. package/dist/types/excalidraw/components/icons.d.ts +2 -1
  153. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  154. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +4 -1
  155. package/dist/types/excalidraw/components/shapes.d.ts +62 -0
  156. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  157. package/dist/types/excalidraw/data/blob.d.ts +5 -5
  158. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  159. package/dist/types/excalidraw/data/index.d.ts +1 -1
  160. package/dist/types/excalidraw/data/json.d.ts +1 -1
  161. package/dist/types/excalidraw/data/library.d.ts +2 -2
  162. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  163. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  164. package/dist/types/excalidraw/data/restore.d.ts +1 -1
  165. package/dist/types/excalidraw/data/transform.d.ts +4 -4
  166. package/dist/types/excalidraw/data/types.d.ts +2 -2
  167. package/dist/types/excalidraw/errors.d.ts +0 -3
  168. package/dist/types/excalidraw/fonts/Fonts.d.ts +2 -12
  169. package/dist/types/excalidraw/history.d.ts +1 -1
  170. package/dist/types/excalidraw/i18n.d.ts +1 -1
  171. package/dist/types/excalidraw/index.d.ts +11 -10
  172. package/dist/types/excalidraw/lasso/index.d.ts +15 -0
  173. package/dist/types/excalidraw/lasso/utils.d.ts +13 -0
  174. package/dist/types/excalidraw/renderer/helpers.d.ts +1 -1
  175. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  176. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  177. package/dist/types/excalidraw/scene/Scene.d.ts +5 -5
  178. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  179. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  180. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  181. package/dist/types/excalidraw/scene/scrollbars.d.ts +1 -1
  182. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  183. package/dist/types/excalidraw/snapping.d.ts +4 -5
  184. package/dist/types/excalidraw/store.d.ts +2 -2
  185. package/dist/types/excalidraw/types.d.ts +10 -9
  186. package/dist/types/excalidraw/visualdebug.d.ts +1 -1
  187. package/dist/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +1 -1
  188. package/dist/types/math/{point.d.ts → src/point.d.ts} +2 -2
  189. package/dist/types/math/{polygon.d.ts → src/polygon.d.ts} +1 -0
  190. package/dist/types/math/{segment.d.ts → src/segment.d.ts} +1 -1
  191. package/dist/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
  192. package/dist/types/utils/{collision.d.ts → src/collision.d.ts} +1 -2
  193. package/dist/types/utils/{export.d.ts → src/export.d.ts} +2 -2
  194. package/dist/types/utils/{index.d.ts → src/index.d.ts} +1 -1
  195. package/dist/types/utils/{geometry → src}/shape.d.ts +1 -14
  196. package/dist/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
  197. package/history.ts +2 -1
  198. package/package.json +14 -2
  199. package/dist/dev/chunk-DYSQNY2T.js.map +0 -7
  200. package/dist/dev/chunk-ND5KUA7P.js.map +0 -7
  201. package/dist/prod/chunk-45TA3AZW.js +0 -34
  202. /package/dist/dev/data/{image-ZD4HK457.js.map → image-N5NBMO74.js.map} +0 -0
  203. /package/dist/dev/locales/{en-IW3FTNXY.js.map → en-FBYNI7ML.js.map} +0 -0
  204. /package/dist/types/{excalidraw → common/src}/keys.d.ts +0 -0
  205. /package/dist/types/{excalidraw → common/src}/queue.d.ts +0 -0
  206. /package/dist/types/{excalidraw → common/src}/random.d.ts +0 -0
  207. /package/dist/types/{excalidraw/data → common/src}/url.d.ts +0 -0
  208. /package/dist/types/{excalidraw → common/src}/utility-types.d.ts +0 -0
  209. /package/dist/types/{excalidraw/element → element/src}/containerCache.d.ts +0 -0
  210. /package/dist/types/{excalidraw/element → element/src}/cropElement.d.ts +0 -0
  211. /package/dist/types/{excalidraw/element → element/src}/distance.d.ts +0 -0
  212. /package/dist/types/{excalidraw/element → element/src}/elbowArrow.d.ts +0 -0
  213. /package/dist/types/{excalidraw/element → element/src}/sortElements.d.ts +0 -0
  214. /package/dist/types/{excalidraw/element → element/src}/textMeasurements.d.ts +0 -0
  215. /package/dist/types/{excalidraw/element → element/src}/textWrapping.d.ts +0 -0
  216. /package/dist/types/{excalidraw/element → element/src}/utils.d.ts +0 -0
  217. /package/dist/types/math/{angle.d.ts → src/angle.d.ts} +0 -0
  218. /package/dist/types/math/{curve.d.ts → src/curve.d.ts} +0 -0
  219. /package/dist/types/math/{ellipse.d.ts → src/ellipse.d.ts} +0 -0
  220. /package/dist/types/math/{index.d.ts → src/index.d.ts} +0 -0
  221. /package/dist/types/math/{line.d.ts → src/line.d.ts} +0 -0
  222. /package/dist/types/math/{range.d.ts → src/range.d.ts} +0 -0
  223. /package/dist/types/math/{rectangle.d.ts → src/rectangle.d.ts} +0 -0
  224. /package/dist/types/math/{triangle.d.ts → src/triangle.d.ts} +0 -0
  225. /package/dist/types/math/{types.d.ts → src/types.d.ts} +0 -0
  226. /package/dist/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
  227. /package/dist/types/math/{vector.d.ts → src/vector.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import type { ExcalidrawElement } from "../element/types";
2
+ import type { ExcalidrawElement } from "@excalidraw/element/types";
3
3
  import type { AppClassProperties, AppState } from "../types";
4
4
  export declare const actionSelectAllElementsInFrame: {
5
5
  name: "selectAllElementsInFrame";
@@ -7,8 +7,8 @@ export declare const actionSelectAllElementsInFrame: {
7
7
  trackEvent: {
8
8
  category: "canvas";
9
9
  };
10
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
11
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
10
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
11
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
12
12
  appState: {
13
13
  selectedElementIds: Record<string, true>;
14
14
  contextMenu: {
@@ -23,17 +23,17 @@ export declare const actionSelectAllElementsInFrame: {
23
23
  wheelZoomsOnDefault?: boolean | undefined;
24
24
  errorMessage: import("react").ReactNode;
25
25
  activeEmbeddable: {
26
- element: import("../element/types").NonDeletedExcalidrawElement;
26
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
27
27
  state: "hover" | "active";
28
28
  } | null;
29
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
30
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
31
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
32
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
29
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
30
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
31
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
32
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
33
33
  isBindingEnabled: boolean;
34
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
35
- suggestedBindings: import("../element/binding").SuggestedBinding[];
36
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
34
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
35
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
36
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
37
37
  frameRendering: {
38
38
  enabled: boolean;
39
39
  name: boolean;
@@ -41,12 +41,13 @@ export declare const actionSelectAllElementsInFrame: {
41
41
  clip: boolean;
42
42
  };
43
43
  editingFrame: string | null;
44
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
45
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
46
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
44
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
45
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
46
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
47
47
  activeTool: {
48
48
  lastActiveTool: import("../types").ActiveTool | null;
49
49
  locked: boolean;
50
+ fromSelection: boolean;
50
51
  } & import("../types").ActiveTool;
51
52
  penMode: boolean;
52
53
  penDetected: boolean;
@@ -56,18 +57,18 @@ export declare const actionSelectAllElementsInFrame: {
56
57
  exportScale: number;
57
58
  currentItemStrokeColor: string;
58
59
  currentItemBackgroundColor: string;
59
- currentItemFillStyle: import("../element/types").FillStyle;
60
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
60
61
  currentItemStrokeWidth: number;
61
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
62
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
62
63
  currentItemRoughness: number;
63
64
  currentItemOpacity: number;
64
65
  currentItemFontFamily: number;
65
66
  currentItemFontSize: number;
66
67
  currentItemTextAlign: string;
67
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
68
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
68
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
69
70
  currentHoveredFontFamily: number | null;
70
- currentItemRoundness: import("../element/types").StrokeRoundness;
71
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
71
72
  currentItemArrowType: "round" | "sharp" | "elbow";
72
73
  viewBackgroundColor: string;
73
74
  scrollX: number;
@@ -80,7 +81,7 @@ export declare const actionSelectAllElementsInFrame: {
80
81
  zoom: Readonly<{
81
82
  value: import("../types").NormalizedZoomValue;
82
83
  }>;
83
- openMenu: "canvas" | "shape" | null;
84
+ openMenu: "shape" | "canvas" | null;
84
85
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
85
86
  openSidebar: {
86
87
  name: string;
@@ -98,7 +99,7 @@ export declare const actionSelectAllElementsInFrame: {
98
99
  sourceElementId: string;
99
100
  } | null;
100
101
  defaultSidebarDockedPreference: boolean;
101
- lastPointerDownWith: import("../element/types").PointerType;
102
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
102
103
  hoveredElementIds: Readonly<{
103
104
  [id: string]: true;
104
105
  }>;
@@ -113,7 +114,7 @@ export declare const actionSelectAllElementsInFrame: {
113
114
  duration?: number | undefined;
114
115
  } | null;
115
116
  zenModeEnabled: boolean;
116
- theme: import("../element/types").Theme;
117
+ theme: import("@excalidraw/element/types").Theme;
117
118
  gridSize: number;
118
119
  gridStep: number;
119
120
  gridModeEnabled: boolean;
@@ -134,7 +135,7 @@ export declare const actionSelectAllElementsInFrame: {
134
135
  [id: string]: true;
135
136
  }> | undefined;
136
137
  username?: string | null | undefined;
137
- userState?: import("..").UserIdleState | undefined;
138
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
138
139
  color?: {
139
140
  background: string;
140
141
  stroke: string;
@@ -151,7 +152,7 @@ export declare const actionSelectAllElementsInFrame: {
151
152
  open: boolean;
152
153
  panels: number;
153
154
  };
154
- currentChartType: import("../element/types").ChartType;
155
+ currentChartType: import("@excalidraw/element/types").ChartType;
155
156
  pasteDialog: {
156
157
  shown: false;
157
158
  data: null;
@@ -160,8 +161,8 @@ export declare const actionSelectAllElementsInFrame: {
160
161
  data: import("../charts").Spreadsheet;
161
162
  };
162
163
  pendingImageElementId: string | null;
163
- showHyperlinkPopup: false | "info" | "editor";
164
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
164
+ showHyperlinkPopup: false | "editor" | "info";
165
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
165
166
  snapLines: readonly import("../snapping").SnapLine[];
166
167
  originSnapOffset: {
167
168
  x: number;
@@ -185,7 +186,7 @@ export declare const actionSelectAllElementsInFrame: {
185
186
  };
186
187
  captureUpdate: "IMMEDIATELY";
187
188
  } | {
188
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
189
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
189
190
  appState: Readonly<AppState>;
190
191
  captureUpdate: "EVENTUALLY";
191
192
  };
@@ -199,8 +200,8 @@ export declare const actionRemoveAllElementsFromFrame: {
199
200
  trackEvent: {
200
201
  category: "history";
201
202
  };
202
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
203
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
203
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
204
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
204
205
  appState: {
205
206
  selectedElementIds: {
206
207
  [x: string]: true;
@@ -217,17 +218,17 @@ export declare const actionRemoveAllElementsFromFrame: {
217
218
  wheelZoomsOnDefault?: boolean | undefined;
218
219
  errorMessage: import("react").ReactNode;
219
220
  activeEmbeddable: {
220
- element: import("../element/types").NonDeletedExcalidrawElement;
221
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
221
222
  state: "hover" | "active";
222
223
  } | null;
223
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
224
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
225
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
226
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
224
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
225
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
226
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
227
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
227
228
  isBindingEnabled: boolean;
228
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
229
- suggestedBindings: import("../element/binding").SuggestedBinding[];
230
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
229
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
230
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
231
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
231
232
  frameRendering: {
232
233
  enabled: boolean;
233
234
  name: boolean;
@@ -235,12 +236,13 @@ export declare const actionRemoveAllElementsFromFrame: {
235
236
  clip: boolean;
236
237
  };
237
238
  editingFrame: string | null;
238
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
239
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
240
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
239
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
240
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
241
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
241
242
  activeTool: {
242
243
  lastActiveTool: import("../types").ActiveTool | null;
243
244
  locked: boolean;
245
+ fromSelection: boolean;
244
246
  } & import("../types").ActiveTool;
245
247
  penMode: boolean;
246
248
  penDetected: boolean;
@@ -250,18 +252,18 @@ export declare const actionRemoveAllElementsFromFrame: {
250
252
  exportScale: number;
251
253
  currentItemStrokeColor: string;
252
254
  currentItemBackgroundColor: string;
253
- currentItemFillStyle: import("../element/types").FillStyle;
255
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
254
256
  currentItemStrokeWidth: number;
255
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
257
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
256
258
  currentItemRoughness: number;
257
259
  currentItemOpacity: number;
258
260
  currentItemFontFamily: number;
259
261
  currentItemFontSize: number;
260
262
  currentItemTextAlign: string;
261
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
262
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
263
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
264
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
263
265
  currentHoveredFontFamily: number | null;
264
- currentItemRoundness: import("../element/types").StrokeRoundness;
266
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
265
267
  currentItemArrowType: "round" | "sharp" | "elbow";
266
268
  viewBackgroundColor: string;
267
269
  scrollX: number;
@@ -274,7 +276,7 @@ export declare const actionRemoveAllElementsFromFrame: {
274
276
  zoom: Readonly<{
275
277
  value: import("../types").NormalizedZoomValue;
276
278
  }>;
277
- openMenu: "canvas" | "shape" | null;
279
+ openMenu: "shape" | "canvas" | null;
278
280
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
279
281
  openSidebar: {
280
282
  name: string;
@@ -292,7 +294,7 @@ export declare const actionRemoveAllElementsFromFrame: {
292
294
  sourceElementId: string;
293
295
  } | null;
294
296
  defaultSidebarDockedPreference: boolean;
295
- lastPointerDownWith: import("../element/types").PointerType;
297
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
296
298
  hoveredElementIds: Readonly<{
297
299
  [id: string]: true;
298
300
  }>;
@@ -307,7 +309,7 @@ export declare const actionRemoveAllElementsFromFrame: {
307
309
  duration?: number | undefined;
308
310
  } | null;
309
311
  zenModeEnabled: boolean;
310
- theme: import("../element/types").Theme;
312
+ theme: import("@excalidraw/element/types").Theme;
311
313
  gridSize: number;
312
314
  gridStep: number;
313
315
  gridModeEnabled: boolean;
@@ -328,7 +330,7 @@ export declare const actionRemoveAllElementsFromFrame: {
328
330
  [id: string]: true;
329
331
  }> | undefined;
330
332
  username?: string | null | undefined;
331
- userState?: import("..").UserIdleState | undefined;
333
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
332
334
  color?: {
333
335
  background: string;
334
336
  stroke: string;
@@ -345,7 +347,7 @@ export declare const actionRemoveAllElementsFromFrame: {
345
347
  open: boolean;
346
348
  panels: number;
347
349
  };
348
- currentChartType: import("../element/types").ChartType;
350
+ currentChartType: import("@excalidraw/element/types").ChartType;
349
351
  pasteDialog: {
350
352
  shown: false;
351
353
  data: null;
@@ -354,8 +356,8 @@ export declare const actionRemoveAllElementsFromFrame: {
354
356
  data: import("../charts").Spreadsheet;
355
357
  };
356
358
  pendingImageElementId: string | null;
357
- showHyperlinkPopup: false | "info" | "editor";
358
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
359
+ showHyperlinkPopup: false | "editor" | "info";
360
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
359
361
  snapLines: readonly import("../snapping").SnapLine[];
360
362
  originSnapOffset: {
361
363
  x: number;
@@ -379,7 +381,7 @@ export declare const actionRemoveAllElementsFromFrame: {
379
381
  };
380
382
  captureUpdate: "IMMEDIATELY";
381
383
  } | {
382
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
384
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
383
385
  appState: Readonly<AppState>;
384
386
  captureUpdate: "EVENTUALLY";
385
387
  };
@@ -394,8 +396,8 @@ export declare const actionupdateFrameRendering: {
394
396
  trackEvent: {
395
397
  category: "canvas";
396
398
  };
397
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
398
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
399
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
400
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
399
401
  appState: {
400
402
  frameRendering: {
401
403
  enabled: boolean;
@@ -415,24 +417,25 @@ export declare const actionupdateFrameRendering: {
415
417
  wheelZoomsOnDefault?: boolean | undefined;
416
418
  errorMessage: import("react").ReactNode;
417
419
  activeEmbeddable: {
418
- element: import("../element/types").NonDeletedExcalidrawElement;
420
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
419
421
  state: "hover" | "active";
420
422
  } | null;
421
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
422
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
423
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
424
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
423
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
424
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
425
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
426
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
425
427
  isBindingEnabled: boolean;
426
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
427
- suggestedBindings: import("../element/binding").SuggestedBinding[];
428
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
428
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
429
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
430
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
429
431
  editingFrame: string | null;
430
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
431
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
432
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
432
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
433
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
434
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
433
435
  activeTool: {
434
436
  lastActiveTool: import("../types").ActiveTool | null;
435
437
  locked: boolean;
438
+ fromSelection: boolean;
436
439
  } & import("../types").ActiveTool;
437
440
  penMode: boolean;
438
441
  penDetected: boolean;
@@ -442,18 +445,18 @@ export declare const actionupdateFrameRendering: {
442
445
  exportScale: number;
443
446
  currentItemStrokeColor: string;
444
447
  currentItemBackgroundColor: string;
445
- currentItemFillStyle: import("../element/types").FillStyle;
448
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
446
449
  currentItemStrokeWidth: number;
447
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
450
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
448
451
  currentItemRoughness: number;
449
452
  currentItemOpacity: number;
450
453
  currentItemFontFamily: number;
451
454
  currentItemFontSize: number;
452
455
  currentItemTextAlign: string;
453
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
454
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
456
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
457
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
455
458
  currentHoveredFontFamily: number | null;
456
- currentItemRoundness: import("../element/types").StrokeRoundness;
459
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
457
460
  currentItemArrowType: "round" | "sharp" | "elbow";
458
461
  viewBackgroundColor: string;
459
462
  scrollX: number;
@@ -466,7 +469,7 @@ export declare const actionupdateFrameRendering: {
466
469
  zoom: Readonly<{
467
470
  value: import("../types").NormalizedZoomValue;
468
471
  }>;
469
- openMenu: "canvas" | "shape" | null;
472
+ openMenu: "shape" | "canvas" | null;
470
473
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
471
474
  openSidebar: {
472
475
  name: string;
@@ -484,7 +487,7 @@ export declare const actionupdateFrameRendering: {
484
487
  sourceElementId: string;
485
488
  } | null;
486
489
  defaultSidebarDockedPreference: boolean;
487
- lastPointerDownWith: import("../element/types").PointerType;
490
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
488
491
  selectedElementIds: Readonly<{
489
492
  [id: string]: true;
490
493
  }>;
@@ -502,7 +505,7 @@ export declare const actionupdateFrameRendering: {
502
505
  duration?: number | undefined;
503
506
  } | null;
504
507
  zenModeEnabled: boolean;
505
- theme: import("../element/types").Theme;
508
+ theme: import("@excalidraw/element/types").Theme;
506
509
  gridSize: number;
507
510
  gridStep: number;
508
511
  gridModeEnabled: boolean;
@@ -523,7 +526,7 @@ export declare const actionupdateFrameRendering: {
523
526
  [id: string]: true;
524
527
  }> | undefined;
525
528
  username?: string | null | undefined;
526
- userState?: import("..").UserIdleState | undefined;
529
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
527
530
  color?: {
528
531
  background: string;
529
532
  stroke: string;
@@ -540,7 +543,7 @@ export declare const actionupdateFrameRendering: {
540
543
  open: boolean;
541
544
  panels: number;
542
545
  };
543
- currentChartType: import("../element/types").ChartType;
546
+ currentChartType: import("@excalidraw/element/types").ChartType;
544
547
  pasteDialog: {
545
548
  shown: false;
546
549
  data: null;
@@ -549,8 +552,8 @@ export declare const actionupdateFrameRendering: {
549
552
  data: import("../charts").Spreadsheet;
550
553
  };
551
554
  pendingImageElementId: string | null;
552
- showHyperlinkPopup: false | "info" | "editor";
553
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
555
+ showHyperlinkPopup: false | "editor" | "info";
556
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
554
557
  snapLines: readonly import("../snapping").SnapLine[];
555
558
  originSnapOffset: {
556
559
  x: number;
@@ -586,12 +589,13 @@ export declare const actionSetFrameAsActiveTool: {
586
589
  };
587
590
  icon: import("react/jsx-runtime").JSX.Element;
588
591
  viewMode: false;
589
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
590
- elements: readonly import("../element/types").OrderedExcalidrawElement[];
592
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
593
+ elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
591
594
  appState: {
592
595
  activeTool: {
593
596
  lastActiveTool: import("../types").ActiveTool | null;
594
597
  locked: boolean;
598
+ fromSelection: boolean;
595
599
  } & import("../types").ActiveTool;
596
600
  contextMenu: {
597
601
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -605,17 +609,17 @@ export declare const actionSetFrameAsActiveTool: {
605
609
  wheelZoomsOnDefault?: boolean | undefined;
606
610
  errorMessage: import("react").ReactNode;
607
611
  activeEmbeddable: {
608
- element: import("../element/types").NonDeletedExcalidrawElement;
612
+ element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
609
613
  state: "hover" | "active";
610
614
  } | null;
611
- newElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawNonSelectionElement> | null;
612
- resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
613
- multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
614
- selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
615
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
616
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
617
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
618
+ selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
615
619
  isBindingEnabled: boolean;
616
- startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
617
- suggestedBindings: import("../element/binding").SuggestedBinding[];
618
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
620
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
621
+ suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
622
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
619
623
  frameRendering: {
620
624
  enabled: boolean;
621
625
  name: boolean;
@@ -623,9 +627,9 @@ export declare const actionSetFrameAsActiveTool: {
623
627
  clip: boolean;
624
628
  };
625
629
  editingFrame: string | null;
626
- elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
627
- editingTextElement: import("../element/types").NonDeletedExcalidrawElement | null;
628
- editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
630
+ elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
631
+ editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
632
+ editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
629
633
  penMode: boolean;
630
634
  penDetected: boolean;
631
635
  exportBackground: boolean;
@@ -634,18 +638,18 @@ export declare const actionSetFrameAsActiveTool: {
634
638
  exportScale: number;
635
639
  currentItemStrokeColor: string;
636
640
  currentItemBackgroundColor: string;
637
- currentItemFillStyle: import("../element/types").FillStyle;
641
+ currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
638
642
  currentItemStrokeWidth: number;
639
- currentItemStrokeStyle: import("../element/types").StrokeStyle;
643
+ currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
640
644
  currentItemRoughness: number;
641
645
  currentItemOpacity: number;
642
646
  currentItemFontFamily: number;
643
647
  currentItemFontSize: number;
644
648
  currentItemTextAlign: string;
645
- currentItemStartArrowhead: import("../element/types").Arrowhead | null;
646
- currentItemEndArrowhead: import("../element/types").Arrowhead | null;
649
+ currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
650
+ currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
647
651
  currentHoveredFontFamily: number | null;
648
- currentItemRoundness: import("../element/types").StrokeRoundness;
652
+ currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
649
653
  currentItemArrowType: "round" | "sharp" | "elbow";
650
654
  viewBackgroundColor: string;
651
655
  scrollX: number;
@@ -658,7 +662,7 @@ export declare const actionSetFrameAsActiveTool: {
658
662
  zoom: Readonly<{
659
663
  value: import("../types").NormalizedZoomValue;
660
664
  }>;
661
- openMenu: "canvas" | "shape" | null;
665
+ openMenu: "shape" | "canvas" | null;
662
666
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
663
667
  openSidebar: {
664
668
  name: string;
@@ -676,7 +680,7 @@ export declare const actionSetFrameAsActiveTool: {
676
680
  sourceElementId: string;
677
681
  } | null;
678
682
  defaultSidebarDockedPreference: boolean;
679
- lastPointerDownWith: import("../element/types").PointerType;
683
+ lastPointerDownWith: import("@excalidraw/element/types").PointerType;
680
684
  selectedElementIds: Readonly<{
681
685
  [id: string]: true;
682
686
  }>;
@@ -694,7 +698,7 @@ export declare const actionSetFrameAsActiveTool: {
694
698
  duration?: number | undefined;
695
699
  } | null;
696
700
  zenModeEnabled: boolean;
697
- theme: import("../element/types").Theme;
701
+ theme: import("@excalidraw/element/types").Theme;
698
702
  gridSize: number;
699
703
  gridStep: number;
700
704
  gridModeEnabled: boolean;
@@ -715,7 +719,7 @@ export declare const actionSetFrameAsActiveTool: {
715
719
  [id: string]: true;
716
720
  }> | undefined;
717
721
  username?: string | null | undefined;
718
- userState?: import("..").UserIdleState | undefined;
722
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
719
723
  color?: {
720
724
  background: string;
721
725
  stroke: string;
@@ -732,7 +736,7 @@ export declare const actionSetFrameAsActiveTool: {
732
736
  open: boolean;
733
737
  panels: number;
734
738
  };
735
- currentChartType: import("../element/types").ChartType;
739
+ currentChartType: import("@excalidraw/element/types").ChartType;
736
740
  pasteDialog: {
737
741
  shown: false;
738
742
  data: null;
@@ -741,8 +745,8 @@ export declare const actionSetFrameAsActiveTool: {
741
745
  data: import("../charts").Spreadsheet;
742
746
  };
743
747
  pendingImageElementId: string | null;
744
- showHyperlinkPopup: false | "info" | "editor";
745
- selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
748
+ showHyperlinkPopup: false | "editor" | "info";
749
+ selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
746
750
  snapLines: readonly import("../snapping").SnapLine[];
747
751
  originSnapOffset: {
748
752
  x: number;
@@ -777,18 +781,18 @@ export declare const actionWrapSelectionInFrame: {
777
781
  category: "element";
778
782
  };
779
783
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
780
- perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
784
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
781
785
  elements: ((Readonly<{
782
786
  id: string;
783
787
  x: number;
784
788
  y: number;
785
789
  strokeColor: string;
786
790
  backgroundColor: string;
787
- fillStyle: import("../element/types").FillStyle;
791
+ fillStyle: import("@excalidraw/element/types").FillStyle;
788
792
  strokeWidth: number;
789
- strokeStyle: import("../element/types").StrokeStyle;
793
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
790
794
  roundness: {
791
- type: import("../element/types").RoundnessType;
795
+ type: import("@excalidraw/element/types").RoundnessType;
792
796
  value?: number | undefined;
793
797
  } | null;
794
798
  roughness: number;
@@ -799,39 +803,33 @@ export declare const actionWrapSelectionInFrame: {
799
803
  seed: number;
800
804
  version: number;
801
805
  versionNonce: number;
802
- index: import("../element/types").FractionalIndex | null;
806
+ index: import("@excalidraw/element/types").FractionalIndex | null;
803
807
  isDeleted: boolean;
804
808
  groupIds: readonly string[];
805
809
  frameId: string | null;
806
810
  boundElements: readonly Readonly<{
807
811
  id: string;
808
- type: "arrow" | "text";
812
+ type: "text" | "arrow";
809
813
  }>[] | null;
810
814
  updated: number;
811
815
  link: string | null;
812
816
  locked: boolean;
813
817
  customData?: Record<string, any> | undefined;
814
- }> & Readonly<{
815
- type: "line" | "arrow";
816
- points: readonly import("@excalidraw/math").LocalPoint[];
817
- lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
818
- startBinding: import("../element/types").PointBinding | null;
819
- endBinding: import("../element/types").PointBinding | null;
820
- startArrowhead: import("../element/types").Arrowhead | null;
821
- endArrowhead: import("../element/types").Arrowhead | null;
822
818
  }> & {
823
- index: import("../element/types").FractionalIndex;
819
+ type: "rectangle";
820
+ } & {
821
+ index: import("@excalidraw/element/types").FractionalIndex;
824
822
  }) | (Readonly<{
825
823
  id: string;
826
824
  x: number;
827
825
  y: number;
828
826
  strokeColor: string;
829
827
  backgroundColor: string;
830
- fillStyle: import("../element/types").FillStyle;
828
+ fillStyle: import("@excalidraw/element/types").FillStyle;
831
829
  strokeWidth: number;
832
- strokeStyle: import("../element/types").StrokeStyle;
830
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
833
831
  roundness: {
834
- type: import("../element/types").RoundnessType;
832
+ type: import("@excalidraw/element/types").RoundnessType;
835
833
  value?: number | undefined;
836
834
  } | null;
837
835
  roughness: number;
@@ -842,33 +840,33 @@ export declare const actionWrapSelectionInFrame: {
842
840
  seed: number;
843
841
  version: number;
844
842
  versionNonce: number;
845
- index: import("../element/types").FractionalIndex | null;
843
+ index: import("@excalidraw/element/types").FractionalIndex | null;
846
844
  isDeleted: boolean;
847
845
  groupIds: readonly string[];
848
846
  frameId: string | null;
849
847
  boundElements: readonly Readonly<{
850
848
  id: string;
851
- type: "arrow" | "text";
849
+ type: "text" | "arrow";
852
850
  }>[] | null;
853
851
  updated: number;
854
852
  link: string | null;
855
853
  locked: boolean;
856
854
  customData?: Record<string, any> | undefined;
857
855
  }> & {
858
- type: "selection";
856
+ type: "diamond";
859
857
  } & {
860
- index: import("../element/types").FractionalIndex;
858
+ index: import("@excalidraw/element/types").FractionalIndex;
861
859
  }) | (Readonly<{
862
860
  id: string;
863
861
  x: number;
864
862
  y: number;
865
863
  strokeColor: string;
866
864
  backgroundColor: string;
867
- fillStyle: import("../element/types").FillStyle;
865
+ fillStyle: import("@excalidraw/element/types").FillStyle;
868
866
  strokeWidth: number;
869
- strokeStyle: import("../element/types").StrokeStyle;
867
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
870
868
  roundness: {
871
- type: import("../element/types").RoundnessType;
869
+ type: import("@excalidraw/element/types").RoundnessType;
872
870
  value?: number | undefined;
873
871
  } | null;
874
872
  roughness: number;
@@ -879,33 +877,34 @@ export declare const actionWrapSelectionInFrame: {
879
877
  seed: number;
880
878
  version: number;
881
879
  versionNonce: number;
882
- index: import("../element/types").FractionalIndex | null;
880
+ index: import("@excalidraw/element/types").FractionalIndex | null;
883
881
  isDeleted: boolean;
884
882
  groupIds: readonly string[];
885
883
  frameId: string | null;
886
884
  boundElements: readonly Readonly<{
887
885
  id: string;
888
- type: "arrow" | "text";
886
+ type: "text" | "arrow";
889
887
  }>[] | null;
890
888
  updated: number;
891
889
  link: string | null;
892
890
  locked: boolean;
893
891
  customData?: Record<string, any> | undefined;
894
892
  }> & {
895
- type: "rectangle";
893
+ type: "frame";
894
+ name: string | null;
896
895
  } & {
897
- index: import("../element/types").FractionalIndex;
896
+ index: import("@excalidraw/element/types").FractionalIndex;
898
897
  }) | (Readonly<{
899
898
  id: string;
900
899
  x: number;
901
900
  y: number;
902
901
  strokeColor: string;
903
902
  backgroundColor: string;
904
- fillStyle: import("../element/types").FillStyle;
903
+ fillStyle: import("@excalidraw/element/types").FillStyle;
905
904
  strokeWidth: number;
906
- strokeStyle: import("../element/types").StrokeStyle;
905
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
907
906
  roundness: {
908
- type: import("../element/types").RoundnessType;
907
+ type: import("@excalidraw/element/types").RoundnessType;
909
908
  value?: number | undefined;
910
909
  } | null;
911
910
  roughness: number;
@@ -916,33 +915,34 @@ export declare const actionWrapSelectionInFrame: {
916
915
  seed: number;
917
916
  version: number;
918
917
  versionNonce: number;
919
- index: import("../element/types").FractionalIndex | null;
918
+ index: import("@excalidraw/element/types").FractionalIndex | null;
920
919
  isDeleted: boolean;
921
920
  groupIds: readonly string[];
922
921
  frameId: string | null;
923
922
  boundElements: readonly Readonly<{
924
923
  id: string;
925
- type: "arrow" | "text";
924
+ type: "text" | "arrow";
926
925
  }>[] | null;
927
926
  updated: number;
928
927
  link: string | null;
929
928
  locked: boolean;
930
929
  customData?: Record<string, any> | undefined;
931
930
  }> & {
932
- type: "diamond";
931
+ type: "magicframe";
932
+ name: string | null;
933
933
  } & {
934
- index: import("../element/types").FractionalIndex;
934
+ index: import("@excalidraw/element/types").FractionalIndex;
935
935
  }) | (Readonly<{
936
936
  id: string;
937
937
  x: number;
938
938
  y: number;
939
939
  strokeColor: string;
940
940
  backgroundColor: string;
941
- fillStyle: import("../element/types").FillStyle;
941
+ fillStyle: import("@excalidraw/element/types").FillStyle;
942
942
  strokeWidth: number;
943
- strokeStyle: import("../element/types").StrokeStyle;
943
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
944
944
  roundness: {
945
- type: import("../element/types").RoundnessType;
945
+ type: import("@excalidraw/element/types").RoundnessType;
946
946
  value?: number | undefined;
947
947
  } | null;
948
948
  roughness: number;
@@ -953,33 +953,33 @@ export declare const actionWrapSelectionInFrame: {
953
953
  seed: number;
954
954
  version: number;
955
955
  versionNonce: number;
956
- index: import("../element/types").FractionalIndex | null;
956
+ index: import("@excalidraw/element/types").FractionalIndex | null;
957
957
  isDeleted: boolean;
958
958
  groupIds: readonly string[];
959
959
  frameId: string | null;
960
960
  boundElements: readonly Readonly<{
961
961
  id: string;
962
- type: "arrow" | "text";
962
+ type: "text" | "arrow";
963
963
  }>[] | null;
964
964
  updated: number;
965
965
  link: string | null;
966
966
  locked: boolean;
967
967
  customData?: Record<string, any> | undefined;
968
+ }> & Readonly<{
969
+ type: "embeddable";
968
970
  }> & {
969
- type: "ellipse";
970
- } & {
971
- index: import("../element/types").FractionalIndex;
971
+ index: import("@excalidraw/element/types").FractionalIndex;
972
972
  }) | (Readonly<{
973
973
  id: string;
974
974
  x: number;
975
975
  y: number;
976
976
  strokeColor: string;
977
977
  backgroundColor: string;
978
- fillStyle: import("../element/types").FillStyle;
978
+ fillStyle: import("@excalidraw/element/types").FillStyle;
979
979
  strokeWidth: number;
980
- strokeStyle: import("../element/types").StrokeStyle;
980
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
981
981
  roundness: {
982
- type: import("../element/types").RoundnessType;
982
+ type: import("@excalidraw/element/types").RoundnessType;
983
983
  value?: number | undefined;
984
984
  } | null;
985
985
  roughness: number;
@@ -990,33 +990,37 @@ export declare const actionWrapSelectionInFrame: {
990
990
  seed: number;
991
991
  version: number;
992
992
  versionNonce: number;
993
- index: import("../element/types").FractionalIndex | null;
993
+ index: import("@excalidraw/element/types").FractionalIndex | null;
994
994
  isDeleted: boolean;
995
995
  groupIds: readonly string[];
996
996
  frameId: string | null;
997
997
  boundElements: readonly Readonly<{
998
998
  id: string;
999
- type: "arrow" | "text";
999
+ type: "text" | "arrow";
1000
1000
  }>[] | null;
1001
1001
  updated: number;
1002
1002
  link: string | null;
1003
1003
  locked: boolean;
1004
1004
  customData?: Record<string, any> | undefined;
1005
1005
  }> & Readonly<{
1006
- type: "embeddable";
1006
+ type: "image";
1007
+ fileId: import("@excalidraw/element/types").FileId | null;
1008
+ status: "pending" | "saved" | "error";
1009
+ scale: [number, number];
1010
+ crop: import("@excalidraw/element/types").ImageCrop | null;
1007
1011
  }> & {
1008
- index: import("../element/types").FractionalIndex;
1012
+ index: import("@excalidraw/element/types").FractionalIndex;
1009
1013
  }) | (Readonly<{
1010
1014
  id: string;
1011
1015
  x: number;
1012
1016
  y: number;
1013
1017
  strokeColor: string;
1014
1018
  backgroundColor: string;
1015
- fillStyle: import("../element/types").FillStyle;
1019
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1016
1020
  strokeWidth: number;
1017
- strokeStyle: import("../element/types").StrokeStyle;
1021
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1018
1022
  roundness: {
1019
- type: import("../element/types").RoundnessType;
1023
+ type: import("@excalidraw/element/types").RoundnessType;
1020
1024
  value?: number | undefined;
1021
1025
  } | null;
1022
1026
  roughness: number;
@@ -1027,13 +1031,13 @@ export declare const actionWrapSelectionInFrame: {
1027
1031
  seed: number;
1028
1032
  version: number;
1029
1033
  versionNonce: number;
1030
- index: import("../element/types").FractionalIndex | null;
1034
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1031
1035
  isDeleted: boolean;
1032
1036
  groupIds: readonly string[];
1033
1037
  frameId: string | null;
1034
1038
  boundElements: readonly Readonly<{
1035
1039
  id: string;
1036
- type: "arrow" | "text";
1040
+ type: "text" | "arrow";
1037
1041
  }>[] | null;
1038
1042
  updated: number;
1039
1043
  link: string | null;
@@ -1042,21 +1046,21 @@ export declare const actionWrapSelectionInFrame: {
1042
1046
  }> & Readonly<{
1043
1047
  type: "iframe";
1044
1048
  customData?: {
1045
- generationData?: import("../element/types").MagicGenerationData | undefined;
1049
+ generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
1046
1050
  } | undefined;
1047
1051
  }> & {
1048
- index: import("../element/types").FractionalIndex;
1052
+ index: import("@excalidraw/element/types").FractionalIndex;
1049
1053
  }) | (Readonly<{
1050
1054
  id: string;
1051
1055
  x: number;
1052
1056
  y: number;
1053
1057
  strokeColor: string;
1054
1058
  backgroundColor: string;
1055
- fillStyle: import("../element/types").FillStyle;
1059
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1056
1060
  strokeWidth: number;
1057
- strokeStyle: import("../element/types").StrokeStyle;
1061
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1058
1062
  roundness: {
1059
- type: import("../element/types").RoundnessType;
1063
+ type: import("@excalidraw/element/types").RoundnessType;
1060
1064
  value?: number | undefined;
1061
1065
  } | null;
1062
1066
  roughness: number;
@@ -1067,37 +1071,44 @@ export declare const actionWrapSelectionInFrame: {
1067
1071
  seed: number;
1068
1072
  version: number;
1069
1073
  versionNonce: number;
1070
- index: import("../element/types").FractionalIndex | null;
1074
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1071
1075
  isDeleted: boolean;
1072
1076
  groupIds: readonly string[];
1073
1077
  frameId: string | null;
1074
1078
  boundElements: readonly Readonly<{
1075
1079
  id: string;
1076
- type: "arrow" | "text";
1080
+ type: "text" | "arrow";
1077
1081
  }>[] | null;
1078
1082
  updated: number;
1079
1083
  link: string | null;
1080
1084
  locked: boolean;
1081
1085
  customData?: Record<string, any> | undefined;
1082
1086
  }> & Readonly<{
1083
- type: "image";
1084
- fileId: import("../element/types").FileId | null;
1085
- status: "pending" | "error" | "saved";
1086
- scale: [number, number];
1087
- crop: import("../element/types").ImageCrop | null;
1087
+ type: "text";
1088
+ fontSize: number;
1089
+ fontFamily: number;
1090
+ text: string;
1091
+ textAlign: string;
1092
+ verticalAlign: string;
1093
+ containerId: string | null;
1094
+ originalText: string;
1095
+ autoResize: boolean;
1096
+ lineHeight: number & {
1097
+ _brand: "unitlessLineHeight";
1098
+ };
1088
1099
  }> & {
1089
- index: import("../element/types").FractionalIndex;
1100
+ index: import("@excalidraw/element/types").FractionalIndex;
1090
1101
  }) | (Readonly<{
1091
1102
  id: string;
1092
1103
  x: number;
1093
1104
  y: number;
1094
1105
  strokeColor: string;
1095
1106
  backgroundColor: string;
1096
- fillStyle: import("../element/types").FillStyle;
1107
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1097
1108
  strokeWidth: number;
1098
- strokeStyle: import("../element/types").StrokeStyle;
1109
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1099
1110
  roundness: {
1100
- type: import("../element/types").RoundnessType;
1111
+ type: import("@excalidraw/element/types").RoundnessType;
1101
1112
  value?: number | undefined;
1102
1113
  } | null;
1103
1114
  roughness: number;
@@ -1108,34 +1119,33 @@ export declare const actionWrapSelectionInFrame: {
1108
1119
  seed: number;
1109
1120
  version: number;
1110
1121
  versionNonce: number;
1111
- index: import("../element/types").FractionalIndex | null;
1122
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1112
1123
  isDeleted: boolean;
1113
1124
  groupIds: readonly string[];
1114
1125
  frameId: string | null;
1115
1126
  boundElements: readonly Readonly<{
1116
1127
  id: string;
1117
- type: "arrow" | "text";
1128
+ type: "text" | "arrow";
1118
1129
  }>[] | null;
1119
1130
  updated: number;
1120
1131
  link: string | null;
1121
1132
  locked: boolean;
1122
1133
  customData?: Record<string, any> | undefined;
1123
1134
  }> & {
1124
- type: "frame";
1125
- name: string | null;
1135
+ type: "selection";
1126
1136
  } & {
1127
- index: import("../element/types").FractionalIndex;
1137
+ index: import("@excalidraw/element/types").FractionalIndex;
1128
1138
  }) | (Readonly<{
1129
1139
  id: string;
1130
1140
  x: number;
1131
1141
  y: number;
1132
1142
  strokeColor: string;
1133
1143
  backgroundColor: string;
1134
- fillStyle: import("../element/types").FillStyle;
1144
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1135
1145
  strokeWidth: number;
1136
- strokeStyle: import("../element/types").StrokeStyle;
1146
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1137
1147
  roundness: {
1138
- type: import("../element/types").RoundnessType;
1148
+ type: import("@excalidraw/element/types").RoundnessType;
1139
1149
  value?: number | undefined;
1140
1150
  } | null;
1141
1151
  roughness: number;
@@ -1146,34 +1156,33 @@ export declare const actionWrapSelectionInFrame: {
1146
1156
  seed: number;
1147
1157
  version: number;
1148
1158
  versionNonce: number;
1149
- index: import("../element/types").FractionalIndex | null;
1159
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1150
1160
  isDeleted: boolean;
1151
1161
  groupIds: readonly string[];
1152
1162
  frameId: string | null;
1153
1163
  boundElements: readonly Readonly<{
1154
1164
  id: string;
1155
- type: "arrow" | "text";
1165
+ type: "text" | "arrow";
1156
1166
  }>[] | null;
1157
1167
  updated: number;
1158
1168
  link: string | null;
1159
1169
  locked: boolean;
1160
1170
  customData?: Record<string, any> | undefined;
1161
1171
  }> & {
1162
- type: "magicframe";
1163
- name: string | null;
1172
+ type: "ellipse";
1164
1173
  } & {
1165
- index: import("../element/types").FractionalIndex;
1174
+ index: import("@excalidraw/element/types").FractionalIndex;
1166
1175
  }) | (Readonly<{
1167
1176
  id: string;
1168
1177
  x: number;
1169
1178
  y: number;
1170
1179
  strokeColor: string;
1171
1180
  backgroundColor: string;
1172
- fillStyle: import("../element/types").FillStyle;
1181
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1173
1182
  strokeWidth: number;
1174
- strokeStyle: import("../element/types").StrokeStyle;
1183
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1175
1184
  roundness: {
1176
- type: import("../element/types").RoundnessType;
1185
+ type: import("@excalidraw/element/types").RoundnessType;
1177
1186
  value?: number | undefined;
1178
1187
  } | null;
1179
1188
  roughness: number;
@@ -1184,44 +1193,39 @@ export declare const actionWrapSelectionInFrame: {
1184
1193
  seed: number;
1185
1194
  version: number;
1186
1195
  versionNonce: number;
1187
- index: import("../element/types").FractionalIndex | null;
1196
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1188
1197
  isDeleted: boolean;
1189
1198
  groupIds: readonly string[];
1190
1199
  frameId: string | null;
1191
1200
  boundElements: readonly Readonly<{
1192
1201
  id: string;
1193
- type: "arrow" | "text";
1202
+ type: "text" | "arrow";
1194
1203
  }>[] | null;
1195
1204
  updated: number;
1196
1205
  link: string | null;
1197
1206
  locked: boolean;
1198
1207
  customData?: Record<string, any> | undefined;
1199
1208
  }> & Readonly<{
1200
- type: "text";
1201
- fontSize: number;
1202
- fontFamily: number;
1203
- text: string;
1204
- textAlign: string;
1205
- verticalAlign: string;
1206
- containerId: string | null;
1207
- originalText: string;
1208
- autoResize: boolean;
1209
- lineHeight: number & {
1210
- _brand: "unitlessLineHeight";
1211
- };
1209
+ type: "line" | "arrow";
1210
+ points: readonly import("@excalidraw/math").LocalPoint[];
1211
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1212
+ startBinding: import("@excalidraw/element/types").PointBinding | null;
1213
+ endBinding: import("@excalidraw/element/types").PointBinding | null;
1214
+ startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1215
+ endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1212
1216
  }> & {
1213
- index: import("../element/types").FractionalIndex;
1217
+ index: import("@excalidraw/element/types").FractionalIndex;
1214
1218
  }) | (Readonly<{
1215
1219
  id: string;
1216
1220
  x: number;
1217
1221
  y: number;
1218
1222
  strokeColor: string;
1219
1223
  backgroundColor: string;
1220
- fillStyle: import("../element/types").FillStyle;
1224
+ fillStyle: import("@excalidraw/element/types").FillStyle;
1221
1225
  strokeWidth: number;
1222
- strokeStyle: import("../element/types").StrokeStyle;
1226
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
1223
1227
  roundness: {
1224
- type: import("../element/types").RoundnessType;
1228
+ type: import("@excalidraw/element/types").RoundnessType;
1225
1229
  value?: number | undefined;
1226
1230
  } | null;
1227
1231
  roughness: number;
@@ -1232,13 +1236,13 @@ export declare const actionWrapSelectionInFrame: {
1232
1236
  seed: number;
1233
1237
  version: number;
1234
1238
  versionNonce: number;
1235
- index: import("../element/types").FractionalIndex | null;
1239
+ index: import("@excalidraw/element/types").FractionalIndex | null;
1236
1240
  isDeleted: boolean;
1237
1241
  groupIds: readonly string[];
1238
1242
  frameId: string | null;
1239
1243
  boundElements: readonly Readonly<{
1240
1244
  id: string;
1241
- type: "arrow" | "text";
1245
+ type: "text" | "arrow";
1242
1246
  }>[] | null;
1243
1247
  updated: number;
1244
1248
  link: string | null;
@@ -1251,8 +1255,8 @@ export declare const actionWrapSelectionInFrame: {
1251
1255
  simulatePressure: boolean;
1252
1256
  lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
1253
1257
  }> & {
1254
- index: import("../element/types").FractionalIndex;
1255
- }) | import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement>)[];
1258
+ index: import("@excalidraw/element/types").FractionalIndex;
1259
+ }) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
1256
1260
  appState: {
1257
1261
  selectedElementIds: {
1258
1262
  [x: string]: true;