@snaptrude/plugin-core 0.0.0-bimsvg-20260928124803

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 (383) hide show
  1. package/AGENTS.md +231 -0
  2. package/CHANGELOG.md +341 -0
  3. package/CLAUDE.md +11 -0
  4. package/api-manifest.json +9120 -0
  5. package/dist/api/analysis/daylight.d.ts +603 -0
  6. package/dist/api/analysis/daylight.d.ts.map +1 -0
  7. package/dist/api/analysis/heatmaps.d.ts +658 -0
  8. package/dist/api/analysis/heatmaps.d.ts.map +1 -0
  9. package/dist/api/analysis/illuminance.d.ts +145 -0
  10. package/dist/api/analysis/illuminance.d.ts.map +1 -0
  11. package/dist/api/analysis/index.d.ts +59 -0
  12. package/dist/api/analysis/index.d.ts.map +1 -0
  13. package/dist/api/analysis/shadows.d.ts +165 -0
  14. package/dist/api/analysis/shadows.d.ts.map +1 -0
  15. package/dist/api/analysis/solar.d.ts +249 -0
  16. package/dist/api/analysis/solar.d.ts.map +1 -0
  17. package/dist/api/analysis/sunlightHours.d.ts +208 -0
  18. package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
  19. package/dist/api/analysis/sunpath.d.ts +80 -0
  20. package/dist/api/analysis/sunpath.d.ts.map +1 -0
  21. package/dist/api/analysis/weather.d.ts +193 -0
  22. package/dist/api/analysis/weather.d.ts.map +1 -0
  23. package/dist/api/core/buildings.d.ts +427 -0
  24. package/dist/api/core/buildings.d.ts.map +1 -0
  25. package/dist/api/core/camera/index.d.ts +261 -0
  26. package/dist/api/core/camera/index.d.ts.map +1 -0
  27. package/dist/api/core/comment/index.d.ts +333 -0
  28. package/dist/api/core/comment/index.d.ts.map +1 -0
  29. package/dist/api/core/geom/create/index.d.ts +1073 -0
  30. package/dist/api/core/geom/create/index.d.ts.map +1 -0
  31. package/dist/api/core/geom/delete/index.d.ts +78 -0
  32. package/dist/api/core/geom/delete/index.d.ts.map +1 -0
  33. package/dist/api/core/geom/index.d.ts +33 -0
  34. package/dist/api/core/geom/index.d.ts.map +1 -0
  35. package/dist/api/core/geom/query/arc.d.ts +169 -0
  36. package/dist/api/core/geom/query/arc.d.ts.map +1 -0
  37. package/dist/api/core/geom/query/brep.d.ts +514 -0
  38. package/dist/api/core/geom/query/brep.d.ts.map +1 -0
  39. package/dist/api/core/geom/query/circle.d.ts +378 -0
  40. package/dist/api/core/geom/query/circle.d.ts.map +1 -0
  41. package/dist/api/core/geom/query/contour.d.ts +450 -0
  42. package/dist/api/core/geom/query/contour.d.ts.map +1 -0
  43. package/dist/api/core/geom/query/curve.d.ts +918 -0
  44. package/dist/api/core/geom/query/curve.d.ts.map +1 -0
  45. package/dist/api/core/geom/query/edge.d.ts +128 -0
  46. package/dist/api/core/geom/query/edge.d.ts.map +1 -0
  47. package/dist/api/core/geom/query/face.d.ts +363 -0
  48. package/dist/api/core/geom/query/face.d.ts.map +1 -0
  49. package/dist/api/core/geom/query/halfedge.d.ts +206 -0
  50. package/dist/api/core/geom/query/halfedge.d.ts.map +1 -0
  51. package/dist/api/core/geom/query/index.d.ts +61 -0
  52. package/dist/api/core/geom/query/index.d.ts.map +1 -0
  53. package/dist/api/core/geom/query/profile.d.ts +410 -0
  54. package/dist/api/core/geom/query/profile.d.ts.map +1 -0
  55. package/dist/api/core/geom/query/vertex.d.ts +187 -0
  56. package/dist/api/core/geom/query/vertex.d.ts.map +1 -0
  57. package/dist/api/core/geom/update/contour.d.ts +272 -0
  58. package/dist/api/core/geom/update/contour.d.ts.map +1 -0
  59. package/dist/api/core/geom/update/curve.d.ts +180 -0
  60. package/dist/api/core/geom/update/curve.d.ts.map +1 -0
  61. package/dist/api/core/geom/update/index.d.ts +27 -0
  62. package/dist/api/core/geom/update/index.d.ts.map +1 -0
  63. package/dist/api/core/geom/update/profile.d.ts +329 -0
  64. package/dist/api/core/geom/update/profile.d.ts.map +1 -0
  65. package/dist/api/core/groups.d.ts +485 -0
  66. package/dist/api/core/groups.d.ts.map +1 -0
  67. package/dist/api/core/handles/index.d.ts +210 -0
  68. package/dist/api/core/handles/index.d.ts.map +1 -0
  69. package/dist/api/core/history/index.d.ts +78 -0
  70. package/dist/api/core/history/index.d.ts.map +1 -0
  71. package/dist/api/core/index.d.ts +97 -0
  72. package/dist/api/core/index.d.ts.map +1 -0
  73. package/dist/api/core/io/export/index.d.ts +134 -0
  74. package/dist/api/core/io/export/index.d.ts.map +1 -0
  75. package/dist/api/core/io/import/index.d.ts +455 -0
  76. package/dist/api/core/io/import/index.d.ts.map +1 -0
  77. package/dist/api/core/io/index.d.ts +40 -0
  78. package/dist/api/core/io/index.d.ts.map +1 -0
  79. package/dist/api/core/io/job/index.d.ts +139 -0
  80. package/dist/api/core/io/job/index.d.ts.map +1 -0
  81. package/dist/api/core/io/query/index.d.ts +74 -0
  82. package/dist/api/core/io/query/index.d.ts.map +1 -0
  83. package/dist/api/core/io/terrain/index.d.ts +341 -0
  84. package/dist/api/core/io/terrain/index.d.ts.map +1 -0
  85. package/dist/api/core/io/underlay/index.d.ts +805 -0
  86. package/dist/api/core/io/underlay/index.d.ts.map +1 -0
  87. package/dist/api/core/layers.d.ts +402 -0
  88. package/dist/api/core/layers.d.ts.map +1 -0
  89. package/dist/api/core/math/index.d.ts +18 -0
  90. package/dist/api/core/math/index.d.ts.map +1 -0
  91. package/dist/api/core/math/quat.d.ts +170 -0
  92. package/dist/api/core/math/quat.d.ts.map +1 -0
  93. package/dist/api/core/math/vec3.d.ts +174 -0
  94. package/dist/api/core/math/vec3.d.ts.map +1 -0
  95. package/dist/api/core/mode/index.d.ts +111 -0
  96. package/dist/api/core/mode/index.d.ts.map +1 -0
  97. package/dist/api/core/project/index.d.ts +466 -0
  98. package/dist/api/core/project/index.d.ts.map +1 -0
  99. package/dist/api/core/proposals/index.d.ts +531 -0
  100. package/dist/api/core/proposals/index.d.ts.map +1 -0
  101. package/dist/api/core/storeys/index.d.ts +265 -0
  102. package/dist/api/core/storeys/index.d.ts.map +1 -0
  103. package/dist/api/core/tags.d.ts +860 -0
  104. package/dist/api/core/tags.d.ts.map +1 -0
  105. package/dist/api/core/units/index.d.ts +175 -0
  106. package/dist/api/core/units/index.d.ts.map +1 -0
  107. package/dist/api/core/user.d.ts +44 -0
  108. package/dist/api/core/user.d.ts.map +1 -0
  109. package/dist/api/core/zoom/index.d.ts +49 -0
  110. package/dist/api/core/zoom/index.d.ts.map +1 -0
  111. package/dist/api/design/boolean/index.d.ts +168 -0
  112. package/dist/api/design/boolean/index.d.ts.map +1 -0
  113. package/dist/api/design/create/bulk-items.d.ts +185 -0
  114. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  115. package/dist/api/design/create/grids.d.ts +132 -0
  116. package/dist/api/design/create/grids.d.ts.map +1 -0
  117. package/dist/api/design/create/index.d.ts +1747 -0
  118. package/dist/api/design/create/index.d.ts.map +1 -0
  119. package/dist/api/design/create/opening-fields.d.ts +37 -0
  120. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  121. package/dist/api/design/delete/index.d.ts +70 -0
  122. package/dist/api/design/delete/index.d.ts.map +1 -0
  123. package/dist/api/design/dimensions.d.ts +427 -0
  124. package/dist/api/design/dimensions.d.ts.map +1 -0
  125. package/dist/api/design/doors/index.d.ts +470 -0
  126. package/dist/api/design/doors/index.d.ts.map +1 -0
  127. package/dist/api/design/edit/index.d.ts +49 -0
  128. package/dist/api/design/edit/index.d.ts.map +1 -0
  129. package/dist/api/design/erase/index.d.ts +160 -0
  130. package/dist/api/design/erase/index.d.ts.map +1 -0
  131. package/dist/api/design/family.d.ts +611 -0
  132. package/dist/api/design/family.d.ts.map +1 -0
  133. package/dist/api/design/furniture/index.d.ts +296 -0
  134. package/dist/api/design/furniture/index.d.ts.map +1 -0
  135. package/dist/api/design/grids.d.ts +237 -0
  136. package/dist/api/design/grids.d.ts.map +1 -0
  137. package/dist/api/design/index.d.ts +260 -0
  138. package/dist/api/design/index.d.ts.map +1 -0
  139. package/dist/api/design/lock.d.ts +67 -0
  140. package/dist/api/design/lock.d.ts.map +1 -0
  141. package/dist/api/design/materials/index.d.ts +551 -0
  142. package/dist/api/design/materials/index.d.ts.map +1 -0
  143. package/dist/api/design/query/geometry/index.d.ts +252 -0
  144. package/dist/api/design/query/geometry/index.d.ts.map +1 -0
  145. package/dist/api/design/query/grids.d.ts +287 -0
  146. package/dist/api/design/query/grids.d.ts.map +1 -0
  147. package/dist/api/design/query/index.d.ts +1318 -0
  148. package/dist/api/design/query/index.d.ts.map +1 -0
  149. package/dist/api/design/query/referenceLines.d.ts +45 -0
  150. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  151. package/dist/api/design/query/spaces.d.ts +394 -0
  152. package/dist/api/design/query/spaces.d.ts.map +1 -0
  153. package/dist/api/design/selection/index.d.ts +282 -0
  154. package/dist/api/design/selection/index.d.ts.map +1 -0
  155. package/dist/api/design/shared.d.ts +38 -0
  156. package/dist/api/design/shared.d.ts.map +1 -0
  157. package/dist/api/design/transform/index.d.ts +249 -0
  158. package/dist/api/design/transform/index.d.ts.map +1 -0
  159. package/dist/api/design/types/index.d.ts +181 -0
  160. package/dist/api/design/types/index.d.ts.map +1 -0
  161. package/dist/api/design/update/index.d.ts +803 -0
  162. package/dist/api/design/update/index.d.ts.map +1 -0
  163. package/dist/api/design/visibility.d.ts +126 -0
  164. package/dist/api/design/visibility.d.ts.map +1 -0
  165. package/dist/api/design/windows/index.d.ts +300 -0
  166. package/dist/api/design/windows/index.d.ts.map +1 -0
  167. package/dist/api/entity/buildableEnvelope.d.ts +265 -0
  168. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -0
  169. package/dist/api/entity/department.d.ts +1 -0
  170. package/dist/api/entity/department.d.ts.map +1 -0
  171. package/dist/api/entity/index.d.ts +28 -0
  172. package/dist/api/entity/index.d.ts.map +1 -0
  173. package/dist/api/entity/referenceLine.d.ts +210 -0
  174. package/dist/api/entity/referenceLine.d.ts.map +1 -0
  175. package/dist/api/entity/space.d.ts +846 -0
  176. package/dist/api/entity/space.d.ts.map +1 -0
  177. package/dist/api/entity/story.d.ts +476 -0
  178. package/dist/api/entity/story.d.ts.map +1 -0
  179. package/dist/api/index.d.ts +45 -0
  180. package/dist/api/index.d.ts.map +1 -0
  181. package/dist/api/presentation/aiInspiration.d.ts +2400 -0
  182. package/dist/api/presentation/aiInspiration.d.ts.map +1 -0
  183. package/dist/api/presentation/annotate.d.ts +483 -0
  184. package/dist/api/presentation/annotate.d.ts.map +1 -0
  185. package/dist/api/presentation/diagrams.d.ts +184 -0
  186. package/dist/api/presentation/diagrams.d.ts.map +1 -0
  187. package/dist/api/presentation/drawings.d.ts +2900 -0
  188. package/dist/api/presentation/drawings.d.ts.map +1 -0
  189. package/dist/api/presentation/export.d.ts +126 -0
  190. package/dist/api/presentation/export.d.ts.map +1 -0
  191. package/dist/api/presentation/import.d.ts +164 -0
  192. package/dist/api/presentation/import.d.ts.map +1 -0
  193. package/dist/api/presentation/index.d.ts +114 -0
  194. package/dist/api/presentation/index.d.ts.map +1 -0
  195. package/dist/api/presentation/placedViews.d.ts +1232 -0
  196. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  197. package/dist/api/presentation/shapes.d.ts +481 -0
  198. package/dist/api/presentation/shapes.d.ts.map +1 -0
  199. package/dist/api/presentation/sheets.d.ts +643 -0
  200. package/dist/api/presentation/sheets.d.ts.map +1 -0
  201. package/dist/api/presentation/slideshow.d.ts +125 -0
  202. package/dist/api/presentation/slideshow.d.ts.map +1 -0
  203. package/dist/api/presentation/tables.d.ts +81 -0
  204. package/dist/api/presentation/tables.d.ts.map +1 -0
  205. package/dist/api/presentation/viewPresets.d.ts +70 -0
  206. package/dist/api/presentation/viewPresets.d.ts.map +1 -0
  207. package/dist/api/presentation/views.d.ts +741 -0
  208. package/dist/api/presentation/views.d.ts.map +1 -0
  209. package/dist/api/program/adjacency.d.ts +155 -0
  210. package/dist/api/program/adjacency.d.ts.map +1 -0
  211. package/dist/api/program/areas.d.ts +450 -0
  212. package/dist/api/program/areas.d.ts.map +1 -0
  213. package/dist/api/program/classification.d.ts +135 -0
  214. package/dist/api/program/classification.d.ts.map +1 -0
  215. package/dist/api/program/cores.d.ts +78 -0
  216. package/dist/api/program/cores.d.ts.map +1 -0
  217. package/dist/api/program/departments.d.ts +487 -0
  218. package/dist/api/program/departments.d.ts.map +1 -0
  219. package/dist/api/program/index.d.ts +71 -0
  220. package/dist/api/program/index.d.ts.map +1 -0
  221. package/dist/api/program/labels.d.ts +355 -0
  222. package/dist/api/program/labels.d.ts.map +1 -0
  223. package/dist/api/program/layout.d.ts +398 -0
  224. package/dist/api/program/layout.d.ts.map +1 -0
  225. package/dist/api/program/metadata.d.ts +328 -0
  226. package/dist/api/program/metadata.d.ts.map +1 -0
  227. package/dist/api/program/metrics.d.ts +108 -0
  228. package/dist/api/program/metrics.d.ts.map +1 -0
  229. package/dist/api/program/site.d.ts +823 -0
  230. package/dist/api/program/site.d.ts.map +1 -0
  231. package/dist/api/program/spreadsheet.d.ts +2628 -0
  232. package/dist/api/program/spreadsheet.d.ts.map +1 -0
  233. package/dist/api/workspace/index.d.ts +552 -0
  234. package/dist/api/workspace/index.d.ts.map +1 -0
  235. package/dist/errors/codes.d.ts +34 -0
  236. package/dist/errors/codes.d.ts.map +1 -0
  237. package/dist/errors/envelope.d.ts +56 -0
  238. package/dist/errors/envelope.d.ts.map +1 -0
  239. package/dist/errors/index.d.ts +6 -0
  240. package/dist/errors/index.d.ts.map +1 -0
  241. package/dist/errors/plugin-error.d.ts +69 -0
  242. package/dist/errors/plugin-error.d.ts.map +1 -0
  243. package/dist/handles.d.ts +229 -0
  244. package/dist/handles.d.ts.map +1 -0
  245. package/dist/host-utils.d.ts +47 -0
  246. package/dist/host-utils.d.ts.map +1 -0
  247. package/dist/index.cjs +8836 -0
  248. package/dist/index.cjs.map +1 -0
  249. package/dist/index.d.ts +6 -0
  250. package/dist/index.d.ts.map +1 -0
  251. package/dist/index.js +7568 -0
  252. package/dist/index.js.map +1 -0
  253. package/dist/types.d.ts +16 -0
  254. package/dist/types.d.ts.map +1 -0
  255. package/package.json +41 -0
  256. package/scripts/generate-manifest.mjs +238 -0
  257. package/scripts/generate-manifest.test.mjs +292 -0
  258. package/src/api/analysis/daylight.ts +470 -0
  259. package/src/api/analysis/heatmaps.ts +683 -0
  260. package/src/api/analysis/illuminance.ts +155 -0
  261. package/src/api/analysis/index.ts +61 -0
  262. package/src/api/analysis/shadows.ts +183 -0
  263. package/src/api/analysis/solar.ts +237 -0
  264. package/src/api/analysis/sunlightHours.ts +211 -0
  265. package/src/api/analysis/sunpath.ts +83 -0
  266. package/src/api/analysis/weather.ts +179 -0
  267. package/src/api/core/buildings.ts +485 -0
  268. package/src/api/core/camera/index.ts +268 -0
  269. package/src/api/core/comment/index.ts +376 -0
  270. package/src/api/core/geom/create/index.ts +1204 -0
  271. package/src/api/core/geom/delete/index.ts +84 -0
  272. package/src/api/core/geom/index.ts +35 -0
  273. package/src/api/core/geom/query/arc.ts +169 -0
  274. package/src/api/core/geom/query/brep.ts +563 -0
  275. package/src/api/core/geom/query/circle.ts +404 -0
  276. package/src/api/core/geom/query/contour.ts +540 -0
  277. package/src/api/core/geom/query/curve.ts +1078 -0
  278. package/src/api/core/geom/query/edge.ts +130 -0
  279. package/src/api/core/geom/query/face.ts +403 -0
  280. package/src/api/core/geom/query/halfedge.ts +210 -0
  281. package/src/api/core/geom/query/index.ts +63 -0
  282. package/src/api/core/geom/query/profile.ts +473 -0
  283. package/src/api/core/geom/query/vertex.ts +205 -0
  284. package/src/api/core/geom/update/contour.ts +315 -0
  285. package/src/api/core/geom/update/curve.ts +209 -0
  286. package/src/api/core/geom/update/index.ts +29 -0
  287. package/src/api/core/geom/update/profile.ts +377 -0
  288. package/src/api/core/groups.ts +521 -0
  289. package/src/api/core/handles/index.ts +233 -0
  290. package/src/api/core/history/index.ts +84 -0
  291. package/src/api/core/index.ts +99 -0
  292. package/src/api/core/io/export/index.ts +126 -0
  293. package/src/api/core/io/import/index.ts +504 -0
  294. package/src/api/core/io/index.ts +42 -0
  295. package/src/api/core/io/job/index.ts +140 -0
  296. package/src/api/core/io/query/index.ts +71 -0
  297. package/src/api/core/io/terrain/index.ts +360 -0
  298. package/src/api/core/io/underlay/index.ts +705 -0
  299. package/src/api/core/layers.ts +333 -0
  300. package/src/api/core/math/index.ts +20 -0
  301. package/src/api/core/math/quat.ts +172 -0
  302. package/src/api/core/math/vec3.ts +179 -0
  303. package/src/api/core/mode/index.ts +108 -0
  304. package/src/api/core/project/index.ts +479 -0
  305. package/src/api/core/proposals/index.ts +569 -0
  306. package/src/api/core/storeys/index.ts +294 -0
  307. package/src/api/core/tags.ts +911 -0
  308. package/src/api/core/units/index.ts +164 -0
  309. package/src/api/core/user.ts +46 -0
  310. package/src/api/core/zoom/index.ts +51 -0
  311. package/src/api/design/boolean/index.ts +179 -0
  312. package/src/api/design/create/bulk-items.ts +186 -0
  313. package/src/api/design/create/grids.ts +137 -0
  314. package/src/api/design/create/index.ts +1954 -0
  315. package/src/api/design/create/opening-fields.ts +37 -0
  316. package/src/api/design/delete/index.ts +74 -0
  317. package/src/api/design/dimensions.ts +453 -0
  318. package/src/api/design/doors/index.ts +500 -0
  319. package/src/api/design/edit/index.ts +54 -0
  320. package/src/api/design/erase/index.ts +151 -0
  321. package/src/api/design/family.ts +646 -0
  322. package/src/api/design/furniture/index.ts +319 -0
  323. package/src/api/design/grids.ts +237 -0
  324. package/src/api/design/index.ts +274 -0
  325. package/src/api/design/lock.ts +69 -0
  326. package/src/api/design/materials/index.ts +608 -0
  327. package/src/api/design/query/geometry/index.ts +288 -0
  328. package/src/api/design/query/grids.ts +197 -0
  329. package/src/api/design/query/index.ts +1176 -0
  330. package/src/api/design/query/referenceLines.ts +52 -0
  331. package/src/api/design/query/spaces.ts +275 -0
  332. package/src/api/design/selection/index.ts +273 -0
  333. package/src/api/design/shared.ts +40 -0
  334. package/src/api/design/transform/index.ts +254 -0
  335. package/src/api/design/types/index.ts +156 -0
  336. package/src/api/design/update/index.ts +798 -0
  337. package/src/api/design/visibility.ts +143 -0
  338. package/src/api/design/windows/index.ts +333 -0
  339. package/src/api/entity/buildableEnvelope.ts +322 -0
  340. package/src/api/entity/department.ts +0 -0
  341. package/src/api/entity/index.ts +30 -0
  342. package/src/api/entity/referenceLine.ts +235 -0
  343. package/src/api/entity/space.ts +612 -0
  344. package/src/api/entity/story.ts +517 -0
  345. package/src/api/index.ts +47 -0
  346. package/src/api/presentation/aiInspiration.ts +1116 -0
  347. package/src/api/presentation/annotate.ts +417 -0
  348. package/src/api/presentation/diagrams.ts +194 -0
  349. package/src/api/presentation/drawings.ts +529 -0
  350. package/src/api/presentation/export.ts +133 -0
  351. package/src/api/presentation/import.ts +159 -0
  352. package/src/api/presentation/index.ts +129 -0
  353. package/src/api/presentation/placedViews.ts +1203 -0
  354. package/src/api/presentation/shapes.ts +274 -0
  355. package/src/api/presentation/sheets.ts +616 -0
  356. package/src/api/presentation/slideshow.ts +134 -0
  357. package/src/api/presentation/tables.ts +84 -0
  358. package/src/api/presentation/viewPresets.ts +83 -0
  359. package/src/api/presentation/views.ts +698 -0
  360. package/src/api/program/adjacency.ts +164 -0
  361. package/src/api/program/areas.ts +408 -0
  362. package/src/api/program/classification.ts +138 -0
  363. package/src/api/program/cores.ts +83 -0
  364. package/src/api/program/departments.ts +517 -0
  365. package/src/api/program/index.ts +73 -0
  366. package/src/api/program/labels.ts +332 -0
  367. package/src/api/program/layout.ts +422 -0
  368. package/src/api/program/metadata.ts +364 -0
  369. package/src/api/program/metrics.ts +120 -0
  370. package/src/api/program/site.ts +748 -0
  371. package/src/api/program/spreadsheet.ts +2698 -0
  372. package/src/api/workspace/index.ts +612 -0
  373. package/src/errors/codes.ts +136 -0
  374. package/src/errors/envelope.ts +75 -0
  375. package/src/errors/index.ts +21 -0
  376. package/src/errors/plugin-error.ts +134 -0
  377. package/src/handles.ts +282 -0
  378. package/src/host-utils.ts +68 -0
  379. package/src/index.ts +5 -0
  380. package/src/types.ts +16 -0
  381. package/test/errors.test.mjs +184 -0
  382. package/tsconfig.json +22 -0
  383. package/tsup.config.ts +12 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawings.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/drawings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAEL,oBAAoB,EAGpB,qBAAqB,EACtB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAG9C,sFAAsF;AACtF,eAAO,MAAM,mBAAmB;;kBAErB,CAAA;AACX,eAAO,MAAM,qBAAqB;;;kBAEhC,CAAA;AACF,eAAO,MAAM,oBAAoB;;kBAEtB,CAAA;AACX,eAAO,MAAM,0BAA0B;;;;;;kBAK5B,CAAA;AACX,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA;AACD,eAAO,MAAM,uBAAuB;;;;;;;kBAElC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAC7E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACzE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACvE,eAAO,MAAM,sBAAsB;;;kBAEjC,CAAA;AACF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAC3E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;kBAEhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAA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M,CAAA;KAAE,EAAE,CAC/C;IACD,gFAAgF;aAChE,SAAS,IAAI,eAAe,CAAC,MAAM,EAAE,CAAC;IACtD;;;;;OAKG;aACa,MAAM,CACpB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,yBAAyB,EACjC,OAAO,CAAC,EAAE,0BAA0B,GACnC,eAAe,CAAC,yBAAyB,CAAC;CAC9C"}
@@ -0,0 +1,126 @@
1
+ import * as z from "zod";
2
+ /**
3
+ * Presentation export — render the Present-mode layout sheets to a downloadable
4
+ * file (PDF / PNG / JPG), returning base64 by default or starting a browser download.
5
+ *
6
+ * This wraps the same pipeline the Present-mode **Export** dialog drives:
7
+ * each sheet is serialized to an SVG, then either composed into a PDF
8
+ * (svg2pdf/jspdf) or rasterized to a PNG/JPG. By default the plugin receives the
9
+ * encoded bytes to save, upload or preview. With `download: true`, the host
10
+ * initiates browser downloads and returns metadata only, keeping agent results small.
11
+ *
12
+ * Requires **Present mode to be open** (the documentation editor); the call
13
+ * throws `PRECONDITION_FAILED` when it is not.
14
+ *
15
+ * The result is always a uniform `{ files }` array (see
16
+ * {@linkcode PluginPresentationExportResult}):
17
+ * - `pdf` with `combine` (the default) → a single multi-page file.
18
+ * - `pdf` with `combine: false`, or any `png`/`jpg` → one file per sheet.
19
+ *
20
+ * Accessed via `snaptrude.presentation.export`.
21
+ *
22
+ * For a different export intent, see `core.io.export.model` (the 3D model as a
23
+ * GLB/OBJ/FBX/3DS file) and `program.spreadsheet.export` (the area-program /
24
+ * takeoff workbook as XLSX/PDF/CSV).
25
+ *
26
+ * The schemas and result types live here; the callable method is declared on
27
+ * {@linkcode PluginPresentationApi.export}.
28
+ */
29
+ /** Output file format: a vector `pdf`, or a rasterized `png` / `jpg`. */
30
+ export declare const PluginPresentationExportFormat: z.ZodEnum<{
31
+ pdf: "pdf";
32
+ png: "png";
33
+ jpg: "jpg";
34
+ }>;
35
+ export type PluginPresentationExportFormat = z.infer<typeof PluginPresentationExportFormat>;
36
+ /**
37
+ * Target pixel dimensions for a rasterized (`png`/`jpg`) export. Ignored for
38
+ * `pdf`, which stays vector and takes its size from the sheet.
39
+ *
40
+ * | Property | Type | Description |
41
+ * |---|---|---|
42
+ * | `width` | `number` | Output width in pixels |
43
+ * | `height` | `number` | Output height in pixels |
44
+ */
45
+ export declare const PluginPresentationExportResolution: z.ZodObject<{
46
+ width: z.ZodNumber;
47
+ height: z.ZodNumber;
48
+ }, z.core.$strip>;
49
+ export type PluginPresentationExportResolution = z.infer<typeof PluginPresentationExportResolution>;
50
+ /**
51
+ * Arguments for {@linkcode PluginPresentationApi.export}.
52
+ *
53
+ * | Property | Type | Description |
54
+ * |---|---|---|
55
+ * | `format` | `"pdf" \| "png" \| "jpg"` | Output format |
56
+ * | `sheetIds` | `string[] \| undefined` | Sheets to export (all sheets when omitted) |
57
+ * | `combine` | `boolean \| undefined` | PDF only: one multi-page file (default `true`) vs one file per sheet |
58
+ * | `resolution` | {@linkcode PluginPresentationExportResolution}` \| undefined` | Raster target size (`png`/`jpg` only) |
59
+ * | `fileName` | `string \| undefined` | Base file name (without extension) |
60
+ * | `download` | `boolean \| undefined` | Start browser downloads and return metadata without base64 (default `false`) |
61
+ */
62
+ export declare const PluginPresentationExportArgs: z.ZodObject<{
63
+ format: z.ZodEnum<{
64
+ pdf: "pdf";
65
+ png: "png";
66
+ jpg: "jpg";
67
+ }>;
68
+ sheetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ combine: z.ZodOptional<z.ZodBoolean>;
70
+ resolution: z.ZodOptional<z.ZodObject<{
71
+ width: z.ZodNumber;
72
+ height: z.ZodNumber;
73
+ }, z.core.$strip>>;
74
+ fileName: z.ZodOptional<z.ZodString>;
75
+ download: z.ZodOptional<z.ZodBoolean>;
76
+ }, z.core.$strip>;
77
+ export type PluginPresentationExportArgs = z.infer<typeof PluginPresentationExportArgs>;
78
+ /** Options after the positional export format. Omitted `download` preserves base64 results. */
79
+ export type PluginPresentationExportOptions = Omit<PluginPresentationExportArgs, "format">;
80
+ /**
81
+ * A single exported file.
82
+ *
83
+ * | Property | Type | Description |
84
+ * |---|---|---|
85
+ * | `fileName` | `string` | File name including extension |
86
+ * | `mimeType` | `string` | MIME type (`application/pdf`, `image/png`, `image/jpeg`) |
87
+ * | `dataBase64` | `string` | The file bytes, base64-encoded (no data-URL prefix) |
88
+ */
89
+ export declare const PluginPresentationExportFile: z.ZodObject<{
90
+ fileName: z.ZodString;
91
+ mimeType: z.ZodString;
92
+ dataBase64: z.ZodString;
93
+ }, z.core.$strip>;
94
+ export type PluginPresentationExportFile = z.infer<typeof PluginPresentationExportFile>;
95
+ /**
96
+ * Result of {@linkcode PluginPresentationApi.export} — always a `files` array.
97
+ * A combined PDF yields one entry; per-sheet exports yield one entry each, in
98
+ * sheet order.
99
+ *
100
+ * | Property | Type | Description |
101
+ * |---|---|---|
102
+ * | `files` | {@linkcode PluginPresentationExportFile}`[]` | The exported files |
103
+ */
104
+ export declare const PluginPresentationExportResult: z.ZodObject<{
105
+ files: z.ZodArray<z.ZodObject<{
106
+ fileName: z.ZodString;
107
+ mimeType: z.ZodString;
108
+ dataBase64: z.ZodString;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>;
111
+ export type PluginPresentationExportResult = z.infer<typeof PluginPresentationExportResult>;
112
+ /**
113
+ * Metadata-only result for `download: true`. `downloadStarted` confirms initiation,
114
+ * not an OS-saved file: browsers may require multiple-download permission. No base64
115
+ * is returned. Default exports retain their existing result and TypeScript contract.
116
+ */
117
+ export declare const PluginPresentationExportDownloadResult: z.ZodObject<{
118
+ files: z.ZodArray<z.ZodObject<{
119
+ fileName: z.ZodString;
120
+ mimeType: z.ZodString;
121
+ byteLength: z.ZodNumber;
122
+ }, z.core.$strip>>;
123
+ downloadStarted: z.ZodBoolean;
124
+ }, z.core.$strip>;
125
+ export type PluginPresentationExportDownloadResult = z.infer<typeof PluginPresentationExportDownloadResult>;
126
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/export.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,yEAAyE;AACzE,eAAO,MAAM,8BAA8B;;;;EAAgC,CAAA;AAC3E,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,kCAAkC;;;iBAG7C,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,kCAAkC,CAC1C,CAAA;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;iBAOvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA;AAED,+FAA+F;AAC/F,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,4BAA4B,EAC5B,QAAQ,CACT,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B;;;;iBAIvC,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,8BAA8B;;;;;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,sCAAsC;;;;;;;iBAOjD,CAAA;AACF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,sCAAsC,CAC9C,CAAA"}
@@ -0,0 +1,164 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../types";
3
+ /**
4
+ * Presentation import — bring external reference assets onto the Present canvas.
5
+ *
6
+ * `import.image` places a reference image, `import.pdf` places a PDF (each
7
+ * page vectorized to SVG), and `import.svg` places a validated SVG onto
8
+ * the current Present sheet, returning the created canvas shape ids. Requires
9
+ * Present mode to be open.
10
+ *
11
+ * The host engine takes a browser `File`, which a plugin worker cannot supply,
12
+ * so these accept a `url`/`dataUrl` that the host adapts into a `File`.
13
+ *
14
+ * Accessed via `snaptrude.presentation.import`.
15
+ */
16
+ export declare abstract class PluginPresentationImportApi {
17
+ constructor();
18
+ /**
19
+ * Import a reference image onto the current Present sheet.
20
+ *
21
+ * To place the image as a **scene** underlay to trace over — on a storey,
22
+ * not the Present canvas — use `core.io.import.image` instead.
23
+ *
24
+ * @param source - The asset to import: exactly one of `url` or `dataUrl`.
25
+ * @param options - Optional `position` — where to place the image on the
26
+ * sheet.
27
+ * @returns A {@linkcode PluginPresentationImportResult} with the created
28
+ * `shapeIds`.
29
+ * @throws If Present mode is not open or the source cannot be loaded.
30
+ *
31
+ * @examplePrompt Import this reference image onto the present canvas
32
+ * @examplePrompt Add a JPG to my presentation board
33
+ * @examplePrompt Drop this site photo onto the current sheet
34
+ * @examplePrompt Bring an inspiration image into Present mode
35
+ *
36
+ * # Example
37
+ * ```ts
38
+ * const { shapeIds } = await snaptrude.presentation.import.image(
39
+ * { url: "https://example.com/ref.png" },
40
+ * { position: { x: 200, y: 150 } },
41
+ * )
42
+ * ```
43
+ */
44
+ abstract image(source: {
45
+ url?: string;
46
+ dataUrl?: string;
47
+ }, options?: {
48
+ position?: {
49
+ x: number;
50
+ y: number;
51
+ };
52
+ }): PluginApiReturn<PluginPresentationImportResult>;
53
+ /**
54
+ * Import a PDF onto the current Present sheet (one shape per page).
55
+ *
56
+ * Each page is converted to vector SVG and placed as a canvas shape.
57
+ *
58
+ * To bring the PDF into the **scene** as a traceable underlay — on a storey,
59
+ * not the Present canvas — use `core.io.import.pdf` instead.
60
+ *
61
+ * @param source - The asset to import: exactly one of `url` or `dataUrl`.
62
+ * @param options - Optional `position` — where to place the pages on the
63
+ * sheet.
64
+ * @returns A {@linkcode PluginPresentationImportResult} with one `shapeId` per
65
+ * page.
66
+ * @throws If Present mode is not open or the source cannot be loaded.
67
+ *
68
+ * @examplePrompt Import this PDF onto the present canvas
69
+ * @examplePrompt Add a multi-page PDF reference to my board
70
+ * @examplePrompt Bring a PDF floor plan into Present mode as vectors
71
+ * @examplePrompt Place each page of this PDF on the sheet
72
+ *
73
+ * # Example
74
+ * ```ts
75
+ * const { shapeIds } = await snaptrude.presentation.import.pdf({
76
+ * url: "https://example.com/plans.pdf",
77
+ * })
78
+ * ```
79
+ */
80
+ abstract pdf(source: {
81
+ url?: string;
82
+ dataUrl?: string;
83
+ }, options?: {
84
+ position?: {
85
+ x: number;
86
+ y: number;
87
+ };
88
+ }): PluginApiReturn<PluginPresentationImportResult>;
89
+ /**
90
+ * Import an SVG onto the current Present sheet as a vector asset.
91
+ *
92
+ * An SVG-validating variant of {@linkcode PluginPresentationImportApi.image}:
93
+ * `import.image` already passes SVG sources through, but this method first
94
+ * validates that the source really is an SVG and forces the vector mime
95
+ * type. Throws if the source is not an SVG.
96
+ *
97
+ * **Rendering is vector up to a complexity cap.** Simple SVGs (up to ~1500
98
+ * SVG element nodes and ~2 MB) render true-vector and stay crisp at every
99
+ * zoom. Beyond that cap the shared canvas renderer **intentionally falls
100
+ * back to a 1920px raster** to protect canvas performance, so very complex
101
+ * SVGs can look rasterized when zoomed in. The stored asset is the original
102
+ * SVG either way; only the on-canvas rendering falls back.
103
+ *
104
+ * @param source - The SVG to import: exactly one of `url` or `dataUrl`.
105
+ * @param options - Optional `position` — where to place the SVG on the sheet.
106
+ * @returns A {@linkcode PluginPresentationImportResult} with the created
107
+ * `shapeIds`.
108
+ * @throws If Present mode is not open, the source is not an SVG, or it cannot
109
+ * be loaded.
110
+ *
111
+ * @examplePrompt Import this SVG diagram onto the present canvas
112
+ * @examplePrompt Add a vector logo to my presentation board
113
+ * @examplePrompt Place this SVG floor plan on the current sheet as vectors
114
+ * @examplePrompt Bring a crisp vector graphic into Present mode
115
+ *
116
+ * # Example
117
+ * ```ts
118
+ * const { shapeIds } = await snaptrude.presentation.import.svg({
119
+ * url: "https://example.com/diagram.svg",
120
+ * })
121
+ * ```
122
+ */
123
+ abstract svg(source: {
124
+ url?: string;
125
+ dataUrl?: string;
126
+ }, options?: {
127
+ position?: {
128
+ x: number;
129
+ y: number;
130
+ };
131
+ }): PluginApiReturn<PluginPresentationImportResult>;
132
+ }
133
+ /**
134
+ * Arguments for {@linkcode PluginPresentationImportApi.image} /
135
+ * {@linkcode PluginPresentationImportApi.pdf} /
136
+ * {@linkcode PluginPresentationImportApi.svg}. Provide exactly one source.
137
+ *
138
+ * | Property | Type | Description |
139
+ * |---|---|---|
140
+ * | `url` | `string \| undefined` | URL of the asset to import |
141
+ * | `dataUrl` | `string \| undefined` | Base64 data URL of the asset |
142
+ * | `position` | `{ x: number; y: number } \| undefined` | Where to place it on the sheet |
143
+ */
144
+ export declare const PluginPresentationImportArgs: z.ZodObject<{
145
+ url: z.ZodOptional<z.ZodString>;
146
+ dataUrl: z.ZodOptional<z.ZodString>;
147
+ position: z.ZodOptional<z.ZodObject<{
148
+ x: z.ZodNumber;
149
+ y: z.ZodNumber;
150
+ }, z.core.$strip>>;
151
+ }, z.core.$strip>;
152
+ export type PluginPresentationImportArgs = z.infer<typeof PluginPresentationImportArgs>;
153
+ /**
154
+ * Result of an import.
155
+ *
156
+ * | Property | Type | Description |
157
+ * |---|---|---|
158
+ * | `shapeIds` | `string[]` | Ids of the created canvas shapes (one per page for PDFs) |
159
+ */
160
+ export declare const PluginPresentationImportResult: z.ZodObject<{
161
+ shapeIds: z.ZodArray<z.ZodString>;
162
+ }, z.core.$strip>;
163
+ export type PluginPresentationImportResult = z.infer<typeof PluginPresentationImportResult>;
164
+ //# sourceMappingURL=import.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/import.ts"],"names":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AA4B,CACpC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAA;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAA"}
@@ -0,0 +1,114 @@
1
+ import { PluginApiReturn } from "../../types";
2
+ import { PluginPresentationViewsApi } from "./views";
3
+ import { PluginPresentationAIInspirationApi } from "./aiInspiration";
4
+ import { PluginPresentationSheetsApi } from "./sheets";
5
+ import { PluginPresentationPlacedViewsApi } from "./placedViews";
6
+ import { PluginPresentationDiagramsApi } from "./diagrams";
7
+ import { PluginPresentationDrawingsApi } from "./drawings";
8
+ import { PluginPresentationViewPresetsApi } from "./viewPresets";
9
+ import { PluginPresentationAnnotateApi } from "./annotate";
10
+ import { PluginPresentationShapesApi } from "./shapes";
11
+ import { PluginPresentationTablesApi } from "./tables";
12
+ import { PluginPresentationSlideshowApi } from "./slideshow";
13
+ import { PluginPresentationImportApi } from "./import";
14
+ import { type PluginPresentationExportResult, type PluginPresentationExportDownloadResult, type PluginPresentationExportFormat, type PluginPresentationExportOptions } from "./export";
15
+ /**
16
+ * Presentation APIs — prepare and assemble presentations.
17
+ *
18
+ * Reads describe the artifacts a presentation is built from (saved views, layout
19
+ * sheets); writes assemble them (place views/diagrams on sheets, import
20
+ * references, capture/save views). Present-mode AI Inspiration also lives here.
21
+ *
22
+ * Several members require **Present mode to be open** (the documentation editor):
23
+ * sheets, diagram placement, and import.
24
+ *
25
+ * - {@linkcode PluginPresentationApi.views} — Saved 2D/3D views (list, get, capture, activate, create)
26
+ * - {@linkcode PluginPresentationApi.sheets} — Layout sheets (list, get, create, place views)
27
+ * - {@linkcode PluginPresentationApi.placedViews} — Views already placed on the canvas (move, scale, crop)
28
+ * - {@linkcode PluginPresentationApi.diagrams} — Generate program/site diagram sheets, place diagram images
29
+ * - {@linkcode PluginPresentationApi.tables} — Place data tables on sheets
30
+ * - {@linkcode PluginPresentationApi.slideshow} — Run the Present-mode slideshow
31
+ * - {@linkcode PluginPresentationApi.import} — Import reference images/PDFs onto the canvas
32
+ * - {@linkcode PluginPresentationApi.aiInspiration} — Present-mode AI image/video generation
33
+ *
34
+ * Accessed via `snaptrude.presentation`.
35
+ */
36
+ export declare abstract class PluginPresentationApi {
37
+ /** Saved 2D/3D views. See {@linkcode PluginPresentationViewsApi}. */
38
+ abstract views: PluginPresentationViewsApi;
39
+ /** Drawing deliverables independent of sheet composition; Present must be open. */
40
+ abstract drawings: PluginPresentationDrawingsApi;
41
+ /** Reusable kernel-plan styles stored in the Present document. */
42
+ abstract viewPresets: PluginPresentationViewPresetsApi;
43
+ /** Layout sheets — list/get/create and place views (Present mode). See {@linkcode PluginPresentationSheetsApi}. */
44
+ abstract sheets: PluginPresentationSheetsApi;
45
+ /** Placed views — layout of the view shapes on the canvas: move/scale/setScale/setCrop (Present mode). See {@linkcode PluginPresentationPlacedViewsApi}. */
46
+ abstract placedViews: PluginPresentationPlacedViewsApi;
47
+ /** Program/adjacency/site diagrams — place images on sheets. See {@linkcode PluginPresentationDiagramsApi}. */
48
+ abstract diagrams: PluginPresentationDiagramsApi;
49
+ /** Annotations on Present-mode sheets — text/arrows/notes/geo shapes. See {@linkcode PluginPresentationAnnotateApi}. */
50
+ abstract annotate: PluginPresentationAnnotateApi;
51
+ /** Plugin-owned keyed shapes — upsert/remove/list so reruns update instead of duplicating. See {@linkcode PluginPresentationShapesApi}. */
52
+ abstract shapes: PluginPresentationShapesApi;
53
+ /** Data tables on Present sheets — place string rows as a table shape. See {@linkcode PluginPresentationTablesApi}. */
54
+ abstract tables: PluginPresentationTablesApi;
55
+ /** The Present-mode slideshow — start/stop/getState. See {@linkcode PluginPresentationSlideshowApi}. */
56
+ abstract slideshow: PluginPresentationSlideshowApi;
57
+ /** Import reference images/PDFs onto the Present canvas. See {@linkcode PluginPresentationImportApi}. */
58
+ abstract import: PluginPresentationImportApi;
59
+ /**
60
+ * Present-mode AI Inspiration image/video generation. See
61
+ * {@linkcode PluginPresentationAIInspirationApi}.
62
+ */
63
+ abstract aiInspiration: PluginPresentationAIInspirationApi;
64
+ /**
65
+ * Export the presentation's layout sheets to a downloadable file (PDF / PNG /
66
+ * JPG). Return base64 by default; `download: true` initiates browser downloads
67
+ * and returns metadata without base64. Requires Present mode to be open.
68
+ *
69
+ * @param format - Output format: `"pdf"`, `"png"`, or `"jpg"`.
70
+ * @param options - Optional `sheetIds` (all sheets when omitted), `combine`
71
+ * (PDF only — one multi-page file vs one per sheet, default `true`),
72
+ * `resolution` (raster target size for `png`/`jpg`), `fileName`, and `download`.
73
+ * @returns A `files` array (one entry for a combined PDF, one per sheet otherwise).
74
+ * Downloads return {@linkcode PluginPresentationExportDownloadResult}; otherwise
75
+ * {@linkcode PluginPresentationExportResult}. Download initiation does not prove
76
+ * the browser saved the file; multiple downloads may require user permission.
77
+ * @throws If Present mode is not open, a `sheetId` is unknown, or a sheet
78
+ * fails to serialize/encode.
79
+ *
80
+ * @examplePrompt Export the presentation as a PDF
81
+ * @examplePrompt Download all sheets as a single PDF
82
+ * @examplePrompt Export sheet 1 as a PNG
83
+ * @examplePrompt Save the presentation sheets as JPG images
84
+ * @examplePrompt Export these sheets to PDF at high resolution
85
+ *
86
+ * # Example
87
+ * ```ts
88
+ * const { files } = await snaptrude.presentation.export("pdf")
89
+ * const download = await snaptrude.presentation.export("pdf", { download: true })
90
+ * ```
91
+ */
92
+ abstract export(format: PluginPresentationExportFormat, options?: PluginPresentationExportOptions & {
93
+ download?: false;
94
+ }): PluginApiReturn<PluginPresentationExportResult>;
95
+ abstract export(format: PluginPresentationExportFormat, options: PluginPresentationExportOptions & {
96
+ download: true;
97
+ }): PluginApiReturn<PluginPresentationExportDownloadResult>;
98
+ abstract export(format: PluginPresentationExportFormat, options?: PluginPresentationExportOptions): PluginApiReturn<PluginPresentationExportResult | PluginPresentationExportDownloadResult>;
99
+ constructor();
100
+ }
101
+ export * from "./views";
102
+ export * from "./sheets";
103
+ export * from "./placedViews";
104
+ export * from "./diagrams";
105
+ export * from "./annotate";
106
+ export * from "./shapes";
107
+ export * from "./tables";
108
+ export * from "./slideshow";
109
+ export * from "./import";
110
+ export * from "./aiInspiration";
111
+ export * from "./export";
112
+ export * from "./drawings";
113
+ export * from "./viewPresets";
114
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/presentation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;AACpD,OAAO,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAA;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,YAAY,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,+BAA+B,EACrC,MAAM,UAAU,CAAA;AAEjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,8BAAsB,qBAAqB;IACzC,qEAAqE;IACrE,SAAgB,KAAK,EAAE,0BAA0B,CAAA;IACjD,mFAAmF;IACnF,SAAgB,QAAQ,EAAE,6B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