@league-of-foundry-developers/foundry-vtt-types 13.340.1 → 13.345.1

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 (1298) hide show
  1. package/README.md +8 -6
  2. package/package.json +34 -40
  3. package/src/configuration/configuration.d.mts +52 -18
  4. package/src/configuration/documents.d.mts +35 -14
  5. package/src/configuration/globals.d.mts +70 -115
  6. package/src/configuration/hooks.d.mts +96 -0
  7. package/src/configuration/index.d.mts +1 -0
  8. package/src/foundry/client/_types.d.mts +98 -0
  9. package/src/foundry/client/applications/_module.d.mts +30 -0
  10. package/src/foundry/client/applications/api/application.d.mts +966 -0
  11. package/src/foundry/client/applications/api/category-browser.d.mts +130 -0
  12. package/src/foundry/client/applications/api/dialog.d.mts +641 -0
  13. package/src/foundry/client/applications/api/document-sheet.d.mts +207 -0
  14. package/src/foundry/client/applications/api/handlebars-application.d.mts +240 -0
  15. package/src/foundry/client/applications/apps/av/camera-popout.d.mts +44 -0
  16. package/src/foundry/client/applications/apps/av/cameras.d.mts +118 -0
  17. package/src/foundry/client/applications/apps/combat-tracker-config.d.mts +45 -0
  18. package/src/foundry/client/applications/apps/compendium-art-config.d.mts +73 -0
  19. package/src/foundry/client/applications/apps/document-ownership.d.mts +51 -0
  20. package/src/foundry/client/applications/apps/document-sheet-config.d.mts +109 -0
  21. package/src/foundry/client/applications/apps/file-picker.d.mts +453 -0
  22. package/src/foundry/client/applications/apps/grid-config.d.mts +51 -0
  23. package/src/foundry/client/applications/apps/image-popout.d.mts +111 -0
  24. package/src/foundry/client/applications/apps/permission-config.d.mts +79 -0
  25. package/src/foundry/client/applications/dice/roll-resolver.d.mts +125 -0
  26. package/src/foundry/client/applications/elements/document-tags.d.mts +93 -0
  27. package/src/foundry/client/applications/elements/file-picker.d.mts +63 -0
  28. package/src/foundry/client/applications/elements/form-element.d.mts +108 -0
  29. package/src/foundry/client/applications/elements/multi-select.d.mts +107 -0
  30. package/src/foundry/client/applications/elements/prosemirror-editor.d.mts +54 -0
  31. package/src/foundry/client/applications/forms/fields.d.mts +271 -0
  32. package/src/foundry/client/applications/handlebars.d.mts +475 -0
  33. package/src/foundry/client/applications/hud/container.d.mts +50 -0
  34. package/src/foundry/client/applications/hud/drawing-hud.d.mts +47 -0
  35. package/src/foundry/client/applications/hud/placeable-hud.d.mts +66 -0
  36. package/src/foundry/client/applications/hud/tile-hud.d.mts +43 -0
  37. package/src/foundry/client/applications/hud/token-hud.d.mts +48 -0
  38. package/src/foundry/client/applications/quickstart.d.mts +45 -0
  39. package/src/foundry/client/applications/settings/_module.d.mts +8 -0
  40. package/src/foundry/client/applications/settings/config.d.mts +63 -0
  41. package/src/foundry/client/applications/settings/dependency-resolution.d.mts +40 -0
  42. package/src/foundry/client/applications/settings/menus/av-config.d.mts +50 -0
  43. package/src/foundry/client/applications/settings/menus/default-sheets-config.d.mts +49 -0
  44. package/src/foundry/client/applications/settings/menus/dice-config.d.mts +38 -0
  45. package/src/foundry/client/applications/settings/menus/font-config.d.mts +66 -0
  46. package/src/foundry/client/applications/settings/menus/prototype-overrides.d.mts +47 -0
  47. package/src/foundry/client/applications/settings/menus/ui-config.d.mts +49 -0
  48. package/src/foundry/client/applications/sheets/_module.d.mts +39 -0
  49. package/src/foundry/client/applications/sheets/active-effect-config.d.mts +51 -0
  50. package/src/foundry/client/applications/sheets/actor-sheet.d.mts +56 -0
  51. package/src/foundry/client/applications/sheets/adventure-exporter.d.mts +51 -0
  52. package/src/foundry/client/applications/sheets/adventure-importer.d.mts +49 -0
  53. package/src/foundry/client/applications/sheets/ambient-light-config.d.mts +115 -0
  54. package/src/foundry/client/applications/sheets/ambient-sound-config.d.mts +77 -0
  55. package/src/foundry/client/applications/sheets/base-sheet.d.mts +53 -0
  56. package/src/foundry/client/applications/sheets/card-config.d.mts +51 -0
  57. package/src/foundry/client/applications/sheets/cards-config.d.mts +135 -0
  58. package/src/foundry/client/applications/sheets/combatant-config.d.mts +51 -0
  59. package/src/foundry/client/applications/sheets/drawing-config.d.mts +51 -0
  60. package/src/foundry/client/applications/sheets/folder-config.d.mts +51 -0
  61. package/src/foundry/client/applications/sheets/item-sheet.d.mts +48 -0
  62. package/src/foundry/client/applications/sheets/journal/dialog-show.d.mts +42 -0
  63. package/src/foundry/client/applications/sheets/journal/journal-entry-category-config.d.mts +51 -0
  64. package/src/foundry/client/applications/sheets/journal/journal-entry-page-hbs-sheet.d.mts +41 -0
  65. package/src/foundry/client/applications/sheets/journal/journal-entry-page-image-sheet.d.mts +38 -0
  66. package/src/foundry/client/applications/sheets/journal/journal-entry-page-markdown-sheet.d.mts +38 -0
  67. package/src/foundry/client/applications/sheets/journal/journal-entry-page-pdf-sheet.d.mts +38 -0
  68. package/src/foundry/client/applications/sheets/journal/journal-entry-page-prose-mirror-sheet.d.mts +38 -0
  69. package/src/foundry/client/applications/sheets/journal/journal-entry-page-sheet.d.mts +50 -0
  70. package/src/foundry/client/applications/sheets/journal/journal-entry-page-text-sheet.d.mts +38 -0
  71. package/src/foundry/client/applications/sheets/journal/journal-entry-page-video-sheet.d.mts +40 -0
  72. package/src/foundry/client/applications/sheets/journal/journal-entry-sheet.d.mts +69 -0
  73. package/src/foundry/client/applications/sheets/macro-config.d.mts +51 -0
  74. package/src/foundry/client/applications/sheets/note-config.d.mts +51 -0
  75. package/src/foundry/client/applications/sheets/playlist-config.d.mts +51 -0
  76. package/src/foundry/client/applications/sheets/playlist-sound-config.d.mts +51 -0
  77. package/src/foundry/client/applications/sheets/region-behavior-config.d.mts +68 -0
  78. package/src/foundry/client/applications/sheets/region-config.d.mts +76 -0
  79. package/src/foundry/client/applications/sheets/roll-table-sheet.d.mts +51 -0
  80. package/src/foundry/client/applications/sheets/scene-config.d.mts +51 -0
  81. package/src/foundry/client/applications/sheets/table-result-config.d.mts +51 -0
  82. package/src/foundry/client/applications/sheets/template-config.d.mts +50 -0
  83. package/src/foundry/client/applications/sheets/tile-config.d.mts +51 -0
  84. package/src/foundry/client/applications/sheets/token/mixin.d.mts +47 -0
  85. package/src/foundry/client/applications/sheets/token/prototype-config.d.mts +41 -0
  86. package/src/foundry/client/applications/sheets/token/token-config.d.mts +51 -0
  87. package/src/foundry/client/applications/sheets/user-config.d.mts +65 -0
  88. package/src/foundry/client/applications/sheets/wall-config.d.mts +51 -0
  89. package/src/foundry/client/applications/sidebar/apps/chat-popout.d.mts +44 -0
  90. package/src/foundry/client/applications/sidebar/apps/compendium.d.mts +44 -0
  91. package/src/foundry/client/applications/sidebar/apps/controls-config.d.mts +49 -0
  92. package/src/foundry/client/applications/sidebar/apps/folder-export.d.mts +40 -0
  93. package/src/foundry/client/applications/sidebar/apps/frame-viewer.d.mts +44 -0
  94. package/src/foundry/client/applications/sidebar/apps/invitation-links.d.mts +39 -0
  95. package/src/foundry/client/applications/sidebar/apps/module-management.d.mts +42 -0
  96. package/src/foundry/client/applications/sidebar/apps/support-details.d.mts +39 -0
  97. package/src/foundry/client/applications/sidebar/apps/tours-management.d.mts +61 -0
  98. package/src/foundry/client/applications/sidebar/apps/world-config.d.mts +40 -0
  99. package/src/foundry/client/applications/sidebar/document-directory.d.mts +55 -0
  100. package/src/foundry/client/applications/sidebar/sidebar-tab.d.mts +106 -0
  101. package/src/foundry/client/applications/sidebar/sidebar.d.mts +129 -0
  102. package/src/foundry/client/applications/sidebar/tabs/actor-directory.d.mts +39 -0
  103. package/src/foundry/client/applications/sidebar/tabs/cards-directory.d.mts +39 -0
  104. package/src/foundry/client/applications/sidebar/tabs/chat.d.mts +36 -0
  105. package/src/foundry/client/applications/sidebar/tabs/combat-tracker.d.mts +283 -0
  106. package/src/foundry/client/applications/sidebar/tabs/compendium-directory.d.mts +40 -0
  107. package/src/foundry/client/applications/sidebar/tabs/item-directory.d.mts +39 -0
  108. package/src/foundry/client/applications/sidebar/tabs/journal-directory.d.mts +39 -0
  109. package/src/foundry/client/applications/sidebar/tabs/macro-directory.d.mts +39 -0
  110. package/src/foundry/client/applications/sidebar/tabs/playlist-directory.d.mts +39 -0
  111. package/src/foundry/client/applications/sidebar/tabs/roll-table-directory.d.mts +39 -0
  112. package/src/foundry/client/applications/sidebar/tabs/scene-directory.d.mts +39 -0
  113. package/src/foundry/client/applications/sidebar/tabs/settings.d.mts +39 -0
  114. package/src/foundry/client/applications/ui/game-pause.d.mts +49 -0
  115. package/src/foundry/client/applications/ui/hotbar.d.mts +52 -0
  116. package/src/foundry/client/applications/ui/main-menu.d.mts +50 -0
  117. package/src/foundry/client/applications/ui/players.d.mts +56 -0
  118. package/src/foundry/client/applications/ui/region-legend.d.mts +97 -0
  119. package/src/foundry/client/applications/ui/scene-controls.d.mts +117 -0
  120. package/src/foundry/client/applications/ui/scene-navigation.d.mts +55 -0
  121. package/src/foundry/client/applications/ux/context-menu.d.mts +327 -0
  122. package/src/foundry/client/applications/ux/drag-drop.d.mts +167 -0
  123. package/src/foundry/client/applications/ux/draggable.d.mts +156 -0
  124. package/src/foundry/client/applications/ux/form-data-extended.d.mts +89 -0
  125. package/src/foundry/client/applications/ux/html-secret.d.mts +75 -0
  126. package/src/foundry/client/applications/ux/prosemirror-editor.d.mts +199 -0
  127. package/src/foundry/client/applications/ux/search-filter.d.mts +148 -0
  128. package/src/foundry/client/applications/ux/tabs.d.mts +121 -0
  129. package/src/foundry/client/applications/ux/text-editor.d.mts +478 -0
  130. package/src/foundry/client/appv1/api/application-v1.d.mts +608 -0
  131. package/src/foundry/client/appv1/api/dialog-v1.d.mts +344 -0
  132. package/src/foundry/client/appv1/api/document-sheet-v1.d.mts +166 -0
  133. package/src/foundry/client/appv1/api/form-application-v1.d.mts +361 -0
  134. package/src/foundry/client/appv1/sheets/actor-sheet.d.mts +194 -0
  135. package/src/foundry/client/appv1/sheets/adventure-importer.d.mts +101 -0
  136. package/src/foundry/client/appv1/sheets/item-sheet.d.mts +68 -0
  137. package/src/foundry/client/appv1/sheets/journal-page-sheet.d.mts +179 -0
  138. package/src/foundry/client/appv1/sheets/journal-sheet.d.mts +325 -0
  139. package/src/foundry/client/audio/_types.d.mts +18 -0
  140. package/src/foundry/client/audio/biquad.d.mts +102 -0
  141. package/src/foundry/client/audio/cache.d.mts +79 -0
  142. package/src/foundry/client/audio/convolver.d.mts +94 -0
  143. package/src/foundry/client/audio/helper.d.mts +372 -0
  144. package/src/foundry/client/audio/sound.d.mts +509 -0
  145. package/src/foundry/client/audio/timeout.d.mts +101 -0
  146. package/src/foundry/client/av/client.d.mts +164 -161
  147. package/src/foundry/client/av/clients/simplepeer.d.mts +159 -156
  148. package/src/foundry/client/av/master.d.mts +194 -190
  149. package/src/foundry/client/av/settings.d.mts +323 -233
  150. package/src/foundry/client/canvas/_module.d.mts +23 -0
  151. package/src/foundry/client/canvas/animation/_module.d.mts +8 -0
  152. package/src/foundry/client/canvas/animation/_types.d.mts +20 -0
  153. package/src/foundry/client/canvas/animation/canvas-animation.d.mts +236 -0
  154. package/src/foundry/client/canvas/animation/chat-bubbles.d.mts +31 -0
  155. package/src/foundry/client/canvas/animation/smooth-noise.d.mts +80 -0
  156. package/src/foundry/client/canvas/board.d.mts +878 -0
  157. package/src/foundry/client/canvas/containers/_module.d.mts +25 -0
  158. package/src/foundry/client/canvas/containers/_types.d.mts +14 -0
  159. package/src/foundry/client/canvas/containers/advanced/cached-container.d.mts +138 -0
  160. package/src/foundry/client/canvas/containers/advanced/full-canvas-mixin.d.mts +28 -0
  161. package/src/foundry/client/canvas/containers/advanced/unbound-container.d.mts +21 -0
  162. package/src/foundry/client/canvas/containers/elements/control-icon.d.mts +129 -0
  163. package/src/foundry/client/canvas/containers/elements/cursor.d.mts +42 -0
  164. package/src/foundry/client/canvas/containers/elements/door-control.d.mts +90 -0
  165. package/src/foundry/client/canvas/containers/elements/door-mesh.d.mts +16 -0
  166. package/src/foundry/client/canvas/containers/elements/grid-highlight.d.mts +43 -0
  167. package/src/foundry/client/canvas/containers/elements/grid-mesh.d.mts +103 -0
  168. package/src/foundry/client/canvas/containers/elements/particles/leaves.d.mts +51 -0
  169. package/src/foundry/client/canvas/containers/elements/particles/particle-effect.d.mts +57 -0
  170. package/src/foundry/client/canvas/containers/elements/point-source-mesh.d.mts +73 -0
  171. package/src/foundry/client/canvas/containers/elements/precise-text.d.mts +46 -0
  172. package/src/foundry/client/canvas/containers/elements/quad-mesh.d.mts +54 -0
  173. package/src/foundry/client/canvas/containers/elements/resize-handle.d.mts +83 -0
  174. package/src/foundry/client/canvas/containers/elements/sprite-mesh.d.mts +370 -0
  175. package/src/foundry/client/canvas/extensions/_module.d.mts +9 -0
  176. package/src/foundry/client/canvas/extensions/circle-extension.d.mts +150 -0
  177. package/src/foundry/client/canvas/extensions/graphics-extension.d.mts +45 -0
  178. package/src/foundry/client/canvas/extensions/polygon-extension.d.mts +175 -0
  179. package/src/foundry/client/canvas/extensions/rectangle-extension.d.mts +287 -0
  180. package/src/foundry/client/canvas/framebuffer-snapshot.d.mts +33 -0
  181. package/src/foundry/client/canvas/geometry/_module.d.mts +17 -0
  182. package/src/foundry/client/canvas/geometry/_types.d.mts +34 -0
  183. package/src/foundry/client/canvas/geometry/clockwise-sweep.d.mts +281 -0
  184. package/src/foundry/client/canvas/geometry/edges/collision.d.mts +131 -0
  185. package/src/foundry/client/canvas/geometry/edges/edge.d.mts +258 -0
  186. package/src/foundry/client/canvas/geometry/edges/edges.d.mts +70 -0
  187. package/src/foundry/client/canvas/geometry/edges/vertex.d.mts +198 -0
  188. package/src/foundry/client/canvas/geometry/observable-transform.d.mts +39 -0
  189. package/src/foundry/client/canvas/geometry/quad-tree.d.mts +324 -0
  190. package/src/foundry/client/canvas/geometry/shapes/limited-angle-polygon.d.mts +143 -0
  191. package/src/foundry/client/canvas/geometry/shapes/polygon-mesher.d.mts +141 -0
  192. package/src/foundry/client/canvas/geometry/shapes/ray.d.mts +177 -0
  193. package/src/foundry/client/canvas/geometry/shapes/source-polygon.d.mts +368 -0
  194. package/src/foundry/client/canvas/geometry/unbound-transform.d.mts +22 -0
  195. package/src/foundry/client/canvas/geometry/weiler-atherton-clipping.d.mts +203 -0
  196. package/src/foundry/client/canvas/groups/_module.d.mts +14 -0
  197. package/src/foundry/client/canvas/groups/canvas-group-mixin.d.mts +178 -0
  198. package/src/foundry/client/canvas/groups/effects.d.mts +248 -0
  199. package/src/foundry/client/canvas/groups/environment.d.mts +137 -0
  200. package/src/foundry/client/canvas/groups/hidden.d.mts +65 -0
  201. package/src/foundry/client/canvas/groups/interface.d.mts +110 -0
  202. package/src/foundry/client/canvas/groups/overlay.d.mts +40 -0
  203. package/src/foundry/client/canvas/groups/primary.d.mts +237 -0
  204. package/src/foundry/client/canvas/groups/rendered.d.mts +39 -0
  205. package/src/foundry/client/canvas/groups/visibility.d.mts +263 -0
  206. package/src/foundry/client/canvas/interaction/_module.d.mts +24 -0
  207. package/src/foundry/client/canvas/interaction/_types.d.mts +18 -0
  208. package/src/foundry/client/canvas/interaction/mouse-handler.d.mts +362 -0
  209. package/src/foundry/client/canvas/interaction/ping/alert.d.mts +38 -0
  210. package/src/foundry/client/canvas/interaction/ping/arrow.d.mts +41 -0
  211. package/src/foundry/client/canvas/interaction/ping/chevron.d.mts +98 -0
  212. package/src/foundry/client/canvas/interaction/ping/ping.d.mts +86 -0
  213. package/src/foundry/client/canvas/interaction/ping/pulse.d.mts +104 -0
  214. package/src/foundry/client/canvas/interaction/render-flags.d.mts +182 -0
  215. package/src/foundry/client/canvas/interaction/ruler/base-ruler.d.mts +17 -0
  216. package/src/foundry/client/canvas/interaction/ruler/ruler.d.mts +498 -0
  217. package/src/foundry/client/canvas/layers/_module.d.mts +36 -0
  218. package/src/foundry/client/canvas/layers/_types.d.mts +26 -0
  219. package/src/foundry/client/canvas/layers/base/canvas-layer.d.mts +91 -0
  220. package/src/foundry/client/canvas/layers/base/interaction-layer.d.mts +165 -0
  221. package/src/foundry/client/canvas/layers/base/placeables-layer.d.mts +714 -0
  222. package/src/foundry/client/canvas/layers/controls.d.mts +288 -0
  223. package/src/foundry/client/canvas/layers/drawings.d.mts +123 -0
  224. package/src/foundry/client/canvas/layers/effects/background-effects.d.mts +56 -0
  225. package/src/foundry/client/canvas/layers/effects/coloration-effects.d.mts +51 -0
  226. package/src/foundry/client/canvas/layers/effects/darkness-effects.d.mts +42 -0
  227. package/src/foundry/client/canvas/layers/effects/illumination-effects.d.mts +162 -0
  228. package/src/foundry/client/canvas/layers/effects/weather-effects.d.mts +316 -0
  229. package/src/foundry/client/canvas/layers/grid.d.mts +284 -0
  230. package/src/foundry/client/canvas/layers/lighting.d.mts +92 -0
  231. package/src/foundry/client/canvas/layers/masks/depth.d.mts +68 -0
  232. package/src/foundry/client/canvas/layers/masks/occlusion.d.mts +101 -0
  233. package/src/foundry/client/canvas/layers/masks/vision.d.mts +206 -0
  234. package/src/foundry/client/canvas/layers/notes.d.mts +138 -0
  235. package/src/foundry/client/canvas/layers/regions.d.mts +123 -0
  236. package/src/foundry/client/canvas/layers/sounds.d.mts +345 -0
  237. package/src/foundry/client/canvas/layers/templates.d.mts +79 -0
  238. package/src/foundry/client/canvas/layers/tiles.d.mts +136 -0
  239. package/src/foundry/client/canvas/layers/tokens.d.mts +218 -0
  240. package/src/foundry/client/canvas/layers/walls.d.mts +218 -0
  241. package/src/foundry/client/canvas/loader.d.mts +319 -0
  242. package/src/foundry/client/canvas/perception/_module.d.mts +19 -0
  243. package/src/foundry/client/canvas/perception/_types.d.mts +12 -0
  244. package/src/foundry/client/canvas/perception/detection-mode.d.mts +173 -0
  245. package/src/foundry/client/canvas/perception/detection-modes/darkvision.d.mts +26 -0
  246. package/src/foundry/client/canvas/perception/detection-modes/invisibility-perception.d.mts +29 -0
  247. package/src/foundry/client/canvas/perception/detection-modes/light-perception.d.mts +33 -0
  248. package/src/foundry/client/canvas/perception/detection-modes/super-perception.d.mts +27 -0
  249. package/src/foundry/client/canvas/perception/detection-modes/tremor-perception.d.mts +26 -0
  250. package/src/foundry/client/canvas/perception/fog.d.mts +157 -0
  251. package/src/foundry/client/canvas/perception/perception-manager.d.mts +163 -0
  252. package/src/foundry/client/canvas/perception/vision-mode.d.mts +249 -0
  253. package/src/foundry/client/canvas/placeables/_module.d.mts +20 -0
  254. package/src/foundry/client/canvas/placeables/_types.d.mts +16 -0
  255. package/src/foundry/client/canvas/placeables/drawing.d.mts +412 -0
  256. package/src/foundry/client/canvas/placeables/light.d.mts +266 -0
  257. package/src/foundry/client/canvas/placeables/note.d.mts +203 -0
  258. package/src/foundry/client/canvas/placeables/placeable-object.d.mts +772 -0
  259. package/src/foundry/client/canvas/placeables/region.d.mts +275 -0
  260. package/src/foundry/client/canvas/placeables/regions/_module.d.mts +7 -0
  261. package/src/foundry/client/canvas/placeables/regions/geometry.d.mts +40 -0
  262. package/src/foundry/client/canvas/placeables/regions/mesh.d.mts +75 -0
  263. package/src/foundry/client/canvas/placeables/sound.d.mts +271 -0
  264. package/src/foundry/client/canvas/placeables/template.d.mts +290 -0
  265. package/src/foundry/client/canvas/placeables/tile.d.mts +349 -0
  266. package/src/foundry/client/canvas/placeables/token.d.mts +1295 -0
  267. package/src/foundry/client/canvas/placeables/tokens/_module.d.mts +13 -0
  268. package/src/foundry/client/canvas/placeables/tokens/base-ruler.d.mts +77 -0
  269. package/src/foundry/client/canvas/placeables/tokens/ring-config.d.mts +255 -0
  270. package/src/foundry/client/canvas/placeables/tokens/ring-data.d.mts +149 -0
  271. package/src/foundry/client/canvas/placeables/tokens/ring.d.mts +290 -0
  272. package/src/foundry/client/canvas/placeables/tokens/ruler.d.mts +219 -0
  273. package/src/foundry/client/canvas/placeables/tokens/targets.d.mts +50 -0
  274. package/src/foundry/client/canvas/placeables/tokens/turn-marker-data.d.mts +17 -0
  275. package/src/foundry/client/canvas/placeables/tokens/turn-marker.d.mts +16 -0
  276. package/src/foundry/client/canvas/placeables/wall.d.mts +393 -0
  277. package/src/foundry/client/canvas/primary/_module.d.mts +12 -0
  278. package/src/foundry/client/canvas/primary/primary-canvas-container.d.mts +17 -0
  279. package/src/foundry/client/canvas/primary/primary-canvas-object.d.mts +201 -0
  280. package/src/foundry/client/canvas/primary/primary-graphics.d.mts +62 -0
  281. package/src/foundry/client/canvas/primary/primary-occludable-object.d.mts +205 -0
  282. package/src/foundry/client/canvas/primary/primary-particle-effect.d.mts +17 -0
  283. package/src/foundry/client/canvas/primary/primary-sprite-mesh.d.mts +203 -0
  284. package/src/foundry/client/canvas/rendering/_module.d.mts +10 -0
  285. package/src/foundry/client/canvas/rendering/batching/_module.d.mts +7 -0
  286. package/src/foundry/client/canvas/rendering/batching/batch-renderer.d.mts +136 -0
  287. package/src/foundry/client/canvas/rendering/batching/batch-shader-generator.d.mts +30 -0
  288. package/src/foundry/client/canvas/rendering/blend-modes.d.mts +49 -0
  289. package/src/foundry/client/canvas/rendering/filters/_module.d.mts +23 -0
  290. package/src/foundry/client/canvas/rendering/filters/_types.d.mts +4 -0
  291. package/src/foundry/client/canvas/rendering/filters/base-filter.d.mts +47 -0
  292. package/src/foundry/client/canvas/rendering/filters/base-mask-filter.d.mts +32 -0
  293. package/src/foundry/client/canvas/rendering/filters/blur.d.mts +194 -0
  294. package/src/foundry/client/canvas/rendering/filters/effects-masking.d.mts +144 -0
  295. package/src/foundry/client/canvas/rendering/filters/environment.d.mts +43 -0
  296. package/src/foundry/client/canvas/rendering/filters/glow-overlay.d.mts +78 -0
  297. package/src/foundry/client/canvas/rendering/filters/invisibility.d.mts +32 -0
  298. package/src/foundry/client/canvas/rendering/filters/outline-overlay.d.mts +87 -0
  299. package/src/foundry/client/canvas/rendering/filters/smaa/_types.d.mts +13 -0
  300. package/src/foundry/client/canvas/rendering/filters/smaa/blend.d.mts +19 -0
  301. package/src/foundry/client/canvas/rendering/filters/smaa/edges.d.mts +22 -0
  302. package/src/foundry/client/canvas/rendering/filters/smaa/smaa.d.mts +165 -0
  303. package/src/foundry/client/canvas/rendering/filters/smaa/weights.d.mts +22 -0
  304. package/src/foundry/client/canvas/rendering/filters/transition.d.mts +130 -0
  305. package/src/foundry/client/canvas/rendering/filters/visibility.d.mts +82 -0
  306. package/src/foundry/client/canvas/rendering/filters/vision-mask-filter.d.mts +38 -0
  307. package/src/foundry/client/canvas/rendering/filters/void.d.mts +20 -0
  308. package/src/foundry/client/canvas/rendering/filters/weather-occlusion-mask.d.mts +59 -0
  309. package/src/foundry/client/canvas/rendering/mixins/_module.d.mts +7 -0
  310. package/src/foundry/client/canvas/rendering/mixins/base-shader-mixin.d.mts +134 -0
  311. package/src/foundry/client/canvas/rendering/mixins/fragment-channel-mixin.d.mts +66 -0
  312. package/src/foundry/client/canvas/rendering/shaders/_module.d.mts +93 -0
  313. package/src/foundry/client/canvas/rendering/shaders/_types.d.mts +16 -0
  314. package/src/foundry/client/canvas/rendering/shaders/base-shader.d.mts +109 -0
  315. package/src/foundry/client/canvas/rendering/shaders/graphics/dash-line.d.mts +48 -0
  316. package/src/foundry/client/canvas/rendering/shaders/grid/grid.d.mts +122 -0
  317. package/src/foundry/client/canvas/rendering/shaders/lighting/background-lighting.d.mts +69 -0
  318. package/src/foundry/client/canvas/rendering/shaders/lighting/base-lighting.d.mts +179 -0
  319. package/src/foundry/client/canvas/rendering/shaders/lighting/coloration-lighting.d.mts +76 -0
  320. package/src/foundry/client/canvas/rendering/shaders/lighting/darkness-lighting.d.mts +76 -0
  321. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/bewitching-wave.d.mts +37 -0
  322. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/black-hole.d.mts +20 -0
  323. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/chroma.d.mts +25 -0
  324. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/dense-smoke.d.mts +20 -0
  325. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/emanation.d.mts +25 -0
  326. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/energy-field.d.mts +25 -0
  327. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/fairy-light.d.mts +42 -0
  328. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/flame.d.mts +60 -0
  329. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/fog.d.mts +25 -0
  330. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/force-grid.d.mts +25 -0
  331. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/ghost-light.d.mts +37 -0
  332. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/hexa-dome.d.mts +25 -0
  333. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/light-dome.d.mts +25 -0
  334. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/magical-gloom.d.mts +20 -0
  335. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/pulse.d.mts +49 -0
  336. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/radial-rainbow.d.mts +25 -0
  337. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/revolving-light.d.mts +39 -0
  338. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/roiling-mass.d.mts +20 -0
  339. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/siren-light.d.mts +66 -0
  340. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/smoke-patch.d.mts +37 -0
  341. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/star-light.d.mts +25 -0
  342. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/sunburst.d.mts +37 -0
  343. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/swirling-rainbow.d.mts +25 -0
  344. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/torch.d.mts +50 -0
  345. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/vortex.d.mts +42 -0
  346. package/src/foundry/client/canvas/rendering/shaders/lighting/effects/wave.d.mts +37 -0
  347. package/src/foundry/client/canvas/rendering/shaders/lighting/illumination-lighting.d.mts +79 -0
  348. package/src/foundry/client/canvas/rendering/shaders/region/adjust-darkness-level.d.mts +137 -0
  349. package/src/foundry/client/canvas/rendering/shaders/region/base.d.mts +80 -0
  350. package/src/foundry/client/canvas/rendering/shaders/region/highlight.d.mts +97 -0
  351. package/src/foundry/client/canvas/rendering/shaders/samplers/amplification.d.mts +58 -0
  352. package/src/foundry/client/canvas/rendering/shaders/samplers/base-sampler.d.mts +223 -0
  353. package/src/foundry/client/canvas/rendering/shaders/samplers/baseline-illumination.d.mts +40 -0
  354. package/src/foundry/client/canvas/rendering/shaders/samplers/color-adjustments.d.mts +65 -0
  355. package/src/foundry/client/canvas/rendering/shaders/samplers/colorize-brightness.d.mts +40 -0
  356. package/src/foundry/client/canvas/rendering/shaders/samplers/fog-of-war.d.mts +27 -0
  357. package/src/foundry/client/canvas/rendering/shaders/samplers/primary/depth.d.mts +111 -0
  358. package/src/foundry/client/canvas/rendering/shaders/samplers/primary/occlusion.d.mts +109 -0
  359. package/src/foundry/client/canvas/rendering/shaders/samplers/primary/primary.d.mts +38 -0
  360. package/src/foundry/client/canvas/rendering/shaders/samplers/primary/token-ring.d.mts +79 -0
  361. package/src/foundry/client/canvas/rendering/shaders/vision/background-vision.d.mts +67 -0
  362. package/src/foundry/client/canvas/rendering/shaders/vision/base-vision.d.mts +35 -0
  363. package/src/foundry/client/canvas/rendering/shaders/vision/coloration-vision.d.mts +67 -0
  364. package/src/foundry/client/canvas/rendering/shaders/vision/effects/amplification.d.mts +34 -0
  365. package/src/foundry/client/canvas/rendering/shaders/vision/effects/wave.d.mts +62 -0
  366. package/src/foundry/client/canvas/rendering/shaders/vision/illumination-vision.d.mts +67 -0
  367. package/src/foundry/client/canvas/rendering/shaders/weather/base-weather.d.mts +120 -0
  368. package/src/foundry/client/canvas/rendering/shaders/weather/effect.d.mts +57 -0
  369. package/src/foundry/client/canvas/rendering/shaders/weather/fog.d.mts +52 -0
  370. package/src/foundry/client/canvas/rendering/shaders/weather/rain.d.mts +44 -0
  371. package/src/foundry/client/canvas/rendering/shaders/weather/snow.d.mts +36 -0
  372. package/src/foundry/client/canvas/scene-manager.d.mts +106 -0
  373. package/src/foundry/client/canvas/sources/base-effect-source.d.mts +297 -0
  374. package/src/foundry/client/canvas/sources/base-light-source.d.mts +306 -0
  375. package/src/foundry/client/canvas/sources/global-light-source.d.mts +141 -0
  376. package/src/foundry/client/canvas/sources/point-darkness-source.d.mts +160 -0
  377. package/src/foundry/client/canvas/sources/point-effect-source.d.mts +190 -0
  378. package/src/foundry/client/canvas/sources/point-light-source.d.mts +131 -0
  379. package/src/foundry/client/canvas/sources/point-movement-source.d.mts +65 -0
  380. package/src/foundry/client/canvas/sources/point-sound-source.d.mts +92 -0
  381. package/src/foundry/client/canvas/sources/point-vision-source.d.mts +357 -0
  382. package/src/foundry/client/canvas/sources/rendered-effect-source.d.mts +471 -0
  383. package/src/foundry/client/canvas/texture-extractor.d.mts +171 -0
  384. package/src/foundry/client/canvas/workers/_module.d.mts +6 -0
  385. package/src/foundry/client/canvas/workers/texture-worker.d.mts +147 -0
  386. package/src/foundry/client/client.d.mts +2489 -0
  387. package/src/foundry/client/config.d.mts +684 -238
  388. package/src/foundry/client/data/_module.d.mts +13 -0
  389. package/src/foundry/client/data/calendar.d.mts +341 -0
  390. package/src/foundry/client/data/client-backend.d.mts +52 -0
  391. package/src/foundry/client/data/region-behaviors/adjust-darkness-level.d.mts +56 -0
  392. package/src/foundry/client/data/region-behaviors/base.d.mts +60 -0
  393. package/src/foundry/client/data/region-behaviors/display-scrolling-text.d.mts +64 -0
  394. package/src/foundry/client/data/region-behaviors/teleport-token.d.mts +31 -0
  395. package/src/foundry/client/data/region-behaviors/toggle-behavior.d.mts +31 -0
  396. package/src/foundry/client/data/region-shapes/_module.d.mts +7 -0
  397. package/src/foundry/client/data/region-shapes/polygon-tree.d.mts +132 -0
  398. package/src/foundry/client/data/region-shapes/shape.d.mts +129 -0
  399. package/src/foundry/client/dice/_types.d.mts +65 -0
  400. package/src/foundry/client/dice/parser.d.mts +192 -0
  401. package/src/foundry/client/dice/roll.d.mts +663 -0
  402. package/src/foundry/client/dice/terms/coin.d.mts +71 -0
  403. package/src/foundry/client/dice/terms/dice.d.mts +424 -0
  404. package/src/foundry/client/dice/terms/die.d.mts +248 -0
  405. package/src/foundry/client/dice/terms/fate.d.mts +57 -0
  406. package/src/foundry/client/dice/terms/function.d.mts +106 -0
  407. package/src/foundry/client/dice/terms/numeric.d.mts +54 -0
  408. package/src/foundry/client/dice/terms/operator.d.mts +55 -0
  409. package/src/foundry/client/dice/terms/parenthetical.d.mts +104 -0
  410. package/src/foundry/client/dice/terms/pool.d.mts +272 -0
  411. package/src/foundry/client/dice/terms/string.d.mts +34 -0
  412. package/src/foundry/client/dice/terms/term.d.mts +178 -0
  413. package/src/foundry/client/documents/_module.d.mts +51 -0
  414. package/src/foundry/client/documents/_types.d.mts +134 -0
  415. package/src/foundry/client/documents/abstract/_module.d.mts +10 -0
  416. package/src/foundry/client/documents/abstract/canvas-document.d.mts +67 -0
  417. package/src/foundry/client/documents/abstract/client-document.d.mts +659 -0
  418. package/src/foundry/client/documents/abstract/directory-collection-mixin.d.mts +132 -0
  419. package/src/foundry/client/documents/abstract/document-collection.d.mts +243 -0
  420. package/src/foundry/client/documents/abstract/world-collection.d.mts +192 -0
  421. package/src/foundry/client/documents/active-effect.d.mts +977 -0
  422. package/src/foundry/client/documents/actor-delta.d.mts +769 -0
  423. package/src/foundry/client/documents/actor.d.mts +1036 -0
  424. package/src/foundry/client/documents/adventure.d.mts +569 -0
  425. package/src/foundry/client/documents/ambient-light.d.mts +457 -0
  426. package/src/foundry/client/documents/ambient-sound.d.mts +511 -0
  427. package/src/foundry/client/documents/card.d.mts +679 -0
  428. package/src/foundry/client/documents/cards.d.mts +1017 -0
  429. package/src/foundry/client/documents/chat-message.d.mts +831 -0
  430. package/src/foundry/client/documents/collections/_module.d.mts +23 -0
  431. package/src/foundry/client/documents/collections/actors.d.mts +51 -0
  432. package/src/foundry/client/documents/collections/card-stacks.d.mts +25 -0
  433. package/src/foundry/client/documents/collections/chat-messages.d.mts +48 -0
  434. package/src/foundry/client/documents/collections/combat-encounters.d.mts +56 -0
  435. package/src/foundry/client/documents/collections/compendium-collection.d.mts +491 -0
  436. package/src/foundry/client/documents/collections/compendium-folders.d.mts +30 -0
  437. package/src/foundry/client/documents/collections/compendium-packs.d.mts +30 -0
  438. package/src/foundry/client/documents/collections/fog-explorations.d.mts +32 -0
  439. package/src/foundry/client/documents/collections/folders.d.mts +49 -0
  440. package/src/foundry/client/documents/collections/items.d.mts +27 -0
  441. package/src/foundry/client/documents/collections/journal.d.mts +78 -0
  442. package/src/foundry/client/documents/collections/macros.d.mts +34 -0
  443. package/src/foundry/client/documents/collections/playlists.d.mts +45 -0
  444. package/src/foundry/client/documents/collections/roll-tables.d.mts +34 -0
  445. package/src/foundry/client/documents/collections/scenes.d.mts +63 -0
  446. package/src/foundry/client/documents/collections/users.d.mts +72 -0
  447. package/src/foundry/client/documents/collections/world-settings.d.mts +44 -0
  448. package/src/foundry/client/documents/combat.d.mts +1056 -0
  449. package/src/foundry/client/documents/combatant-group.d.mts +509 -0
  450. package/src/foundry/client/documents/combatant.d.mts +609 -0
  451. package/src/foundry/client/documents/drawing.d.mts +580 -0
  452. package/src/foundry/client/documents/fog-exploration.d.mts +495 -0
  453. package/src/foundry/client/documents/folder.d.mts +659 -0
  454. package/src/foundry/client/documents/item.d.mts +736 -0
  455. package/src/foundry/client/documents/journal-entry-category.d.mts +413 -0
  456. package/src/foundry/client/documents/journal-entry-page.d.mts +839 -0
  457. package/src/foundry/client/documents/journal-entry.d.mts +694 -0
  458. package/src/foundry/client/documents/macro.d.mts +610 -0
  459. package/src/foundry/client/documents/measured-template.d.mts +509 -0
  460. package/src/foundry/client/documents/note.d.mts +526 -0
  461. package/src/foundry/client/documents/playlist-sound.d.mts +558 -0
  462. package/src/foundry/client/documents/playlist.d.mts +830 -0
  463. package/src/foundry/client/documents/region-behavior.d.mts +524 -0
  464. package/src/foundry/client/documents/region.d.mts +898 -0
  465. package/src/foundry/client/documents/roll-table.d.mts +916 -0
  466. package/src/foundry/client/documents/scene.d.mts +1441 -0
  467. package/src/foundry/client/documents/setting.d.mts +449 -0
  468. package/src/foundry/client/documents/table-result.d.mts +526 -0
  469. package/src/foundry/client/documents/tile.d.mts +524 -0
  470. package/src/foundry/client/documents/token.d.mts +2168 -0
  471. package/src/foundry/client/documents/user.d.mts +785 -0
  472. package/src/foundry/client/documents/wall.d.mts +599 -0
  473. package/src/foundry/client/game.d.mts +210 -149
  474. package/src/foundry/client/head.d.mts +13 -11
  475. package/src/foundry/client/helpers/_module.d.mts +16 -0
  476. package/src/foundry/client/helpers/_types.d.mts +17 -0
  477. package/src/foundry/client/helpers/client-issues.d.mts +125 -0
  478. package/src/foundry/client/helpers/client-settings.d.mts +480 -0
  479. package/src/foundry/client/helpers/document-index.d.mts +173 -0
  480. package/src/foundry/client/helpers/hooks.d.mts +171 -0
  481. package/src/foundry/client/helpers/interaction/_module.d.mts +11 -0
  482. package/src/foundry/client/helpers/interaction/client-keybindings.d.mts +433 -0
  483. package/src/foundry/client/helpers/interaction/clipboard-helper.d.mts +20 -0
  484. package/src/foundry/client/helpers/interaction/gamepad-manager.d.mts +61 -0
  485. package/src/foundry/client/helpers/interaction/keyboard-manager.d.mts +331 -0
  486. package/src/foundry/client/helpers/interaction/mouse-manager.d.mts +42 -0
  487. package/src/foundry/client/helpers/interaction/tooltip-manager.d.mts +268 -0
  488. package/src/foundry/client/helpers/localization.d.mts +240 -0
  489. package/src/foundry/client/helpers/media/_module.d.mts +8 -0
  490. package/src/foundry/client/helpers/media/compendium-art.d.mts +107 -0
  491. package/src/foundry/client/helpers/media/image-helper.d.mts +235 -0
  492. package/src/foundry/client/helpers/media/video-helper.d.mts +161 -0
  493. package/src/foundry/client/helpers/socket-interface.d.mts +74 -0
  494. package/src/foundry/client/helpers/time.d.mts +87 -0
  495. package/src/foundry/client/helpers/workers.d.mts +145 -0
  496. package/src/foundry/client/hooks.d.mts +1156 -948
  497. package/src/foundry/client/index.d.mts +0 -7
  498. package/src/foundry/client/nue/tour.d.mts +280 -0
  499. package/src/foundry/client/nue/tours/canvas-tour.d.mts +15 -0
  500. package/src/foundry/client/nue/tours/setup-tour.d.mts +31 -0
  501. package/src/foundry/client/nue/tours/sidebar-tour.d.mts +13 -0
  502. package/src/foundry/client/packages/_module.d.mts +22 -0
  503. package/src/foundry/client/packages/client-package.d.mts +154 -0
  504. package/src/foundry/client/packages/module.d.mts +87 -0
  505. package/src/foundry/client/packages/system.d.mts +151 -0
  506. package/src/foundry/client/packages/world.d.mts +155 -0
  507. package/src/foundry/client/utils/_module.d.mts +25 -0
  508. package/src/foundry/client/utils/_types.d.mts +3 -0
  509. package/src/foundry/client/utils/helpers.d.mts +213 -0
  510. package/src/foundry/common/_types.d.mts +17 -6
  511. package/src/foundry/common/abstract/_types.d.mts +14 -14
  512. package/src/foundry/common/abstract/backend.d.mts +13 -7
  513. package/src/foundry/common/abstract/data.d.mts +227 -160
  514. package/src/foundry/common/abstract/document.d.mts +688 -531
  515. package/src/foundry/common/abstract/embedded-collection-delta.d.mts +1 -1
  516. package/src/foundry/common/abstract/embedded-collection.d.mts +9 -4
  517. package/src/foundry/common/abstract/singleton-collection.d.mts +1 -1
  518. package/src/foundry/common/abstract/socket.d.mts +1 -1
  519. package/src/foundry/common/abstract/type-data.d.mts +106 -87
  520. package/src/foundry/common/config.d.mts +7 -1
  521. package/src/foundry/common/constants.d.mts +607 -138
  522. package/src/foundry/common/data/_module.d.mts +1 -0
  523. package/src/foundry/common/data/_types.d.mts +14 -13
  524. package/src/foundry/common/data/data.d.mts +73 -34
  525. package/src/foundry/common/data/fields.d.mts +2004 -1092
  526. package/src/foundry/common/data/validation-failure.d.mts +31 -21
  527. package/src/foundry/common/data/validators.d.mts +2 -2
  528. package/src/foundry/common/documents/_module.d.mts +2 -0
  529. package/src/foundry/common/documents/_types.d.mts +89 -97
  530. package/src/foundry/common/documents/active-effect.d.mts +115 -94
  531. package/src/foundry/common/documents/actor-delta.d.mts +168 -95
  532. package/src/foundry/common/documents/actor.d.mts +140 -94
  533. package/src/foundry/common/documents/adventure.d.mts +103 -65
  534. package/src/foundry/common/documents/ambient-light.d.mts +84 -65
  535. package/src/foundry/common/documents/ambient-sound.d.mts +84 -65
  536. package/src/foundry/common/documents/card.d.mts +115 -93
  537. package/src/foundry/common/documents/cards.d.mts +129 -74
  538. package/src/foundry/common/documents/chat-message.d.mts +116 -83
  539. package/src/foundry/common/documents/combat.d.mts +130 -84
  540. package/src/foundry/common/documents/combatant-group.d.mts +328 -0
  541. package/src/foundry/common/documents/combatant.d.mts +113 -79
  542. package/src/foundry/common/documents/drawing.d.mts +107 -77
  543. package/src/foundry/common/documents/fog-exploration.d.mts +106 -70
  544. package/src/foundry/common/documents/folder.d.mts +117 -74
  545. package/src/foundry/common/documents/item.d.mts +129 -83
  546. package/src/foundry/common/documents/journal-entry-category.d.mts +316 -0
  547. package/src/foundry/common/documents/journal-entry-page.d.mts +104 -72
  548. package/src/foundry/common/documents/journal-entry.d.mts +117 -67
  549. package/src/foundry/common/documents/macro.d.mts +135 -86
  550. package/src/foundry/common/documents/measured-template.d.mts +95 -75
  551. package/src/foundry/common/documents/note.d.mts +91 -70
  552. package/src/foundry/common/documents/playlist-sound.d.mts +104 -75
  553. package/src/foundry/common/documents/playlist.d.mts +127 -77
  554. package/src/foundry/common/documents/region-behavior.d.mts +94 -73
  555. package/src/foundry/common/documents/region.d.mts +87 -69
  556. package/src/foundry/common/documents/roll-table.d.mts +90 -41
  557. package/src/foundry/common/documents/scene.d.mts +222 -71
  558. package/src/foundry/common/documents/setting.d.mts +113 -67
  559. package/src/foundry/common/documents/table-result.d.mts +127 -79
  560. package/src/foundry/common/documents/tile.d.mts +97 -68
  561. package/src/foundry/common/documents/token.d.mts +214 -88
  562. package/src/foundry/common/documents/user.d.mts +116 -114
  563. package/src/foundry/common/documents/wall.d.mts +64 -44
  564. package/src/foundry/common/grid/_types.d.mts +20 -17
  565. package/src/foundry/common/grid/base.d.mts +110 -21
  566. package/src/foundry/common/grid/grid-hex.d.mts +1 -0
  567. package/src/foundry/common/grid/gridless.d.mts +4 -3
  568. package/src/foundry/common/grid/hexagonal.d.mts +32 -6
  569. package/src/foundry/common/grid/square.d.mts +5 -4
  570. package/src/foundry/common/packages/base-module.d.mts +0 -1
  571. package/src/foundry/common/packages/base-package.d.mts +42 -17
  572. package/src/foundry/common/packages/base-system.d.mts +39 -1
  573. package/src/foundry/common/packages/base-world.d.mts +13 -4
  574. package/src/foundry/common/packages/sub-types.d.mts +7 -9
  575. package/src/foundry/common/primitives/array.d.mts +1 -1
  576. package/src/foundry/common/primitives/math.d.mts +3 -1
  577. package/src/foundry/common/primitives/number.d.mts +1 -1
  578. package/src/foundry/common/primitives/string.d.mts +1 -1
  579. package/src/foundry/common/prosemirror/_module.d.mts +44 -28
  580. package/src/foundry/common/prosemirror/_types.d.mts +16 -11
  581. package/src/foundry/common/prosemirror/click-handler.d.mts +8 -5
  582. package/src/foundry/common/prosemirror/content-link-plugin.d.mts +28 -8
  583. package/src/foundry/common/prosemirror/dirty-plugin.d.mts +2 -2
  584. package/src/foundry/common/prosemirror/dom-parser.d.mts +4 -4
  585. package/src/foundry/common/prosemirror/dropdown.d.mts +51 -19
  586. package/src/foundry/common/prosemirror/extensions.d.mts +5 -2
  587. package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +43 -56
  588. package/src/foundry/common/prosemirror/image-plugin.d.mts +23 -18
  589. package/src/foundry/common/prosemirror/input-rules.d.mts +20 -15
  590. package/src/foundry/common/prosemirror/keymaps.d.mts +24 -21
  591. package/src/foundry/common/prosemirror/menu.d.mts +124 -85
  592. package/src/foundry/common/prosemirror/paste-transformer.d.mts +7 -13
  593. package/src/foundry/common/prosemirror/plugin.d.mts +11 -7
  594. package/src/foundry/common/prosemirror/schema/_types.d.mts +16 -0
  595. package/src/foundry/common/prosemirror/schema/attribute-capture.d.mts +20 -19
  596. package/src/foundry/common/prosemirror/schema/core.d.mts +7 -45
  597. package/src/foundry/common/prosemirror/schema/image-link-node.d.mts +15 -9
  598. package/src/foundry/common/prosemirror/schema/image-node.d.mts +11 -7
  599. package/src/foundry/common/prosemirror/schema/link-mark.d.mts +16 -11
  600. package/src/foundry/common/prosemirror/schema/lists.d.mts +5 -27
  601. package/src/foundry/common/prosemirror/schema/marks.d.mts +19 -44
  602. package/src/foundry/common/prosemirror/schema/other.d.mts +43 -149
  603. package/src/foundry/common/prosemirror/schema/schema-definition.d.mts +30 -9
  604. package/src/foundry/common/prosemirror/schema/secret-node.d.mts +8 -8
  605. package/src/foundry/common/prosemirror/schema/tables.d.mts +18 -90
  606. package/src/foundry/common/prosemirror/schema/utils.d.mts +3 -1
  607. package/src/foundry/common/prosemirror/schema.d.mts +51 -16
  608. package/src/foundry/common/prosemirror/string-serializer.d.mts +59 -40
  609. package/src/foundry/common/prosemirror/util.d.mts +38 -18
  610. package/src/foundry/common/utils/_module.d.mts +5 -2
  611. package/src/foundry/common/utils/_types.d.mts +27 -0
  612. package/src/foundry/common/utils/bitmask.d.mts +8 -7
  613. package/src/foundry/common/utils/collection.d.mts +7 -7
  614. package/src/foundry/common/utils/color.d.mts +11 -2
  615. package/src/foundry/common/utils/event-emitter.d.mts +12 -17
  616. package/src/foundry/common/utils/geometry.d.mts +13 -10
  617. package/src/foundry/common/utils/helpers.d.mts +320 -264
  618. package/src/foundry/common/utils/http.d.mts +36 -28
  619. package/src/foundry/common/utils/iterable-weak-map.d.mts +43 -30
  620. package/src/foundry/common/utils/iterable-weak-set.d.mts +21 -8
  621. package/src/foundry/common/utils/logging.d.mts +16 -9
  622. package/src/foundry/common/utils/semaphore.d.mts +19 -29
  623. package/src/foundry/common/utils/string-tree.d.mts +35 -32
  624. package/src/foundry/common/utils/word-tree.d.mts +53 -16
  625. package/src/foundry/index.d.mts +0 -2
  626. package/src/foundry/public/scripts/clipper/clipper.d.mts +3 -2
  627. package/src/foundry/public/scripts/index.d.mts +1 -0
  628. package/src/foundry/public/scripts/ktx2/basis_transcoder.d.mts +5 -0
  629. package/src/foundry/public/scripts/ktx2/index.d.mts +2 -0
  630. package/src/foundry/public/scripts/ktx2/pixi-ktx2.min.d.mts +5 -0
  631. package/src/foundry/public/scripts/workers/image-compressor.d.mts +12 -4
  632. package/src/types/augments/particles.d.mts +1 -1
  633. package/src/types/augments/pixi.d.mts +20 -11
  634. package/src/types/augments/smooth.d.mts +1 -1
  635. package/src/types/augments/socket.io-client.d.mts +0 -1
  636. package/src/types/augments/tinyMCE.d.mts +1 -1
  637. package/src/types/config.d.mts +3 -6
  638. package/src/types/documentConfiguration.d.mts +22 -21
  639. package/src/types/lib.d.mts +1 -1
  640. package/src/types/workers/image-compressor.d.mts +102 -67
  641. package/src/utils/index.d.mts +240 -117
  642. package/tsconfig.base.json +24 -0
  643. package/tsconfig.json +7 -24
  644. package/src/foundry/client/apps/app.d.mts +0 -609
  645. package/src/foundry/client/apps/av/av-config.d.mts +0 -98
  646. package/src/foundry/client/apps/av/camera-popout.d.mts +0 -49
  647. package/src/foundry/client/apps/av/cameras.d.mts +0 -194
  648. package/src/foundry/client/apps/av/index.d.mts +0 -3
  649. package/src/foundry/client/apps/dialogs/folder-export.d.mts +0 -16
  650. package/src/foundry/client/apps/dialogs/index.d.mts +0 -1
  651. package/src/foundry/client/apps/dice/dice-config.d.mts +0 -59
  652. package/src/foundry/client/apps/dice/index.d.mts +0 -1
  653. package/src/foundry/client/apps/form.d.mts +0 -511
  654. package/src/foundry/client/apps/forms/actor.d.mts +0 -186
  655. package/src/foundry/client/apps/forms/adventure-exporter.d.mts +0 -137
  656. package/src/foundry/client/apps/forms/adventure-importer.d.mts +0 -93
  657. package/src/foundry/client/apps/forms/base-sheet.d.mts +0 -53
  658. package/src/foundry/client/apps/forms/card-config.d.mts +0 -56
  659. package/src/foundry/client/apps/forms/cards-config.d.mts +0 -141
  660. package/src/foundry/client/apps/forms/combat-config.d.mts +0 -51
  661. package/src/foundry/client/apps/forms/combatant-config.d.mts +0 -45
  662. package/src/foundry/client/apps/forms/default-sheets-config.d.mts +0 -46
  663. package/src/foundry/client/apps/forms/effect-config.d.mts +0 -77
  664. package/src/foundry/client/apps/forms/folder-config.d.mts +0 -60
  665. package/src/foundry/client/apps/forms/fonts.d.mts +0 -175
  666. package/src/foundry/client/apps/forms/grid-config.d.mts +0 -139
  667. package/src/foundry/client/apps/forms/image-popout.d.mts +0 -185
  668. package/src/foundry/client/apps/forms/index.d.mts +0 -26
  669. package/src/foundry/client/apps/forms/item.d.mts +0 -58
  670. package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +0 -315
  671. package/src/foundry/client/apps/forms/journal-sheet.d.mts +0 -322
  672. package/src/foundry/client/apps/forms/macro-config.d.mts +0 -59
  673. package/src/foundry/client/apps/forms/measure-template.d.mts +0 -57
  674. package/src/foundry/client/apps/forms/ownership.d.mts +0 -66
  675. package/src/foundry/client/apps/forms/playlist-config.d.mts +0 -44
  676. package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +0 -63
  677. package/src/foundry/client/apps/forms/roll-table-config.d.mts +0 -161
  678. package/src/foundry/client/apps/forms/scene-config.d.mts +0 -156
  679. package/src/foundry/client/apps/forms/sheet-config.d.mts +0 -191
  680. package/src/foundry/client/apps/forms/user-config.d.mts +0 -72
  681. package/src/foundry/client/apps/hud/chatbubble.d.mts +0 -125
  682. package/src/foundry/client/apps/hud/container.d.mts +0 -54
  683. package/src/foundry/client/apps/hud/controls.d.mts +0 -211
  684. package/src/foundry/client/apps/hud/hotbar.d.mts +0 -174
  685. package/src/foundry/client/apps/hud/hud.d.mts +0 -87
  686. package/src/foundry/client/apps/hud/index.d.mts +0 -9
  687. package/src/foundry/client/apps/hud/menu.d.mts +0 -84
  688. package/src/foundry/client/apps/hud/navigation.d.mts +0 -121
  689. package/src/foundry/client/apps/hud/pause.d.mts +0 -37
  690. package/src/foundry/client/apps/hud/players.d.mts +0 -87
  691. package/src/foundry/client/apps/i18n.d.mts +0 -225
  692. package/src/foundry/client/apps/index.d.mts +0 -11
  693. package/src/foundry/client/apps/placeables/drawing-config.d.mts +0 -88
  694. package/src/foundry/client/apps/placeables/drawing-hud.d.mts +0 -31
  695. package/src/foundry/client/apps/placeables/index.d.mts +0 -8
  696. package/src/foundry/client/apps/placeables/note-config.d.mts +0 -75
  697. package/src/foundry/client/apps/placeables/tile-config.d.mts +0 -67
  698. package/src/foundry/client/apps/placeables/tile-hud.d.mts +0 -42
  699. package/src/foundry/client/apps/placeables/token-config.d.mts +0 -277
  700. package/src/foundry/client/apps/placeables/token-hud.d.mts +0 -139
  701. package/src/foundry/client/apps/placeables/wall-config.d.mts +0 -67
  702. package/src/foundry/client/apps/sidebar/apps/chat-popout.d.mts +0 -39
  703. package/src/foundry/client/apps/sidebar/apps/client-settings.d.mts +0 -98
  704. package/src/foundry/client/apps/sidebar/apps/compendium.d.mts +0 -95
  705. package/src/foundry/client/apps/sidebar/apps/index.d.mts +0 -10
  706. package/src/foundry/client/apps/sidebar/apps/invitation-links.d.mts +0 -32
  707. package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +0 -181
  708. package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +0 -135
  709. package/src/foundry/client/apps/sidebar/apps/permission-config.d.mts +0 -72
  710. package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +0 -126
  711. package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +0 -54
  712. package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +0 -60
  713. package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +0 -291
  714. package/src/foundry/client/apps/sidebar/document-directory.d.mts +0 -177
  715. package/src/foundry/client/apps/sidebar/index.d.mts +0 -7
  716. package/src/foundry/client/apps/sidebar/package-configuration.d.mts +0 -86
  717. package/src/foundry/client/apps/sidebar/sidebar-tab.d.mts +0 -80
  718. package/src/foundry/client/apps/sidebar/sidebar.d.mts +0 -100
  719. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +0 -29
  720. package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +0 -21
  721. package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +0 -376
  722. package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +0 -165
  723. package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +0 -120
  724. package/src/foundry/client/apps/sidebar/tabs/index.d.mts +0 -12
  725. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +0 -23
  726. package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +0 -22
  727. package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +0 -25
  728. package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +0 -283
  729. package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +0 -22
  730. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +0 -43
  731. package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +0 -90
  732. package/src/foundry/client/apps/templates.d.mts +0 -486
  733. package/src/foundry/client/av/clients/index.d.mts +0 -1
  734. package/src/foundry/client/av/index.d.mts +0 -4
  735. package/src/foundry/client/core/clipboard.d.mts +0 -20
  736. package/src/foundry/client/core/document-index.d.mts +0 -126
  737. package/src/foundry/client/core/gamepad.d.mts +0 -76
  738. package/src/foundry/client/core/hooks.d.mts +0 -130
  739. package/src/foundry/client/core/image.d.mts +0 -240
  740. package/src/foundry/client/core/index.d.mts +0 -21
  741. package/src/foundry/client/core/issues.d.mts +0 -107
  742. package/src/foundry/client/core/keybindings.d.mts +0 -413
  743. package/src/foundry/client/core/keyboard.d.mts +0 -271
  744. package/src/foundry/client/core/mouse.d.mts +0 -28
  745. package/src/foundry/client/core/nue.d.mts +0 -38
  746. package/src/foundry/client/core/packages.d.mts +0 -538
  747. package/src/foundry/client/core/settings.d.mts +0 -386
  748. package/src/foundry/client/core/socket.d.mts +0 -62
  749. package/src/foundry/client/core/sorting.d.mts +0 -76
  750. package/src/foundry/client/core/time.d.mts +0 -76
  751. package/src/foundry/client/core/tooltip.d.mts +0 -198
  752. package/src/foundry/client/core/tour.d.mts +0 -288
  753. package/src/foundry/client/core/tours.d.mts +0 -22
  754. package/src/foundry/client/core/utils.d.mts +0 -94
  755. package/src/foundry/client/core/video.d.mts +0 -161
  756. package/src/foundry/client/core/workers.d.mts +0 -135
  757. package/src/foundry/client/data/abstract/canvas-document.d.mts +0 -74
  758. package/src/foundry/client/data/abstract/client-document.d.mts +0 -687
  759. package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +0 -119
  760. package/src/foundry/client/data/abstract/document-collection.d.mts +0 -242
  761. package/src/foundry/client/data/abstract/index.d.mts +0 -5
  762. package/src/foundry/client/data/abstract/world-collection.d.mts +0 -157
  763. package/src/foundry/client/data/collections/actors.d.mts +0 -51
  764. package/src/foundry/client/data/collections/cards.d.mts +0 -25
  765. package/src/foundry/client/data/collections/combats.d.mts +0 -56
  766. package/src/foundry/client/data/collections/compendium-collection.d.mts +0 -474
  767. package/src/foundry/client/data/collections/compendium-folders.d.mts +0 -27
  768. package/src/foundry/client/data/collections/compendium-packs.d.mts +0 -27
  769. package/src/foundry/client/data/collections/fog.d.mts +0 -30
  770. package/src/foundry/client/data/collections/folder.d.mts +0 -47
  771. package/src/foundry/client/data/collections/index.d.mts +0 -17
  772. package/src/foundry/client/data/collections/items.d.mts +0 -27
  773. package/src/foundry/client/data/collections/journal.d.mts +0 -79
  774. package/src/foundry/client/data/collections/macros.d.mts +0 -34
  775. package/src/foundry/client/data/collections/messages.d.mts +0 -48
  776. package/src/foundry/client/data/collections/playlists.d.mts +0 -44
  777. package/src/foundry/client/data/collections/scenes.d.mts +0 -65
  778. package/src/foundry/client/data/collections/settings.d.mts +0 -42
  779. package/src/foundry/client/data/collections/tables.d.mts +0 -34
  780. package/src/foundry/client/data/collections/users.d.mts +0 -62
  781. package/src/foundry/client/data/documents/active-effect.d.mts +0 -953
  782. package/src/foundry/client/data/documents/actor-delta.d.mts +0 -743
  783. package/src/foundry/client/data/documents/actor.d.mts +0 -980
  784. package/src/foundry/client/data/documents/adventure.d.mts +0 -539
  785. package/src/foundry/client/data/documents/ambient-light.d.mts +0 -449
  786. package/src/foundry/client/data/documents/ambient-sound.d.mts +0 -490
  787. package/src/foundry/client/data/documents/card.d.mts +0 -659
  788. package/src/foundry/client/data/documents/cards.d.mts +0 -1013
  789. package/src/foundry/client/data/documents/chat-message.d.mts +0 -764
  790. package/src/foundry/client/data/documents/combat.d.mts +0 -959
  791. package/src/foundry/client/data/documents/combatant.d.mts +0 -597
  792. package/src/foundry/client/data/documents/drawing.d.mts +0 -563
  793. package/src/foundry/client/data/documents/fog-exploration.d.mts +0 -458
  794. package/src/foundry/client/data/documents/folder.d.mts +0 -574
  795. package/src/foundry/client/data/documents/index.d.mts +0 -32
  796. package/src/foundry/client/data/documents/item.d.mts +0 -725
  797. package/src/foundry/client/data/documents/journal-entry-page.d.mts +0 -798
  798. package/src/foundry/client/data/documents/journal-entry.d.mts +0 -683
  799. package/src/foundry/client/data/documents/macro.d.mts +0 -591
  800. package/src/foundry/client/data/documents/measured-template.d.mts +0 -505
  801. package/src/foundry/client/data/documents/note.d.mts +0 -524
  802. package/src/foundry/client/data/documents/playlist-sound.d.mts +0 -530
  803. package/src/foundry/client/data/documents/playlist.d.mts +0 -798
  804. package/src/foundry/client/data/documents/region-behavior.d.mts +0 -508
  805. package/src/foundry/client/data/documents/region.d.mts +0 -786
  806. package/src/foundry/client/data/documents/scene.d.mts +0 -1101
  807. package/src/foundry/client/data/documents/setting.d.mts +0 -437
  808. package/src/foundry/client/data/documents/table-result.d.mts +0 -504
  809. package/src/foundry/client/data/documents/table.d.mts +0 -905
  810. package/src/foundry/client/data/documents/tile.d.mts +0 -519
  811. package/src/foundry/client/data/documents/token.d.mts +0 -1371
  812. package/src/foundry/client/data/documents/user.d.mts +0 -633
  813. package/src/foundry/client/data/documents/wall.d.mts +0 -566
  814. package/src/foundry/client/data/index.d.mts +0 -3
  815. package/src/foundry/client/pixi/board.d.mts +0 -827
  816. package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +0 -155
  817. package/src/foundry/client/pixi/core/containers/cached-container.d.mts +0 -136
  818. package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +0 -34
  819. package/src/foundry/client/pixi/core/containers/index.d.mts +0 -8
  820. package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +0 -72
  821. package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +0 -53
  822. package/src/foundry/client/pixi/core/containers/quadtree.d.mts +0 -258
  823. package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +0 -369
  824. package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +0 -39
  825. package/src/foundry/client/pixi/core/index.d.mts +0 -4
  826. package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +0 -242
  827. package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +0 -128
  828. package/src/foundry/client/pixi/core/interaction/index.d.mts +0 -8
  829. package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +0 -358
  830. package/src/foundry/client/pixi/core/interaction/ping.d.mts +0 -89
  831. package/src/foundry/client/pixi/core/interaction/pings/chevron.d.mts +0 -86
  832. package/src/foundry/client/pixi/core/interaction/pings/index.d.mts +0 -2
  833. package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +0 -172
  834. package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +0 -180
  835. package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +0 -82
  836. package/src/foundry/client/pixi/core/interaction/targets.d.mts +0 -48
  837. package/src/foundry/client/pixi/core/loader.d.mts +0 -256
  838. package/src/foundry/client/pixi/core/shapes/index.d.mts +0 -5
  839. package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +0 -144
  840. package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +0 -138
  841. package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +0 -45
  842. package/src/foundry/client/pixi/core/shapes/ray.d.mts +0 -189
  843. package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +0 -344
  844. package/src/foundry/client/pixi/extensions/circle.d.mts +0 -143
  845. package/src/foundry/client/pixi/extensions/graphics.d.mts +0 -45
  846. package/src/foundry/client/pixi/extensions/index.d.mts +0 -5
  847. package/src/foundry/client/pixi/extensions/observable-transform.d.mts +0 -38
  848. package/src/foundry/client/pixi/extensions/polygon.d.mts +0 -163
  849. package/src/foundry/client/pixi/extensions/rectangle.d.mts +0 -274
  850. package/src/foundry/client/pixi/groups/effects.d.mts +0 -237
  851. package/src/foundry/client/pixi/groups/environment.d.mts +0 -129
  852. package/src/foundry/client/pixi/groups/hidden.d.mts +0 -56
  853. package/src/foundry/client/pixi/groups/index.d.mts +0 -7
  854. package/src/foundry/client/pixi/groups/interface.d.mts +0 -98
  855. package/src/foundry/client/pixi/groups/overlay.d.mts +0 -30
  856. package/src/foundry/client/pixi/groups/primary.d.mts +0 -222
  857. package/src/foundry/client/pixi/groups/rendered.d.mts +0 -30
  858. package/src/foundry/client/pixi/index.d.mts +0 -10
  859. package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +0 -91
  860. package/src/foundry/client/pixi/layers/base/index.d.mts +0 -3
  861. package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +0 -163
  862. package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +0 -677
  863. package/src/foundry/client/pixi/layers/controls/cursor.d.mts +0 -42
  864. package/src/foundry/client/pixi/layers/controls/door.d.mts +0 -89
  865. package/src/foundry/client/pixi/layers/controls/index.d.mts +0 -4
  866. package/src/foundry/client/pixi/layers/controls/layer.d.mts +0 -274
  867. package/src/foundry/client/pixi/layers/controls/ruler.d.mts +0 -500
  868. package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +0 -47
  869. package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +0 -41
  870. package/src/foundry/client/pixi/layers/effects/darkness-effects.d.mts +0 -33
  871. package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +0 -151
  872. package/src/foundry/client/pixi/layers/effects/index.d.mts +0 -7
  873. package/src/foundry/client/pixi/layers/effects/visibility.d.mts +0 -245
  874. package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +0 -56
  875. package/src/foundry/client/pixi/layers/effects/weather/particles/index.d.mts +0 -2
  876. package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +0 -49
  877. package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +0 -299
  878. package/src/foundry/client/pixi/layers/grid/highlight.d.mts +0 -43
  879. package/src/foundry/client/pixi/layers/grid/index.d.mts +0 -3
  880. package/src/foundry/client/pixi/layers/grid/layer.d.mts +0 -269
  881. package/src/foundry/client/pixi/layers/grid/mesh.d.mts +0 -94
  882. package/src/foundry/client/pixi/layers/index.d.mts +0 -6
  883. package/src/foundry/client/pixi/layers/masks/depth.d.mts +0 -67
  884. package/src/foundry/client/pixi/layers/masks/index.d.mts +0 -3
  885. package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +0 -98
  886. package/src/foundry/client/pixi/layers/masks/vision.d.mts +0 -202
  887. package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +0 -112
  888. package/src/foundry/client/pixi/layers/placeables/index.d.mts +0 -9
  889. package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +0 -81
  890. package/src/foundry/client/pixi/layers/placeables/notes.d.mts +0 -127
  891. package/src/foundry/client/pixi/layers/placeables/regions.d.mts +0 -113
  892. package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +0 -334
  893. package/src/foundry/client/pixi/layers/placeables/templates.d.mts +0 -68
  894. package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +0 -125
  895. package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +0 -210
  896. package/src/foundry/client/pixi/layers/placeables/walls.d.mts +0 -206
  897. package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +0 -192
  898. package/src/foundry/client/pixi/perception/detection-mode.d.mts +0 -286
  899. package/src/foundry/client/pixi/perception/fog.d.mts +0 -154
  900. package/src/foundry/client/pixi/perception/index.d.mts +0 -6
  901. package/src/foundry/client/pixi/perception/perception-manager.d.mts +0 -167
  902. package/src/foundry/client/pixi/perception/vision-mode.d.mts +0 -245
  903. package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +0 -190
  904. package/src/foundry/client/pixi/placeable.d.mts +0 -734
  905. package/src/foundry/client/pixi/placeables/drawing.d.mts +0 -419
  906. package/src/foundry/client/pixi/placeables/index.d.mts +0 -10
  907. package/src/foundry/client/pixi/placeables/light.d.mts +0 -280
  908. package/src/foundry/client/pixi/placeables/note.d.mts +0 -210
  909. package/src/foundry/client/pixi/placeables/primary-canvas-objects/index.d.mts +0 -4
  910. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +0 -199
  911. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-graphics.d.mts +0 -60
  912. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-occludable-object.d.mts +0 -202
  913. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-sprite-mesh.d.mts +0 -194
  914. package/src/foundry/client/pixi/placeables/region.d.mts +0 -286
  915. package/src/foundry/client/pixi/placeables/sound.d.mts +0 -278
  916. package/src/foundry/client/pixi/placeables/template.d.mts +0 -298
  917. package/src/foundry/client/pixi/placeables/tile.d.mts +0 -355
  918. package/src/foundry/client/pixi/placeables/token.d.mts +0 -1293
  919. package/src/foundry/client/pixi/placeables/wall.d.mts +0 -400
  920. package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +0 -134
  921. package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +0 -31
  922. package/src/foundry/client/pixi/webgl/extensions/blend-modes.d.mts +0 -53
  923. package/src/foundry/client/pixi/webgl/extensions/index.d.mts +0 -3
  924. package/src/foundry/client/pixi/webgl/helpers/framebuffer-snapshot.d.mts +0 -31
  925. package/src/foundry/client/pixi/webgl/helpers/index.d.mts +0 -3
  926. package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +0 -80
  927. package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +0 -119
  928. package/src/foundry/client/pixi/webgl/index.d.mts +0 -3
  929. package/src/foundry/client/pixi/webgl/shaders/base-shader-mixin.d.mts +0 -119
  930. package/src/foundry/client/pixi/webgl/shaders/base-shader.d.mts +0 -111
  931. package/src/foundry/client/pixi/webgl/shaders/filters/base-filter.d.mts +0 -48
  932. package/src/foundry/client/pixi/webgl/shaders/filters/base-mask-filter.d.mts +0 -31
  933. package/src/foundry/client/pixi/webgl/shaders/filters/blur.d.mts +0 -187
  934. package/src/foundry/client/pixi/webgl/shaders/filters/effects-masking.d.mts +0 -125
  935. package/src/foundry/client/pixi/webgl/shaders/filters/environment.d.mts +0 -41
  936. package/src/foundry/client/pixi/webgl/shaders/filters/glow-overlay.d.mts +0 -76
  937. package/src/foundry/client/pixi/webgl/shaders/filters/index.d.mts +0 -13
  938. package/src/foundry/client/pixi/webgl/shaders/filters/invisibility.d.mts +0 -30
  939. package/src/foundry/client/pixi/webgl/shaders/filters/outline-overlay.d.mts +0 -87
  940. package/src/foundry/client/pixi/webgl/shaders/filters/transition.d.mts +0 -126
  941. package/src/foundry/client/pixi/webgl/shaders/filters/visibility.d.mts +0 -77
  942. package/src/foundry/client/pixi/webgl/shaders/filters/vision-mask-filter.d.mts +0 -36
  943. package/src/foundry/client/pixi/webgl/shaders/filters/void.d.mts +0 -19
  944. package/src/foundry/client/pixi/webgl/shaders/filters/weather-occlusion-masks.d.mts +0 -57
  945. package/src/foundry/client/pixi/webgl/shaders/fragment-channel-mixin.d.mts +0 -60
  946. package/src/foundry/client/pixi/webgl/shaders/grid/grid.d.mts +0 -113
  947. package/src/foundry/client/pixi/webgl/shaders/grid/index.d.mts +0 -1
  948. package/src/foundry/client/pixi/webgl/shaders/index.d.mts +0 -10
  949. package/src/foundry/client/pixi/webgl/shaders/lighting/background-lighting.d.mts +0 -66
  950. package/src/foundry/client/pixi/webgl/shaders/lighting/base-lighting.d.mts +0 -178
  951. package/src/foundry/client/pixi/webgl/shaders/lighting/coloration-lighting.d.mts +0 -74
  952. package/src/foundry/client/pixi/webgl/shaders/lighting/darkness-lighting.d.mts +0 -74
  953. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/bewitching-wave.d.mts +0 -35
  954. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/black-hole.d.mts +0 -19
  955. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/chroma.d.mts +0 -24
  956. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/emanation.d.mts +0 -24
  957. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/energy-field.d.mts +0 -24
  958. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fairy-light.d.mts +0 -40
  959. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/flame.d.mts +0 -57
  960. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fog.d.mts +0 -24
  961. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/force-grid.d.mts +0 -24
  962. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/ghost-light.d.mts +0 -35
  963. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/hexa-dome.d.mts +0 -24
  964. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/index.d.mts +0 -25
  965. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/light-dome.d.mts +0 -24
  966. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/magical-gloom.d.mts +0 -19
  967. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/pulse.d.mts +0 -46
  968. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/radial-rainbow.d.mts +0 -24
  969. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/revolving-light.d.mts +0 -37
  970. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/roiling-mass.d.mts +0 -19
  971. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/siren-light.d.mts +0 -63
  972. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/smoke-patch.d.mts +0 -35
  973. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/star-light.d.mts +0 -24
  974. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/sunburst.d.mts +0 -35
  975. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/swirling-rainbow.d.mts +0 -24
  976. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/torch.d.mts +0 -47
  977. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/vortex.d.mts +0 -40
  978. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/wave.d.mts +0 -35
  979. package/src/foundry/client/pixi/webgl/shaders/lighting/illumination-lighting.d.mts +0 -80
  980. package/src/foundry/client/pixi/webgl/shaders/lighting/index.d.mts +0 -6
  981. package/src/foundry/client/pixi/webgl/shaders/region/adjust-darkness-level.d.mts +0 -135
  982. package/src/foundry/client/pixi/webgl/shaders/region/base.d.mts +0 -79
  983. package/src/foundry/client/pixi/webgl/shaders/region/highlight.d.mts +0 -95
  984. package/src/foundry/client/pixi/webgl/shaders/region/index.d.mts +0 -3
  985. package/src/foundry/client/pixi/webgl/shaders/samplers/base-sampler.d.mts +0 -205
  986. package/src/foundry/client/pixi/webgl/shaders/samplers/baseline-illumination.d.mts +0 -39
  987. package/src/foundry/client/pixi/webgl/shaders/samplers/color-adjustment.d.mts +0 -118
  988. package/src/foundry/client/pixi/webgl/shaders/samplers/depth.d.mts +0 -107
  989. package/src/foundry/client/pixi/webgl/shaders/samplers/fog-of-war.d.mts +0 -25
  990. package/src/foundry/client/pixi/webgl/shaders/samplers/index.d.mts +0 -8
  991. package/src/foundry/client/pixi/webgl/shaders/samplers/occlusion.d.mts +0 -106
  992. package/src/foundry/client/pixi/webgl/shaders/samplers/primary.d.mts +0 -35
  993. package/src/foundry/client/pixi/webgl/shaders/samplers/token-ring.d.mts +0 -73
  994. package/src/foundry/client/pixi/webgl/shaders/vision/background-vision.d.mts +0 -43
  995. package/src/foundry/client/pixi/webgl/shaders/vision/base-vision.d.mts +0 -33
  996. package/src/foundry/client/pixi/webgl/shaders/vision/coloration-vision.d.mts +0 -42
  997. package/src/foundry/client/pixi/webgl/shaders/vision/effects/amplification.d.mts +0 -33
  998. package/src/foundry/client/pixi/webgl/shaders/vision/effects/index.d.mts +0 -2
  999. package/src/foundry/client/pixi/webgl/shaders/vision/effects/wave.d.mts +0 -61
  1000. package/src/foundry/client/pixi/webgl/shaders/vision/illumination-vision.d.mts +0 -37
  1001. package/src/foundry/client/pixi/webgl/shaders/vision/index.d.mts +0 -5
  1002. package/src/foundry/client/pixi/webgl/shaders/weather/base-weather.d.mts +0 -110
  1003. package/src/foundry/client/pixi/webgl/shaders/weather/effect.d.mts +0 -56
  1004. package/src/foundry/client/pixi/webgl/shaders/weather/fog.d.mts +0 -51
  1005. package/src/foundry/client/pixi/webgl/shaders/weather/index.d.mts +0 -5
  1006. package/src/foundry/client/pixi/webgl/shaders/weather/rain.d.mts +0 -43
  1007. package/src/foundry/client/pixi/webgl/shaders/weather/snow.d.mts +0 -35
  1008. package/src/foundry/client/pixi/workers/index.d.mts +0 -1
  1009. package/src/foundry/client/pixi/workers/texture-worker.d.mts +0 -105
  1010. package/src/foundry/client/tours/canvas-tour.d.mts +0 -9
  1011. package/src/foundry/client/tours/index.d.mts +0 -3
  1012. package/src/foundry/client/tours/setup-tour.d.mts +0 -31
  1013. package/src/foundry/client/tours/sidebar-tour.d.mts +0 -9
  1014. package/src/foundry/client/ui/dialog.d.mts +0 -337
  1015. package/src/foundry/client/ui/drag.d.mts +0 -128
  1016. package/src/foundry/client/ui/dragdrop.d.mts +0 -130
  1017. package/src/foundry/client/ui/editor.d.mts +0 -554
  1018. package/src/foundry/client/ui/filepicker.d.mts +0 -482
  1019. package/src/foundry/client/ui/filter.d.mts +0 -160
  1020. package/src/foundry/client/ui/forms.d.mts +0 -85
  1021. package/src/foundry/client/ui/index.d.mts +0 -10
  1022. package/src/foundry/client/ui/prosemirror.d.mts +0 -179
  1023. package/src/foundry/client/ui/secrets.d.mts +0 -90
  1024. package/src/foundry/client/ui/tabs.d.mts +0 -124
  1025. package/src/foundry/client-esm/_types.d.mts +0 -9
  1026. package/src/foundry/client-esm/applications/_module.d.mts +0 -30
  1027. package/src/foundry/client-esm/applications/api/application.d.mts +0 -939
  1028. package/src/foundry/client-esm/applications/api/category-browser.d.mts +0 -40
  1029. package/src/foundry/client-esm/applications/api/dialog.d.mts +0 -346
  1030. package/src/foundry/client-esm/applications/api/document-sheet.d.mts +0 -193
  1031. package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +0 -210
  1032. package/src/foundry/client-esm/applications/apps/av/camera-popout.d.mts +0 -23
  1033. package/src/foundry/client-esm/applications/apps/av/cameras.d.mts +0 -95
  1034. package/src/foundry/client-esm/applications/apps/combat-tracker-config.d.mts +0 -21
  1035. package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +0 -53
  1036. package/src/foundry/client-esm/applications/apps/document-ownership.d.mts +0 -21
  1037. package/src/foundry/client-esm/applications/apps/document-sheet-config.d.mts +0 -24
  1038. package/src/foundry/client-esm/applications/apps/file-picker.d.mts +0 -410
  1039. package/src/foundry/client-esm/applications/apps/grid-config.d.mts +0 -25
  1040. package/src/foundry/client-esm/applications/apps/image-popout.d.mts +0 -56
  1041. package/src/foundry/client-esm/applications/apps/permission-config.d.mts +0 -60
  1042. package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +0 -110
  1043. package/src/foundry/client-esm/applications/elements/document-tags.d.mts +0 -92
  1044. package/src/foundry/client-esm/applications/elements/file-picker.d.mts +0 -62
  1045. package/src/foundry/client-esm/applications/elements/form-element.d.mts +0 -106
  1046. package/src/foundry/client-esm/applications/elements/multi-select.d.mts +0 -105
  1047. package/src/foundry/client-esm/applications/elements/prosemirror-editor.d.mts +0 -53
  1048. package/src/foundry/client-esm/applications/forms/fields.d.mts +0 -270
  1049. package/src/foundry/client-esm/applications/handlebars.d.mts +0 -3
  1050. package/src/foundry/client-esm/applications/hud/container.d.mts +0 -15
  1051. package/src/foundry/client-esm/applications/hud/drawing-hud.d.mts +0 -19
  1052. package/src/foundry/client-esm/applications/hud/placeable-hud.d.mts +0 -41
  1053. package/src/foundry/client-esm/applications/hud/tile-hud.d.mts +0 -19
  1054. package/src/foundry/client-esm/applications/hud/token-hud.d.mts +0 -20
  1055. package/src/foundry/client-esm/applications/quickstart.d.mts +0 -20
  1056. package/src/foundry/client-esm/applications/settings/_module.d.mts +0 -7
  1057. package/src/foundry/client-esm/applications/settings/config.d.mts +0 -21
  1058. package/src/foundry/client-esm/applications/settings/dependency-resolution.d.mts +0 -19
  1059. package/src/foundry/client-esm/applications/settings/menus/av-config.d.mts +0 -27
  1060. package/src/foundry/client-esm/applications/settings/menus/default-sheets-config.d.mts +0 -19
  1061. package/src/foundry/client-esm/applications/settings/menus/dice-config.d.mts +0 -18
  1062. package/src/foundry/client-esm/applications/settings/menus/font-config.d.mts +0 -43
  1063. package/src/foundry/client-esm/applications/settings/menus/prototype-overrides.d.mts +0 -21
  1064. package/src/foundry/client-esm/applications/settings/menus/ui-config.d.mts +0 -26
  1065. package/src/foundry/client-esm/applications/sheets/_module.d.mts +0 -37
  1066. package/src/foundry/client-esm/applications/sheets/active-effect-config.d.mts +0 -25
  1067. package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +0 -31
  1068. package/src/foundry/client-esm/applications/sheets/adventure-exporter.d.mts +0 -25
  1069. package/src/foundry/client-esm/applications/sheets/adventure-importer.d.mts +0 -25
  1070. package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +0 -80
  1071. package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +0 -52
  1072. package/src/foundry/client-esm/applications/sheets/base-sheet.d.mts +0 -23
  1073. package/src/foundry/client-esm/applications/sheets/card-config.d.mts +0 -25
  1074. package/src/foundry/client-esm/applications/sheets/cards-config.d.mts +0 -49
  1075. package/src/foundry/client-esm/applications/sheets/combatant-config.d.mts +0 -25
  1076. package/src/foundry/client-esm/applications/sheets/drawing-config.d.mts +0 -25
  1077. package/src/foundry/client-esm/applications/sheets/folder-config.d.mts +0 -25
  1078. package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +0 -22
  1079. package/src/foundry/client-esm/applications/sheets/journal/dialog-show.d.mts +0 -19
  1080. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-category-config.d.mts +0 -25
  1081. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-hbs-sheet.d.mts +0 -19
  1082. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-image-sheet.d.mts +0 -18
  1083. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-markdown-sheet.d.mts +0 -18
  1084. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-pdf-sheet.d.mts +0 -18
  1085. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-prose-mirror-sheet.d.mts +0 -18
  1086. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-sheet.d.mts +0 -28
  1087. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-text-sheet.d.mts +0 -18
  1088. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-page-video-sheet.d.mts +0 -18
  1089. package/src/foundry/client-esm/applications/sheets/journal/journal-entry-sheet.d.mts +0 -35
  1090. package/src/foundry/client-esm/applications/sheets/macro-config.d.mts +0 -25
  1091. package/src/foundry/client-esm/applications/sheets/note-config.d.mts +0 -25
  1092. package/src/foundry/client-esm/applications/sheets/playlist-config.d.mts +0 -25
  1093. package/src/foundry/client-esm/applications/sheets/playlist-sound-config.d.mts +0 -25
  1094. package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +0 -37
  1095. package/src/foundry/client-esm/applications/sheets/region-config.d.mts +0 -43
  1096. package/src/foundry/client-esm/applications/sheets/roll-table-config.d.mts +0 -25
  1097. package/src/foundry/client-esm/applications/sheets/roll-table-sheet.d.mts +0 -25
  1098. package/src/foundry/client-esm/applications/sheets/scene-config.d.mts +0 -25
  1099. package/src/foundry/client-esm/applications/sheets/table-result-config.d.mts +0 -25
  1100. package/src/foundry/client-esm/applications/sheets/template-config.d.mts +0 -25
  1101. package/src/foundry/client-esm/applications/sheets/tile-config.d.mts +0 -25
  1102. package/src/foundry/client-esm/applications/sheets/token/mixin.d.mts +0 -28
  1103. package/src/foundry/client-esm/applications/sheets/token/prototype-config.d.mts +0 -18
  1104. package/src/foundry/client-esm/applications/sheets/token/token-config.d.mts +0 -25
  1105. package/src/foundry/client-esm/applications/sheets/user-config.d.mts +0 -44
  1106. package/src/foundry/client-esm/applications/sheets/wall-config.d.mts +0 -25
  1107. package/src/foundry/client-esm/applications/sidebar/apps/chat-popout.d.mts +0 -22
  1108. package/src/foundry/client-esm/applications/sidebar/apps/compendium.d.mts +0 -21
  1109. package/src/foundry/client-esm/applications/sidebar/apps/controls-config.d.mts +0 -20
  1110. package/src/foundry/client-esm/applications/sidebar/apps/folder-export.d.mts +0 -18
  1111. package/src/foundry/client-esm/applications/sidebar/apps/frame-viewer.d.mts +0 -22
  1112. package/src/foundry/client-esm/applications/sidebar/apps/invitation-links.d.mts +0 -17
  1113. package/src/foundry/client-esm/applications/sidebar/apps/module-management.d.mts +0 -21
  1114. package/src/foundry/client-esm/applications/sidebar/apps/support-details.d.mts +0 -17
  1115. package/src/foundry/client-esm/applications/sidebar/apps/tours-management.d.mts +0 -20
  1116. package/src/foundry/client-esm/applications/sidebar/apps/world-config.d.mts +0 -19
  1117. package/src/foundry/client-esm/applications/sidebar/document-directory.d.mts +0 -30
  1118. package/src/foundry/client-esm/applications/sidebar/sidebar-tab.d.mts +0 -86
  1119. package/src/foundry/client-esm/applications/sidebar/sidebar.d.mts +0 -18
  1120. package/src/foundry/client-esm/applications/sidebar/tabs/actor-directory.d.mts +0 -20
  1121. package/src/foundry/client-esm/applications/sidebar/tabs/cards-directory.d.mts +0 -20
  1122. package/src/foundry/client-esm/applications/sidebar/tabs/chat.d.mts +0 -19
  1123. package/src/foundry/client-esm/applications/sidebar/tabs/combat-tracker.d.mts +0 -260
  1124. package/src/foundry/client-esm/applications/sidebar/tabs/compendium-directory.d.mts +0 -19
  1125. package/src/foundry/client-esm/applications/sidebar/tabs/item-directory.d.mts +0 -20
  1126. package/src/foundry/client-esm/applications/sidebar/tabs/journal-directory.d.mts +0 -20
  1127. package/src/foundry/client-esm/applications/sidebar/tabs/macro-directory.d.mts +0 -20
  1128. package/src/foundry/client-esm/applications/sidebar/tabs/playlist-directory.d.mts +0 -20
  1129. package/src/foundry/client-esm/applications/sidebar/tabs/roll-table-directory.d.mts +0 -20
  1130. package/src/foundry/client-esm/applications/sidebar/tabs/scene-directory.d.mts +0 -20
  1131. package/src/foundry/client-esm/applications/sidebar/tabs/settings.d.mts +0 -18
  1132. package/src/foundry/client-esm/applications/ui/game-pause.d.mts +0 -22
  1133. package/src/foundry/client-esm/applications/ui/hotbar.d.mts +0 -29
  1134. package/src/foundry/client-esm/applications/ui/main-menu.d.mts +0 -27
  1135. package/src/foundry/client-esm/applications/ui/players.d.mts +0 -26
  1136. package/src/foundry/client-esm/applications/ui/region-legend.d.mts +0 -57
  1137. package/src/foundry/client-esm/applications/ui/scene-controls.d.mts +0 -20
  1138. package/src/foundry/client-esm/applications/ui/scene-navigation.d.mts +0 -28
  1139. package/src/foundry/client-esm/applications/ux/context-menu.d.mts +0 -379
  1140. package/src/foundry/client-esm/applications/ux/drag-drop.d.mts +0 -21
  1141. package/src/foundry/client-esm/applications/ux/draggable.d.mts +0 -9
  1142. package/src/foundry/client-esm/applications/ux/form-data-extended.d.mts +0 -17
  1143. package/src/foundry/client-esm/applications/ux/html-secret.d.mts +0 -21
  1144. package/src/foundry/client-esm/applications/ux/prosemirror-editor.d.mts +0 -9
  1145. package/src/foundry/client-esm/applications/ux/search-filter.d.mts +0 -9
  1146. package/src/foundry/client-esm/applications/ux/tabs.d.mts +0 -29
  1147. package/src/foundry/client-esm/applications/ux/text-editor.d.mts +0 -9
  1148. package/src/foundry/client-esm/appv1/api/application-v1.d.mts +0 -5
  1149. package/src/foundry/client-esm/appv1/api/dialog-v1.d.mts +0 -5
  1150. package/src/foundry/client-esm/appv1/api/document-sheet-v1.d.mts +0 -5
  1151. package/src/foundry/client-esm/appv1/api/form-application-v1.d.mts +0 -5
  1152. package/src/foundry/client-esm/appv1/sheets/actor-sheet.d.mts +0 -5
  1153. package/src/foundry/client-esm/appv1/sheets/adventure-importer.d.mts +0 -5
  1154. package/src/foundry/client-esm/appv1/sheets/item-sheet.d.mts +0 -5
  1155. package/src/foundry/client-esm/appv1/sheets/journal-page-sheet.d.mts +0 -7
  1156. package/src/foundry/client-esm/appv1/sheets/journal-sheet.d.mts +0 -5
  1157. package/src/foundry/client-esm/audio/_types.d.mts +0 -18
  1158. package/src/foundry/client-esm/audio/biquad.d.mts +0 -101
  1159. package/src/foundry/client-esm/audio/cache.d.mts +0 -79
  1160. package/src/foundry/client-esm/audio/convolver.d.mts +0 -93
  1161. package/src/foundry/client-esm/audio/helper.d.mts +0 -370
  1162. package/src/foundry/client-esm/audio/sound.d.mts +0 -506
  1163. package/src/foundry/client-esm/audio/timeout.d.mts +0 -101
  1164. package/src/foundry/client-esm/av/client.d.mts +0 -18
  1165. package/src/foundry/client-esm/av/clients/simplepeer.d.mts +0 -11
  1166. package/src/foundry/client-esm/av/master.d.mts +0 -12
  1167. package/src/foundry/client-esm/av/settings.d.mts +0 -30
  1168. package/src/foundry/client-esm/canvas/_module.d.mts +0 -11
  1169. package/src/foundry/client-esm/canvas/edges/collision.d.mts +0 -144
  1170. package/src/foundry/client-esm/canvas/edges/edge.d.mts +0 -253
  1171. package/src/foundry/client-esm/canvas/edges/edges.d.mts +0 -33
  1172. package/src/foundry/client-esm/canvas/edges/vertex.d.mts +0 -166
  1173. package/src/foundry/client-esm/canvas/regions/_module.d.mts +0 -9
  1174. package/src/foundry/client-esm/canvas/regions/geometry.d.mts +0 -38
  1175. package/src/foundry/client-esm/canvas/regions/mesh.d.mts +0 -72
  1176. package/src/foundry/client-esm/canvas/regions/polygon-tree.d.mts +0 -132
  1177. package/src/foundry/client-esm/canvas/regions/shape.d.mts +0 -129
  1178. package/src/foundry/client-esm/canvas/scene-manager.d.mts +0 -103
  1179. package/src/foundry/client-esm/canvas/smaa/blend.d.mts +0 -17
  1180. package/src/foundry/client-esm/canvas/smaa/edges.d.mts +0 -28
  1181. package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +0 -154
  1182. package/src/foundry/client-esm/canvas/smaa/weights.d.mts +0 -29
  1183. package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +0 -294
  1184. package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +0 -223
  1185. package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +0 -121
  1186. package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +0 -118
  1187. package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +0 -122
  1188. package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +0 -84
  1189. package/src/foundry/client-esm/canvas/sources/point-movement-source.d.mts +0 -42
  1190. package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +0 -62
  1191. package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +0 -258
  1192. package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +0 -441
  1193. package/src/foundry/client-esm/canvas/tokens/_module.d.mts +0 -8
  1194. package/src/foundry/client-esm/canvas/tokens/ring-config.d.mts +0 -252
  1195. package/src/foundry/client-esm/canvas/tokens/ring-data.d.mts +0 -147
  1196. package/src/foundry/client-esm/canvas/tokens/ring.d.mts +0 -287
  1197. package/src/foundry/client-esm/client.d.mts +0 -279
  1198. package/src/foundry/client-esm/config.d.mts +0 -1
  1199. package/src/foundry/client-esm/data/_module.d.mts +0 -13
  1200. package/src/foundry/client-esm/data/calendar.d.mts +0 -200
  1201. package/src/foundry/client-esm/data/client-backend.d.mts +0 -51
  1202. package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +0 -57
  1203. package/src/foundry/client-esm/data/region-behaviors/base.d.mts +0 -59
  1204. package/src/foundry/client-esm/data/region-behaviors/display-scrolling-text.d.mts +0 -64
  1205. package/src/foundry/client-esm/data/region-behaviors/teleport-token.d.mts +0 -32
  1206. package/src/foundry/client-esm/data/region-behaviors/toggle-behavior.d.mts +0 -31
  1207. package/src/foundry/client-esm/dice/_types.d.mts +0 -61
  1208. package/src/foundry/client-esm/dice/parser.d.mts +0 -191
  1209. package/src/foundry/client-esm/dice/roll.d.mts +0 -662
  1210. package/src/foundry/client-esm/dice/terms/coin.d.mts +0 -71
  1211. package/src/foundry/client-esm/dice/terms/dice.d.mts +0 -411
  1212. package/src/foundry/client-esm/dice/terms/die.d.mts +0 -248
  1213. package/src/foundry/client-esm/dice/terms/fate.d.mts +0 -57
  1214. package/src/foundry/client-esm/dice/terms/function.d.mts +0 -103
  1215. package/src/foundry/client-esm/dice/terms/numeric.d.mts +0 -54
  1216. package/src/foundry/client-esm/dice/terms/operator.d.mts +0 -55
  1217. package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +0 -104
  1218. package/src/foundry/client-esm/dice/terms/pool.d.mts +0 -272
  1219. package/src/foundry/client-esm/dice/terms/string.d.mts +0 -34
  1220. package/src/foundry/client-esm/dice/terms/term.d.mts +0 -174
  1221. package/src/foundry/client-esm/documents/_module.d.mts +0 -11
  1222. package/src/foundry/client-esm/documents/_types.d.mts +0 -8
  1223. package/src/foundry/client-esm/documents/abstract/_module.d.mts +0 -6
  1224. package/src/foundry/client-esm/documents/collections/_module.d.mts +0 -6
  1225. package/src/foundry/client-esm/game.d.mts +0 -7
  1226. package/src/foundry/client-esm/helpers/_module.d.mts +0 -8
  1227. package/src/foundry/client-esm/helpers/_types.d.mts +0 -17
  1228. package/src/foundry/client-esm/helpers/compendium-art.d.mts +0 -100
  1229. package/src/foundry/client-esm/hooks.d.mts +0 -1
  1230. package/src/foundry/client-esm/nue/tour.d.mts +0 -9
  1231. package/src/foundry/client-esm/nue/tours/canvas-tour.d.mts +0 -12
  1232. package/src/foundry/client-esm/nue/tours/setup-tour.d.mts +0 -11
  1233. package/src/foundry/client-esm/nue/tours/sidebar-tour.d.mts +0 -11
  1234. package/src/foundry/client-esm/packages/_module.d.mts +0 -22
  1235. package/src/foundry/client-esm/packages/client-package.d.mts +0 -11
  1236. package/src/foundry/client-esm/packages/module.d.mts +0 -8
  1237. package/src/foundry/client-esm/packages/system.d.mts +0 -8
  1238. package/src/foundry/client-esm/packages/world.d.mts +0 -8
  1239. package/src/foundry/client-esm/ui.d.mts +0 -1
  1240. package/src/foundry/client-esm/utils/_module.d.mts +0 -7
  1241. package/src/foundry/client-esm/utils/_types.d.mts +0 -3
  1242. package/src/foundry/client-esm/utils/helpers.d.mts +0 -6
  1243. package/src/foundry/common/prosemirror/index.d.mts +0 -22
  1244. package/src/foundry/common/prosemirror/schema/index.d.mts +0 -11
  1245. package/src/tsconfig.json +0 -15
  1246. package/tsconfig.main.json +0 -8
  1247. package/tsconfig.miscellaneous.json +0 -16
  1248. /package/src/foundry/{client-esm → client}/_module.d.mts +0 -0
  1249. /package/src/foundry/{client-esm → client}/applications/_types.d.mts +0 -0
  1250. /package/src/foundry/{client-esm → client}/applications/api/_module.d.mts +0 -0
  1251. /package/src/foundry/{client-esm → client}/applications/apps/_module.d.mts +0 -0
  1252. /package/src/foundry/{client-esm → client}/applications/apps/av/_module.d.mts +0 -0
  1253. /package/src/foundry/{client-esm → client}/applications/dice/_module.d.mts +0 -0
  1254. /package/src/foundry/{client-esm → client}/applications/elements/_module.d.mts +0 -0
  1255. /package/src/foundry/{client-esm → client}/applications/elements/codemirror/element.d.mts +0 -0
  1256. /package/src/foundry/{client-esm → client}/applications/elements/codemirror/extensions.d.mts +0 -0
  1257. /package/src/foundry/{client-esm → client}/applications/elements/codemirror/view.d.mts +0 -0
  1258. /package/src/foundry/{client-esm → client}/applications/elements/color-picker.d.mts +0 -0
  1259. /package/src/foundry/{client-esm → client}/applications/elements/document-embed.d.mts +0 -0
  1260. /package/src/foundry/{client-esm → client}/applications/elements/enriched-content.d.mts +0 -0
  1261. /package/src/foundry/{client-esm → client}/applications/elements/hue-slider.d.mts +0 -0
  1262. /package/src/foundry/{client-esm → client}/applications/elements/range-picker.d.mts +0 -0
  1263. /package/src/foundry/{client-esm → client}/applications/elements/secret-block.d.mts +0 -0
  1264. /package/src/foundry/{client-esm → client}/applications/elements/string-tags.d.mts +0 -0
  1265. /package/src/foundry/{client-esm → client}/applications/hud/_module.d.mts +0 -0
  1266. /package/src/foundry/{client-esm → client}/applications/settings/menus/_module.d.mts +0 -0
  1267. /package/src/foundry/{client-esm → client}/applications/sheets/journal/_module.d.mts +0 -0
  1268. /package/src/foundry/{client-esm → client}/applications/sheets/token/_module.d.mts +0 -0
  1269. /package/src/foundry/{client-esm → client}/applications/sidebar/_module.d.mts +0 -0
  1270. /package/src/foundry/{client-esm → client}/applications/sidebar/apps/_module.d.mts +0 -0
  1271. /package/src/foundry/{client-esm → client}/applications/sidebar/tabs/_module.d.mts +0 -0
  1272. /package/src/foundry/{client-esm → client}/applications/ui/_module.d.mts +0 -0
  1273. /package/src/foundry/{client-esm → client}/applications/ui/notifications.d.mts +0 -0
  1274. /package/src/foundry/{client-esm → client}/applications/ux/_module.d.mts +0 -0
  1275. /package/src/foundry/{client-esm → client}/appv1/_module.d.mts +0 -0
  1276. /package/src/foundry/{client-esm → client}/appv1/api/_module.d.mts +0 -0
  1277. /package/src/foundry/{client-esm → client}/appv1/sheets/_module.d.mts +0 -0
  1278. /package/src/foundry/{client-esm → client}/audio/_module.d.mts +0 -0
  1279. /package/src/foundry/{client-esm → client}/av/_module.d.mts +0 -0
  1280. /package/src/foundry/{client-esm → client}/av/clients/_module.d.mts +0 -0
  1281. /package/src/foundry/{client-esm/canvas → client/canvas/geometry}/edges/_module.d.mts +0 -0
  1282. /package/src/foundry/{client-esm → client}/canvas/sources/_module.d.mts +0 -0
  1283. /package/src/foundry/{client-esm → client}/data/_types.d.mts +0 -0
  1284. /package/src/foundry/{client-esm → client}/data/combat-config.d.mts +0 -0
  1285. /package/src/foundry/{client-esm → client}/data/region-behaviors/_module.d.mts +0 -0
  1286. /package/src/foundry/{client-esm → client}/data/region-behaviors/execute-macro.d.mts +0 -0
  1287. /package/src/foundry/{client-esm → client}/data/region-behaviors/execute-script.d.mts +0 -0
  1288. /package/src/foundry/{client-esm → client}/data/region-behaviors/pause-game.d.mts +0 -0
  1289. /package/src/foundry/{client-esm → client}/data/region-behaviors/suppress-weather.d.mts +0 -0
  1290. /package/src/foundry/{client-esm → client}/data/terrain-data.d.mts +0 -0
  1291. /package/src/foundry/{client-esm → client}/dice/_module.d.mts +0 -0
  1292. /package/src/foundry/{client-esm → client}/dice/terms/_module.d.mts +0 -0
  1293. /package/src/foundry/{client-esm → client}/dice/twister.d.mts +0 -0
  1294. /package/src/foundry/{client-esm → client}/nue/_module.d.mts +0 -0
  1295. /package/src/foundry/{client-esm → client}/nue/nue-manager.d.mts +0 -0
  1296. /package/src/foundry/{client-esm → client}/nue/tours/_module.d.mts +0 -0
  1297. /package/src/foundry/{client-esm → client}/nue/tours-collection.d.mts +0 -0
  1298. /package/src/foundry/{client-esm → client}/packages/_types.d.mts +0 -0
@@ -1,8 +1,27 @@
1
1
  import type * as CONST from "#common/constants.d.mts";
2
2
  import type { DataModel, Document } from "#common/abstract/_module.d.mts";
3
- import type { GetKey, AnyObject, HandleEmptyObject, MaybePromise } from "fvtt-types/utils";
4
- import type BaseLightSource from "#client-esm/canvas/sources/base-light-source.d.mts";
5
- import type RenderedEffectSource from "#client-esm/canvas/sources/rendered-effect-source.d.mts";
3
+ import type {
4
+ GetKey,
5
+ AnyObject,
6
+ HandleEmptyObject,
7
+ MaybePromise,
8
+ ConcreteKeys,
9
+ RemoveIndexSignatures,
10
+ InexactPartial,
11
+ Brand,
12
+ InterfaceToObject,
13
+ } from "#utils";
14
+ import type BaseLightSource from "#client/canvas/sources/base-light-source.d.mts";
15
+ import type RenderedEffectSource from "#client/canvas/sources/rendered-effect-source.d.mts";
16
+ import type * as shaders from "#client/canvas/rendering/shaders/_module.d.mts";
17
+ import type * as canvasLayers from "#client/canvas/layers/_module.d.mts";
18
+ import type * as canvasGroups from "#client/canvas/groups/_module.d.mts";
19
+ import type * as perception from "#client/canvas/perception/_module.d.mts";
20
+ import type * as placeables from "#client/canvas/placeables/_module.d.mts";
21
+ import type { DoorControl } from "#client/canvas/containers/_module.d.mts";
22
+ import type * as geometry from "#client/canvas/geometry/_module.d.mts";
23
+
24
+ import SimplePeerAVClient = foundry.av.clients.SimplePeerAVClient;
6
25
 
7
26
  declare global {
8
27
  namespace CONFIG {
@@ -63,6 +82,7 @@ declare global {
63
82
  type FulfillmentHandler = (
64
83
  /** The term being fulfilled. */
65
84
  term: foundry.dice.terms.DiceTerm,
85
+
66
86
  /** Additional options to configure fulfillment. */
67
87
  options?: AnyObject,
68
88
  ) => Promise<number | void>;
@@ -70,6 +90,12 @@ declare global {
70
90
  type RollFunction = (...args: Array<string | number>) => MaybePromise<number | `${number}`>;
71
91
 
72
92
  type DTermDiceStrings = "d4" | "d6" | "d8" | "d10" | "d12" | "d20" | "d100";
93
+
94
+ interface Terms extends Record<string, foundry.dice.terms.DiceTerm.AnyConstructor> {
95
+ c: foundry.dice.terms.Coin.AnyConstructor;
96
+ d: foundry.dice.terms.Die.AnyConstructor;
97
+ f: foundry.dice.terms.FateDie.AnyConstructor;
98
+ }
73
99
  }
74
100
 
75
101
  interface Dice {
@@ -79,7 +105,8 @@ declare global {
79
105
  */
80
106
  types: Array<foundry.dice.terms.DiceTerm.AnyConstructor>;
81
107
 
82
- rollModes: CONFIG.Dice.RollModes;
108
+ // Note(LukeAbby): `InterfaceToObject` is used to ensure that it's valid when used with `choices`.
109
+ rollModes: InterfaceToObject<CONFIG.Dice.RollModes>;
83
110
 
84
111
  /**
85
112
  * Configured Roll class definitions
@@ -105,11 +132,7 @@ declare global {
105
132
  termTypes: Record<string, foundry.dice.terms.RollTerm.AnyConstructor>;
106
133
 
107
134
  /** Configured roll terms and the classes they map to. */
108
- terms: {
109
- c: foundry.dice.terms.Coin.AnyConstructor;
110
- d: foundry.dice.terms.Die.AnyConstructor;
111
- f: foundry.dice.terms.FateDie.AnyConstructor;
112
- } & Record<string, foundry.dice.terms.DiceTerm.AnyConstructor>;
135
+ terms: Dice.Terms;
113
136
 
114
137
  /**
115
138
  * A function used to provide random uniform values.
@@ -132,7 +155,7 @@ declare global {
132
155
  /**
133
156
  * Configured status effects which are recognized by the game system
134
157
  */
135
- type StatusEffect = foundry.documents.BaseActiveEffect.CreateData & {
158
+ interface StatusEffect extends foundry.documents.BaseActiveEffect.CreateData {
136
159
  /**
137
160
  * A string identifier for the effect
138
161
  */
@@ -156,7 +179,12 @@ declare global {
156
179
  * @defaultValue `true`
157
180
  */
158
181
  hud?: boolean | { actorTypes: string[] } | undefined | null;
159
- };
182
+ }
183
+
184
+ interface TrackableAttribute {
185
+ bar: string[];
186
+ value: string[];
187
+ }
160
188
  }
161
189
 
162
190
  /**
@@ -233,7 +261,7 @@ declare global {
233
261
  * include or specifically exclude certain file paths or warning messages.
234
262
  * Exclusion rules take precedence over inclusion rules.
235
263
  *
236
- * @see {@link CONST.COMPATIBILITY_MODES | `CONST.COMPATIBILITY_MODES`}
264
+ * @see {@linkcode CONST.COMPATIBILITY_MODES}
237
265
  *
238
266
  * @example Include Specific Errors
239
267
  * ```js
@@ -298,7 +326,7 @@ declare global {
298
326
  documentClass: Document.ImplementationClassFor<"Actor">;
299
327
 
300
328
  /** @defaultValue `Actors` */
301
- collection: Actors.AnyConstructor;
329
+ collection: foundry.documents.collections.Actors.AnyConstructor;
302
330
 
303
331
  /** @defaultValue `[]` */
304
332
  compendiumIndexFields: string[];
@@ -318,19 +346,19 @@ declare global {
318
346
  /**
319
347
  * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
320
348
  */
321
- sheetClasses: Record<foundry.documents.BaseActor.SubType, Record<string, SheetClassConfig>>;
349
+ sheetClasses: Record<Actor.SubType, Record<string, SheetClassConfig>>;
322
350
 
323
351
  /**
324
352
  * @defaultValue `{}`
325
353
  * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
326
354
  */
327
- typeLabels: Record<foundry.documents.BaseActor.SubType, string>;
355
+ typeLabels: Record<Actor.SubType, string>;
328
356
 
329
357
  /** @defaultValue `{}` */
330
358
  typeIcons: Record<string, string>;
331
359
 
332
360
  /** @defaultValue `{}` */
333
- trackableAttributes: Record<string, string>;
361
+ trackableAttributes: Record<string, CONFIG.TrackableAttribute>;
334
362
  };
335
363
 
336
364
  /**
@@ -367,7 +395,7 @@ declare global {
367
395
  */
368
396
  Cards: {
369
397
  /** @defaultValue `CardStacks` */
370
- collection: CardStacks.AnyConstructor;
398
+ collection: foundry.documents.collections.CardStacks.AnyConstructor;
371
399
 
372
400
  /** @defaultValue `[]` */
373
401
  compendiumIndexFields: string[];
@@ -417,8 +445,10 @@ declare global {
417
445
  typeIcons: {
418
446
  /** @defaultValue `"fas fa-cards"` */
419
447
  deck: string;
448
+
420
449
  /** @defaultValue `"fa-duotone fa-cards"` */
421
450
  hand: string;
451
+
422
452
  /** @defaultValue `"fa-duotone fa-layer-group"` */
423
453
  pile: string;
424
454
 
@@ -434,7 +464,7 @@ declare global {
434
464
  documentClass: Document.ImplementationClassFor<"ChatMessage">;
435
465
 
436
466
  /** @defaultValue `Messages` */
437
- collection: Messages.AnyConstructor;
467
+ collection: foundry.documents.collections.ChatMessages.AnyConstructor;
438
468
 
439
469
  /** @defaultValue `"templates/sidebar/chat-message.html"` */
440
470
  template: string;
@@ -474,7 +504,7 @@ declare global {
474
504
  documentClass: Document.ImplementationClassFor<"Combat">;
475
505
 
476
506
  /** @defaultValue `CombatEncounters` */
477
- collection: CombatEncounters.AnyConstructor;
507
+ collection: foundry.documents.collections.CombatEncounters.AnyConstructor;
478
508
 
479
509
  /** @defaultValue `"fas fa-swords"` */
480
510
  sidebarIcon: string;
@@ -507,6 +537,9 @@ declare global {
507
537
  decimals: number;
508
538
  };
509
539
 
540
+ /** @defaultValue "icons/vtt-512.png" */
541
+ fallbackTurnMarker: string;
542
+
510
543
  /**
511
544
  * @defaultValue
512
545
  * ```typescript
@@ -552,7 +585,7 @@ declare global {
552
585
  typeLabels?: Record<"base", string>;
553
586
 
554
587
  /** @defaultValue `FogExplorations` */
555
- collection: FogExplorations.AnyConstructor;
588
+ collection: foundry.documents.collections.FogExplorations.AnyConstructor;
556
589
  };
557
590
 
558
591
  /**
@@ -563,7 +596,7 @@ declare global {
563
596
  documentClass: Document.ImplementationClassFor<"Folder">;
564
597
 
565
598
  /** @defaultValue `Folders` */
566
- collection: Folders.AnyConstructor;
599
+ collection: foundry.documents.collections.Folders.AnyConstructor;
567
600
 
568
601
  /** @defaultValue `"fas fa-folder"` */
569
602
  sidebarIcon: string;
@@ -587,7 +620,7 @@ declare global {
587
620
  documentClass: Document.ImplementationClassFor<"Item">;
588
621
 
589
622
  /** @defaultValue `Items` */
590
- collection: Items.AnyConstructor;
623
+ collection: foundry.documents.collections.Items.AnyConstructor;
591
624
 
592
625
  /** @defaultValue `[]` */
593
626
  compendiumIndexFields: string[];
@@ -634,7 +667,7 @@ declare global {
634
667
  typeLabels?: Record<"base", string>;
635
668
 
636
669
  /** @defaultValue `Journal` */
637
- collection: Journal.AnyConstructor;
670
+ collection: foundry.documents.collections.Journal.AnyConstructor;
638
671
 
639
672
  /** @defaultValue `[]` */
640
673
  compendiumIndexFields: string[];
@@ -747,7 +780,7 @@ declare global {
747
780
  typeLabels?: Record<foundry.documents.BaseMacro.SubType, string>;
748
781
 
749
782
  /** @defaultValue `Macros` */
750
- collection: Macros.AnyConstructor;
783
+ collection: foundry.documents.collections.Macros.AnyConstructor;
751
784
 
752
785
  /** @defaultValue `[]` */
753
786
  compendiumIndexFields: string[];
@@ -777,7 +810,7 @@ declare global {
777
810
  typeLabels?: Record<"base", string>;
778
811
 
779
812
  /** @defaultValue `Playlists` */
780
- collection: Playlists.AnyConstructor;
813
+ collection: foundry.documents.collections.Playlists.AnyConstructor;
781
814
 
782
815
  /** @defaultValue `[]` */
783
816
  compendiumIndexFields: string[];
@@ -810,7 +843,7 @@ declare global {
810
843
  typeLabels?: Record<"base", string>;
811
844
 
812
845
  /** @defaultValue `RollTables` */
813
- collection: RollTables.AnyConstructor;
846
+ collection: foundry.documents.collections.RollTables.AnyConstructor;
814
847
 
815
848
  /** @defaultValue `["formula"]` */
816
849
  compendiumIndexFields: string[];
@@ -846,7 +879,7 @@ declare global {
846
879
  typeLabels?: Record<"base", string>;
847
880
 
848
881
  /** @defaultValue `Scenes` */
849
- collection: Scenes.AnyConstructor;
882
+ collection: foundry.documents.collections.Scenes.AnyConstructor;
850
883
 
851
884
  /** @defaultValue `[]` */
852
885
  compendiumIndexFields: string[];
@@ -873,7 +906,7 @@ declare global {
873
906
  typeLabels?: Record<"base", string>;
874
907
 
875
908
  /** @defaultValue `WorldSettings` */
876
- collection: WorldSettings.AnyConstructor;
909
+ collection: foundry.documents.collections.WorldSettings.AnyConstructor;
877
910
  };
878
911
 
879
912
  /**
@@ -894,7 +927,7 @@ declare global {
894
927
  typeLabels?: Record<"base", string>;
895
928
 
896
929
  /** @defaultValue `Users` */
897
- collection: Users.AnyConstructor;
930
+ collection: foundry.documents.collections.Users.AnyConstructor;
898
931
  };
899
932
 
900
933
  /**
@@ -922,14 +955,14 @@ declare global {
922
955
  * padding: 1
923
956
  * })
924
957
  * ```
925
- **/
958
+ */
926
959
  canvasTextStyle: PIXI.TextStyle;
927
960
 
928
961
  /**
929
962
  * Available Weather Effects implementations
930
963
  */
931
964
  weatherEffects: {
932
- [key: string]: WeatherEffects.AmbienceConfiguration;
965
+ [key: string]: canvasLayers.WeatherEffects.AmbienceConfiguration;
933
966
 
934
967
  /**
935
968
  * @defaultValue
@@ -944,7 +977,7 @@ declare global {
944
977
  * }
945
978
  * ```
946
979
  */
947
- leaves: WeatherEffects.AmbienceConfiguration;
980
+ leaves: canvasLayers.WeatherEffects.AmbienceConfiguration;
948
981
 
949
982
  /**
950
983
  * @defaultValue
@@ -972,7 +1005,7 @@ declare global {
972
1005
  * }
973
1006
  * ```
974
1007
  */
975
- rain: WeatherEffects.AmbienceConfiguration;
1008
+ rain: canvasLayers.WeatherEffects.AmbienceConfiguration;
976
1009
 
977
1010
  /**
978
1011
  * @defaultValue
@@ -1013,7 +1046,7 @@ declare global {
1013
1046
  * }
1014
1047
  * ```
1015
1048
  */
1016
- rainStorm: WeatherEffects.AmbienceConfiguration;
1049
+ rainStorm: canvasLayers.WeatherEffects.AmbienceConfiguration;
1017
1050
 
1018
1051
  /**
1019
1052
  * @defaultValue
@@ -1038,7 +1071,7 @@ declare global {
1038
1071
  * }
1039
1072
  * ```
1040
1073
  */
1041
- fog: WeatherEffects.AmbienceConfiguration;
1074
+ fog: canvasLayers.WeatherEffects.AmbienceConfiguration;
1042
1075
 
1043
1076
  /**
1044
1077
  * @defaultValue
@@ -1063,8 +1096,8 @@ declare global {
1063
1096
  * }]
1064
1097
  * }
1065
1098
  * ```
1066
- * */
1067
- snow: WeatherEffects.AmbienceConfiguration;
1099
+ */
1100
+ snow: canvasLayers.WeatherEffects.AmbienceConfiguration;
1068
1101
 
1069
1102
  /**
1070
1103
  * @defaultValue
@@ -1102,7 +1135,7 @@ declare global {
1102
1135
  * }
1103
1136
  * ```
1104
1137
  */
1105
- blizzard: WeatherEffects.AmbienceConfiguration;
1138
+ blizzard: canvasLayers.WeatherEffects.AmbienceConfiguration;
1106
1139
  };
1107
1140
 
1108
1141
  /**
@@ -1433,13 +1466,7 @@ declare global {
1433
1466
  /**
1434
1467
  * Configuration for time tracking
1435
1468
  */
1436
- time: {
1437
- /** @defaultValue `0` */
1438
- turnTime: number;
1439
-
1440
- /** @defaultValue `0` */
1441
- roundTime: number;
1442
- };
1469
+ time: CONFIG.Time;
1443
1470
 
1444
1471
  /**
1445
1472
  * Configuration for the ActiveEffect embedded document type
@@ -1568,10 +1595,13 @@ declare global {
1568
1595
 
1569
1596
  /** @defaultValue `"fas fa-file-image"` */
1570
1597
  image: string;
1598
+
1571
1599
  /** @defaultValue `"fas fa-file-pdf"` */
1572
1600
  pdf: string;
1601
+
1573
1602
  /** @defaultValue `"fas fa-file-lines"` */
1574
1603
  text: string;
1604
+
1575
1605
  /** @defaultValue `"fas fa-file-video"` */
1576
1606
  video: string;
1577
1607
  };
@@ -1619,11 +1649,10 @@ declare global {
1619
1649
  typeLabels?: Record<"base", string>;
1620
1650
 
1621
1651
  /** @defaultValue `typeof AmbientLightDocument` */
1622
- // eslint-disable-next-line no-restricted-syntax
1623
- objectClass: ConfiguredObjectClassOrDefault<typeof AmbientLight>;
1652
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.AmbientLight>;
1624
1653
 
1625
1654
  /** @defaultValue `typeof LightingLayer` */
1626
- layerClass: LightingLayer.AnyConstructor;
1655
+ layerClass: canvasLayers.LightingLayer.AnyConstructor;
1627
1656
  };
1628
1657
 
1629
1658
  /**
@@ -1644,11 +1673,10 @@ declare global {
1644
1673
  typeLabels?: Record<"base", string>;
1645
1674
 
1646
1675
  /** @defaultValue `typeof AmbientSound` */
1647
- // eslint-disable-next-line no-restricted-syntax
1648
- objectClass: ConfiguredObjectClassOrDefault<typeof AmbientSound>;
1676
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.AmbientSound>;
1649
1677
 
1650
1678
  /** @defaultValue `typeof SoundsLayer` */
1651
- layerClass: SoundsLayer.AnyConstructor;
1679
+ layerClass: canvasLayers.SoundsLayer.AnyConstructor;
1652
1680
  };
1653
1681
 
1654
1682
  /**
@@ -1679,6 +1707,34 @@ declare global {
1679
1707
  typeIcons: Record<string, string>;
1680
1708
  };
1681
1709
 
1710
+ /**
1711
+ * Configuration for the CombatantGroup embedded document type within a Combat document.
1712
+ */
1713
+ CombatantGroup: {
1714
+ /** @defaultValue `CombatantGroup` */
1715
+ documentClass: Document.ImplementationClassFor<"CombatantGroup">;
1716
+
1717
+ /**
1718
+ * @defaultValue `{}`
1719
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
1720
+ */
1721
+ dataModels: Record<string, typeof DataModel<any, CombatantGroup.Implementation>>;
1722
+
1723
+ /**
1724
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1725
+ */
1726
+ sheetClasses: Record<foundry.documents.BaseCombatantGroup.SubType, Record<string, SheetClassConfig>>;
1727
+
1728
+ /**
1729
+ * @defaultValue `{}`
1730
+ * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
1731
+ */
1732
+ typeLabels: Record<foundry.documents.BaseCombatantGroup.SubType, string>;
1733
+
1734
+ /** @defaultValue `{}` */
1735
+ typeIcons: Record<string, string>;
1736
+ };
1737
+
1682
1738
  /**
1683
1739
  * Configuration for the Drawing embedded document type and its representation on the game Canvas
1684
1740
  */
@@ -1697,14 +1753,31 @@ declare global {
1697
1753
  typeLabels?: Record<"base", string>;
1698
1754
 
1699
1755
  /** @defaultValue `typeof Drawing` */
1700
- // eslint-disable-next-line no-restricted-syntax
1701
- objectClass: ConfiguredObjectClassOrDefault<typeof Drawing>;
1756
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Drawing>;
1702
1757
 
1703
1758
  /** @defaultValue `typeof DrawingsLayer` */
1704
- layerClass: typeof DrawingsLayer;
1759
+ layerClass: typeof canvasLayers.DrawingsLayer;
1705
1760
 
1706
1761
  /** @defaultValue `typeof DrawingHUD` */
1707
- hudClass: typeof DrawingHUD;
1762
+ hudClass: typeof foundry.applications.hud.DrawingHUD;
1763
+ };
1764
+
1765
+ /**
1766
+ * Configuration for the JournalEntryCategory embedded document type.
1767
+ */
1768
+ JournalEntryCategory: {
1769
+ /** @defaultValue `JournalEntryCategory` */
1770
+ documentClass: Document.ImplementationClassFor<"JournalEntryCategory">;
1771
+
1772
+ /**
1773
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1774
+ */
1775
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
1776
+
1777
+ /**
1778
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
1779
+ */
1780
+ typeLabels?: Record<"base", string>;
1708
1781
  };
1709
1782
 
1710
1783
  /**
@@ -1747,11 +1820,10 @@ declare global {
1747
1820
  typeLabels?: Record<"base", string>;
1748
1821
 
1749
1822
  /** @defaultValue `typeof MeasuredTemplate` */
1750
- // eslint-disable-next-line no-restricted-syntax
1751
- objectClass: ConfiguredObjectClassOrDefault<typeof MeasuredTemplate>;
1823
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.MeasuredTemplate>;
1752
1824
 
1753
1825
  /** @defaultValue `typeof TemplateLayer` */
1754
- layerClass: typeof TemplateLayer;
1826
+ layerClass: typeof canvasLayers.TemplateLayer;
1755
1827
  };
1756
1828
 
1757
1829
  /**
@@ -1772,11 +1844,10 @@ declare global {
1772
1844
  typeLabels?: Record<"base", string>;
1773
1845
 
1774
1846
  /** @defaultValue `typeof Note` */
1775
- // eslint-disable-next-line no-restricted-syntax
1776
- objectClass: ConfiguredObjectClassOrDefault<typeof Note>;
1847
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Note>;
1777
1848
 
1778
1849
  /** @defaultValue `typeof NotesLayer` */
1779
- layerClass: NotesLayer.AnyConstructor;
1850
+ layerClass: canvasLayers.NotesLayer.AnyConstructor;
1780
1851
  };
1781
1852
 
1782
1853
  Region: {
@@ -1784,11 +1855,10 @@ declare global {
1784
1855
  documentClass: Document.ImplementationClassFor<"Region">;
1785
1856
 
1786
1857
  /** @defaultValue `Region` */
1787
- // eslint-disable-next-line no-restricted-syntax
1788
- objectClass: ConfiguredObjectClassOrDefault<typeof Region>;
1858
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Region>;
1789
1859
 
1790
1860
  /** @defaultValue `RegionLayer` */
1791
- layerClass: RegionLayer.AnyConstructor;
1861
+ layerClass: canvasLayers.RegionLayer.AnyConstructor;
1792
1862
 
1793
1863
  /**
1794
1864
  * @remarks added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
@@ -1801,6 +1871,19 @@ declare global {
1801
1871
  typeLabels?: Record<"base", string>;
1802
1872
  };
1803
1873
 
1874
+ /**
1875
+ * Configuration for the RegionBehavior embedded document type
1876
+ */
1877
+ RegionBehavior: {
1878
+ documentClass: Document.ImplementationClassFor<"Region">;
1879
+ dataModels: Record<
1880
+ string,
1881
+ typeof foundry.data.regionBehaviors.RegionBehaviorType<any, RegionBehavior.Implementation, AnyObject, AnyObject>
1882
+ >;
1883
+ typeLabels?: Record<"base", string>;
1884
+ typeIcons: Record<string, string>;
1885
+ };
1886
+
1804
1887
  /**
1805
1888
  * Configuration for the Tile embedded document type and its representation on the game Canvas
1806
1889
  */
@@ -1819,14 +1902,13 @@ declare global {
1819
1902
  typeLabels?: Record<"base", string>;
1820
1903
 
1821
1904
  /** @defaultValue `typeof Tile` */
1822
- // eslint-disable-next-line no-restricted-syntax
1823
- objectClass: ConfiguredObjectClassOrDefault<typeof Tile>;
1905
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Tile>;
1824
1906
 
1825
1907
  /** @defaultValue `typeof TilesLayer` */
1826
- layerClass: TilesLayer.AnyConstructor;
1908
+ layerClass: canvasLayers.TilesLayer.AnyConstructor;
1827
1909
 
1828
1910
  /** @defaultValue `typeof TileHUD` */
1829
- hudClass: TileHUD.AnyConstructor;
1911
+ hudClass: foundry.applications.hud.TileHUD.AnyConstructor;
1830
1912
  };
1831
1913
 
1832
1914
  /**
@@ -1847,17 +1929,107 @@ declare global {
1847
1929
  typeLabels?: Record<"base", string>;
1848
1930
 
1849
1931
  /** @defaultValue `typeof Token` */
1850
- // eslint-disable-next-line no-restricted-syntax
1851
- objectClass: ConfiguredObjectClassOrDefault<typeof Token>;
1932
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Token>;
1852
1933
 
1853
1934
  /** @defaultValue `typeof TokenLayer` */
1854
- layerClass: TokenLayer.AnyConstructor;
1935
+ layerClass: canvasLayers.TokenLayer.AnyConstructor;
1855
1936
 
1856
1937
  /** @defaultValue `typeof TokenConfig` */
1857
- prototypeSheetClass: TokenConfig.AnyConstructor;
1938
+ prototypeSheetClass: foundry.applications.sheets.TokenConfig.AnyConstructor;
1858
1939
 
1859
1940
  /** @defaultValue `typeof TokenHUD` */
1860
- hudClass: TokenHUD.AnyConstructor;
1941
+ hudClass: foundry.applications.hud.TokenHUD.AnyConstructor;
1942
+
1943
+ /** @defaultValue `typeof TokenRuler` */
1944
+ rulerClass: foundry.canvas.placeables.tokens.TokenRuler;
1945
+
1946
+ movement: {
1947
+ /** @defaultValue `data.TerrainData` */
1948
+ TerrainData: typeof foundry.data.BaseTerrainData;
1949
+
1950
+ /**
1951
+ * The default movementa nimation speed in grid spaces per second.
1952
+ * @defaultValue `6`
1953
+ */
1954
+ defaultSpeed: number;
1955
+
1956
+ /** @defaultValue `"walk"` */
1957
+ defaultAction: string;
1958
+
1959
+ /**
1960
+ * @defaultValue
1961
+ * ```js
1962
+ * {
1963
+ * walk: {
1964
+ * label: "TOKEN.MOVEMENT.ACTIONS.walk.label",
1965
+ * icon: "fa-solid fa-person-walking",
1966
+ * order: 0
1967
+ * },
1968
+ * fly: {
1969
+ * label: "TOKEN.MOVEMENT.ACTIONS.fly.label",
1970
+ * icon: "fa-solid fa-person-fairy",
1971
+ * order: 1
1972
+ * },
1973
+ * swim: {
1974
+ * label: "TOKEN.MOVEMENT.ACTIONS.swim.label",
1975
+ * icon: "fa-solid fa-person-swimming",
1976
+ * order: 2,
1977
+ * getAnimationOptions: () => ({movementSpeed: CONFIG.Token.movement.defaultSpeed / 2})
1978
+ * },
1979
+ * burrow: {
1980
+ * label: "TOKEN.MOVEMENT.ACTIONS.burrow.label",
1981
+ * icon: "fa-solid fa-person-digging",
1982
+ * order: 3
1983
+ * },
1984
+ * crawl: {
1985
+ * label: "TOKEN.MOVEMENT.ACTIONS.crawl.label",
1986
+ * icon: "fa-solid fa-person-praying",
1987
+ * order: 4,
1988
+ * getAnimationOptions: () => ({movementSpeed: CONFIG.Token.movement.defaultSpeed / 2}),
1989
+ * deriveTerrainDifficulty: ({walk}) => walk,
1990
+ * getCostFunction: () => cost => cost * 2
1991
+ * },
1992
+ * climb: {
1993
+ * label: "TOKEN.MOVEMENT.ACTIONS.climb.label",
1994
+ * icon: "fa-solid fa-person-through-window",
1995
+ * order: 5,
1996
+ * getAnimationOptions: () => ({movementSpeed: CONFIG.Token.movement.defaultSpeed / 2}),
1997
+ * deriveTerrainDifficulty: ({walk}) => walk,
1998
+ * getCostFunction: () => cost => cost * 2
1999
+ * },
2000
+ * jump: {
2001
+ * label: "TOKEN.MOVEMENT.ACTIONS.jump.label",
2002
+ * icon: "fa-solid fa-person-running-fast",
2003
+ * order: 6,
2004
+ * deriveTerrainDifficulty: ({walk, fly}) => Math.max(walk, fly),
2005
+ * getCostFunction: () => cost => cost * 2
2006
+ * },
2007
+ * blink: {
2008
+ * label: "TOKEN.MOVEMENT.ACTIONS.blink.label",
2009
+ * icon: "fa-solid fa-person-from-portal",
2010
+ * order: 7,
2011
+ * teleport: true,
2012
+ * getAnimationOptions: () => ({duration: 0}),
2013
+ * deriveTerrainDifficulty: () => 1
2014
+ * },
2015
+ * displace: {
2016
+ * label: "TOKEN.MOVEMENT.ACTIONS.displace.label",
2017
+ * icon: "fa-solid fa-transporter-1",
2018
+ * order: 8,
2019
+ * teleport: true,
2020
+ * measure: false,
2021
+ * walls: null,
2022
+ * visualize: false,
2023
+ * getAnimationOptions: () => ({duration: 0}),
2024
+ * canSelect: () => false,
2025
+ * deriveTerrainDifficulty: () => 1,
2026
+ * getCostFunction: () => () => 0
2027
+ * }
2028
+ * }
2029
+ * ```
2030
+ */
2031
+ actions: Record<string, CONFIG.Token.MovementActionConfig>;
2032
+ };
1861
2033
 
1862
2034
  /** @defaultValue `"TOKEN.Adjectives"` */
1863
2035
  adjectivesPrefix: string;
@@ -1867,7 +2039,7 @@ declare global {
1867
2039
  * @remarks Foundry leaves a comment claiming `"ring property is initialized in foundry.canvas.tokens.TokenRingConfig.initialize"`,
1868
2040
  * and while that's true, it's _instantiated_ here in `config.js` via defineProperty (`enumerable: true`)
1869
2041
  */
1870
- readonly ring: foundry.canvas.tokens.TokenRingConfig;
2042
+ readonly ring: foundry.canvas.placeables.tokens.TokenRingConfig;
1871
2043
  };
1872
2044
 
1873
2045
  /**
@@ -1888,11 +2060,10 @@ declare global {
1888
2060
  typeLabels?: Record<"base", string>;
1889
2061
 
1890
2062
  /** @defaultValue `typeof Wall` */
1891
- // eslint-disable-next-line no-restricted-syntax
1892
- objectClass: ConfiguredObjectClassOrDefault<typeof Wall>;
2063
+ objectClass: ConfiguredObjectClassOrDefault<typeof placeables.Wall>;
1893
2064
 
1894
2065
  /** @defaultValue `typeof WallsLayer` */
1895
- layerClass: WallsLayer.AnyConstructor;
2066
+ layerClass: canvasLayers.WallsLayer.AnyConstructor;
1896
2067
 
1897
2068
  /** @defaultValue `1` */
1898
2069
  thresholdAttenuationMultiplier: number;
@@ -2194,7 +2365,7 @@ declare global {
2194
2365
  * A collection of custom enrichers that can be applied to text content, allowing for the matching and handling of
2195
2366
  * custom patterns.
2196
2367
  */
2197
- enrichers: TextEditor.EnricherConfig[];
2368
+ enrichers: foundry.applications.ux.TextEditor.EnricherConfig[];
2198
2369
  };
2199
2370
 
2200
2371
  /**
@@ -2227,72 +2398,97 @@ declare global {
2227
2398
  * Configure the Application classes used to render various core UI elements in the application
2228
2399
  */
2229
2400
  ui: CONFIG.UI;
2401
+
2402
+ /**
2403
+ * Overrides for various core UI/UX helpers.
2404
+ */
2405
+ ux: CONFIG.UX;
2406
+
2407
+ /**
2408
+ * System and modules must prefix the names of the queries they register (e.g. "my-module.aCustomQuery").
2409
+ * Non-prefixed query names are reserved by core.
2410
+ */
2411
+ queries: CONFIG.Queries;
2230
2412
  }
2231
2413
 
2232
2414
  namespace CONFIG {
2233
2415
  interface UI {
2234
2416
  /** @defaultValue `MainMenu` */
2235
- menu: MainMenu.AnyConstructor;
2417
+ menu: foundry.applications.ui.MainMenu.AnyConstructor;
2236
2418
 
2237
2419
  /** @defaultValue `Sidebar` */
2238
- sidebar: Sidebar.AnyConstructor;
2420
+ sidebar: foundry.applications.sidebar.Sidebar.AnyConstructor;
2239
2421
 
2240
2422
  /** @defaultValue `Pause` */
2241
- pause: Pause.AnyConstructor;
2423
+ pause: foundry.applications.ui.GamePause.AnyConstructor;
2242
2424
 
2243
2425
  /** @defaultValue `SceneNavigation` */
2244
- nav: SceneNavigation.AnyConstructor;
2426
+ nav: foundry.applications.ui.SceneNavigation.AnyConstructor;
2245
2427
 
2246
2428
  /** @defaultValue `Notifications` */
2247
2429
  notifications: foundry.applications.ui.Notifications.AnyConstructor;
2248
2430
 
2249
2431
  /** @defaultValue `ActorDirectory` */
2250
- actors: ActorDirectory.AnyConstructor;
2432
+ actors: foundry.applications.sidebar.tabs.ActorDirectory.AnyConstructor;
2251
2433
 
2252
2434
  /** @defaultValue `CardsDirectory` */
2253
- cards: CardsDirectory.AnyConstructor;
2435
+ cards: foundry.applications.sidebar.tabs.CardsDirectory.AnyConstructor;
2254
2436
 
2255
2437
  /** @defaultValue `ChatLog` */
2256
- chat: ChatLog.AnyConstructor;
2438
+ chat: foundry.applications.sidebar.tabs.ChatLog.AnyConstructor;
2257
2439
 
2258
2440
  /** @defaultValue `CombatTracker` */
2259
- combat: CombatTracker.AnyConstructor;
2441
+ combat: foundry.applications.sidebar.tabs.CombatTracker.AnyConstructor;
2260
2442
 
2261
2443
  /** @defaultValue `CompendiumDirectory` */
2262
- compendium: CompendiumDirectory.AnyConstructor;
2444
+ compendium: foundry.applications.sidebar.tabs.CompendiumDirectory.AnyConstructor;
2263
2445
 
2264
2446
  /** @defaultValue `SceneControls` */
2265
- controls: SceneControls.AnyConstructor;
2447
+ controls: foundry.applications.ui.SceneControls.AnyConstructor;
2266
2448
 
2267
2449
  /** @defaultValue `Hotbar` */
2268
- hotbar: Hotbar.AnyConstructor;
2450
+ hotbar: foundry.applications.ui.Hotbar.AnyConstructor;
2269
2451
 
2270
2452
  /** @defaultValue `ItemDirectory` */
2271
- items: ItemDirectory.AnyConstructor;
2453
+ items: foundry.applications.sidebar.tabs.ItemDirectory.AnyConstructor;
2272
2454
 
2273
2455
  /** @defaultValue `JournalDirectory` */
2274
- journal: JournalDirectory.AnyConstructor;
2456
+ journal: foundry.applications.sidebar.tabs.JournalDirectory.AnyConstructor;
2275
2457
 
2276
2458
  /** @defaultValue `MacroDirectory` */
2277
- macros: MacroDirectory.AnyConstructor;
2459
+ macros: foundry.applications.sidebar.tabs.MacroDirectory.AnyConstructor;
2278
2460
 
2279
2461
  /** @defaultValue `PlayerList` */
2280
- players: PlayerList.AnyConstructor;
2462
+ players: foundry.applications.ui.Players.AnyConstructor;
2281
2463
 
2282
2464
  /** @defaultValue `PlaylistDirectory` */
2283
- playlists: PlaylistDirectory.AnyConstructor;
2465
+ playlists: foundry.applications.sidebar.tabs.PlaylistDirectory.AnyConstructor;
2284
2466
 
2285
2467
  /** @defaultValue `SceneDirectory` */
2286
- scenes: SceneDirectory.AnyConstructor;
2468
+ scenes: foundry.applications.sidebar.tabs.SceneDirectory.AnyConstructor;
2287
2469
 
2288
2470
  /** @defaultValue `Settings` */
2289
- settings: Settings.AnyConstructor;
2471
+ settings: foundry.applications.sidebar.tabs.Settings.AnyConstructor;
2290
2472
 
2291
2473
  /** @defaultValue `RollTableDirectory` */
2292
- tables: RollTableDirectory.AnyConstructor;
2474
+ tables: foundry.applications.sidebar.tabs.RollTableDirectory.AnyConstructor;
2293
2475
 
2294
2476
  /** @defaultValue `CameraViews` */
2295
- webrtc: CameraViews.AnyConstructor;
2477
+ webrtc: foundry.applications.apps.av.CameraViews.AnyConstructor;
2478
+ }
2479
+
2480
+ interface UX {
2481
+ ContextMenu: foundry.applications.ux.ContextMenu.AnyConstructor;
2482
+ Draggable: foundry.applications.ux.Draggable.AnyConstructor;
2483
+ DragDrop: foundry.applications.ux.DragDrop.AnyConstructor;
2484
+ FilePicker: foundry.applications.apps.FilePicker.AnyConstructor;
2485
+ TextEditor: foundry.applications.ux.TextEditor.AnyConstructor;
2486
+ TooltipManager: foundry.helpers.interaction.TooltipManager.AnyConstructor;
2487
+ }
2488
+
2489
+ interface Queries {
2490
+ dialog: typeof foundry.applications.api.DialogV2._handleQuery;
2491
+ confirmTeleportToken: typeof foundry.data.regionBehaviors.TeleportTokenRegionBehaviorType._confirmQuery;
2296
2492
  }
2297
2493
 
2298
2494
  interface Canvas {
@@ -2311,7 +2507,7 @@ declare global {
2311
2507
  /** @defaultValue `0xffffff` */
2312
2508
  brightestColor: number;
2313
2509
 
2314
- chatBubblesClass: ChatBubbles.AnyConstructor;
2510
+ chatBubblesClass: foundry.canvas.animation.ChatBubbles;
2315
2511
 
2316
2512
  /** @defaultValue `0.25` */
2317
2513
  darknessLightPenalty: number;
@@ -2362,7 +2558,7 @@ declare global {
2362
2558
 
2363
2559
  /**
2364
2560
  * @defaultValue `foundry.canvas.sources.PointSoundSource`
2365
- * @remarks Can't be `AnyConstructor` as it's instantiated via `new`
2561
+ * @remarks Can't be `AnyConstructor` as it's instantiated expecting a compatible constructor
2366
2562
  */
2367
2563
  soundSourceClass: typeof foundry.canvas.sources.PointSoundSource;
2368
2564
 
@@ -2376,22 +2572,22 @@ declare global {
2376
2572
  * @defaultValue `FogManager`
2377
2573
  * @remarks Can't be `AnyConstructor` because Foundry assumes it can call `new` with the same arguments FogManager accepts
2378
2574
  */
2379
- fogManager: typeof FogManager;
2575
+ fogManager: typeof perception.FogManager;
2380
2576
 
2381
2577
  polygonBackends: Canvas.PolygonBackends;
2382
2578
 
2383
2579
  /** @defaultValue `number` */
2384
2580
  darknessSourcePaddingMultiplier: number;
2385
2581
 
2386
- visibilityFilter: VisibilityFilter.AnyConstructor;
2582
+ visibilityFilter: foundry.canvas.rendering.filters.VisibilityFilter.AnyConstructor;
2387
2583
 
2388
- visualEffectsMaskingFilter: VisualEffectsMaskingFilter.AnyConstructor;
2584
+ visualEffectsMaskingFilter: foundry.canvas.rendering.filters.VisualEffectsMaskingFilter.AnyConstructor;
2389
2585
 
2390
2586
  /**
2391
2587
  * @defaultValue `Ruler`
2392
2588
  * @remarks Not `AnyConstructor` because it's instantiated with a `User.Implementation` as its first argument
2393
2589
  */
2394
- rulerClass: typeof Ruler;
2590
+ rulerClass: typeof foundry.canvas.interaction.Ruler;
2395
2591
 
2396
2592
  /** @defaultValue `0.8` */
2397
2593
  dragSpeedModifier: number;
@@ -2404,9 +2600,9 @@ declare global {
2404
2600
 
2405
2601
  gridStyles: Canvas.GridStyles;
2406
2602
 
2407
- lightAnimations: Canvas.LightAnimations;
2603
+ lightAnimations: RemoveIndexSignatures<Canvas.LightAnimations>;
2408
2604
 
2409
- darknessAnimations: Canvas.DarknessAnimations;
2605
+ darknessAnimations: RemoveIndexSignatures<Canvas.DarknessAnimations>;
2410
2606
 
2411
2607
  /**
2412
2608
  * A registry of Scenes which are managed by a specific SceneManager class.
@@ -2444,28 +2640,28 @@ declare global {
2444
2640
  namespace Canvas {
2445
2641
  interface Groups {
2446
2642
  /** @defaultValue `{ groupClass: HiddenCanvasGroup, parent: "stage" }` */
2447
- hidden: CONFIG.Canvas.GroupDefinition<typeof HiddenCanvasGroup>;
2643
+ hidden: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.HiddenCanvasGroup>;
2448
2644
 
2449
2645
  /** @defaultValue `{ groupClass: RenderedCanvasGroup, parent: "stage" }` */
2450
- rendered: CONFIG.Canvas.GroupDefinition<typeof RenderedCanvasGroup>;
2646
+ rendered: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.RenderedCanvasGroup>;
2451
2647
 
2452
2648
  /** @defaultValue `{ groupClass: EnvironmentCanvasGroup, parent: "rendered" }` */
2453
- environment: CONFIG.Canvas.GroupDefinition<typeof EnvironmentCanvasGroup>;
2649
+ environment: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.EnvironmentCanvasGroup>;
2454
2650
 
2455
2651
  /** @defaultValue `{ groupClass: PrimaryCanvasGroup, parent: "environment" }` */
2456
- primary: CONFIG.Canvas.GroupDefinition<typeof PrimaryCanvasGroup>;
2652
+ primary: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.PrimaryCanvasGroup>;
2457
2653
 
2458
2654
  /** @defaultValue `{ groupClass: EffectsCanvasGroup, parent: "environment" }` */
2459
- effects: CONFIG.Canvas.GroupDefinition<typeof EffectsCanvasGroup>;
2655
+ effects: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.EffectsCanvasGroup>;
2460
2656
 
2461
2657
  /** @defaultValue `{ groupClass: CanvasVisibility, parent: "rendered" }` */
2462
- visibility: CONFIG.Canvas.GroupDefinition<typeof CanvasVisibility>;
2658
+ visibility: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.CanvasVisibility>;
2463
2659
 
2464
2660
  /** @defaultValue `{ groupClass: InterfaceCanvasGroup, parent: "rendered", zIndexDrawings: 500, zIndexScrollingText: 1100 }` */
2465
- interface: CONFIG.Canvas.GroupDefinition<typeof InterfaceCanvasGroup>;
2661
+ interface: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.InterfaceCanvasGroup>;
2466
2662
 
2467
2663
  /** @defaultValue `{ groupClass: OverlayCanvasGroup, parent: "stage" }` */
2468
- overlay: CONFIG.Canvas.GroupDefinition<typeof OverlayCanvasGroup>;
2664
+ overlay: CONFIG.Canvas.GroupDefinition<typeof canvasGroups.OverlayCanvasGroup>;
2469
2665
  }
2470
2666
 
2471
2667
  // This requires `CanvasGroupConstructor` because `Canvas##createGroups` assumes there's no parameters.
@@ -2478,44 +2674,47 @@ declare global {
2478
2674
 
2479
2675
  interface Layers {
2480
2676
  /** @defaultValue `{ layerClass: WeatherLayer, group: "primary" }` */
2481
- weather: LayerDefinition<typeof WeatherEffects, "primary">;
2677
+ weather: LayerDefinition<typeof canvasLayers.WeatherEffects, "primary">;
2482
2678
 
2483
2679
  /** @defaultValue `{ layerClass: GridLayer, group: "interface" }` */
2484
- grid: LayerDefinition<typeof GridLayer, "interface">;
2680
+ grid: LayerDefinition<typeof canvasLayers.GridLayer, "interface">;
2485
2681
 
2486
2682
  /** @defaultValue `{ layerClass: RegionLayer, group: "interface" }` */
2487
2683
  // regions: LayerDefinition<typeof RegionLayer, "interface">;
2488
2684
 
2489
2685
  /** @defaultValue `{ layerClass: DrawingsLayer, group: "interface" }` */
2490
- drawings: LayerDefinition<typeof DrawingsLayer, "interface">;
2686
+ drawings: LayerDefinition<typeof canvasLayers.DrawingsLayer, "interface">;
2491
2687
 
2492
2688
  /** @defaultValue `{ layerClass: TemplateLayer, group: "interface" }` */
2493
- templates: LayerDefinition<typeof TemplateLayer, "interface">;
2689
+ templates: LayerDefinition<typeof canvasLayers.TemplateLayer, "interface">;
2494
2690
 
2495
2691
  /** @defaultValue `{ layerClass: TokenLayer, group: "interface" }` */
2496
- tiles: LayerDefinition<typeof TilesLayer, "interface">;
2692
+ tiles: LayerDefinition<typeof canvasLayers.TilesLayer, "interface">;
2497
2693
 
2498
2694
  /** @defaultValue `{ layerClass: WallsLayer, group: "interface" }` */
2499
- walls: LayerDefinition<typeof WallsLayer, "interface">;
2695
+ walls: LayerDefinition<typeof canvasLayers.WallsLayer, "interface">;
2500
2696
 
2501
2697
  /** @defaultValue `{ layerClass: TokenLayer, group: "interface" }` */
2502
- tokens: LayerDefinition<typeof TokenLayer, "interface">;
2698
+ tokens: LayerDefinition<typeof canvasLayers.TokenLayer, "interface">;
2503
2699
 
2504
2700
  /** @defaultValue `{ layerClass: SoundsLayer, group: "interface" }` */
2505
- sounds: LayerDefinition<typeof SoundsLayer, "interface">;
2701
+ sounds: LayerDefinition<typeof canvasLayers.SoundsLayer, "interface">;
2506
2702
 
2507
2703
  /** @defaultValue `{ layerClass: LightingLayer, group: "interface" }` */
2508
- lighting: LayerDefinition<typeof LightingLayer, "interface">;
2704
+ lighting: LayerDefinition<typeof canvasLayers.LightingLayer, "interface">;
2509
2705
 
2510
2706
  /** @defaultValue `{ layerClass: NotesLayer, group: "interface" }` */
2511
- notes: LayerDefinition<typeof NotesLayer, "interface">;
2707
+ notes: LayerDefinition<typeof canvasLayers.NotesLayer, "interface">;
2512
2708
 
2513
2709
  /** @defaultValue `{ layerClass: ControlsLayer, group: "interface" }` */
2514
- controls: LayerDefinition<typeof ControlsLayer, "interface">;
2710
+ controls: LayerDefinition<typeof canvasLayers.ControlsLayer, "interface">;
2515
2711
  }
2516
2712
 
2517
2713
  // This requires `typeof CanvasLayer` because `CanvasGroupMixin#_createLayers` assumes there's no parameters.
2518
- interface LayerDefinition<LayerClass extends typeof CanvasLayer, Group extends keyof CONFIG["Canvas"]["groups"]> {
2714
+ interface LayerDefinition<
2715
+ LayerClass extends typeof canvasLayers.CanvasLayer,
2716
+ Group extends keyof CONFIG["Canvas"]["groups"],
2717
+ > {
2519
2718
  layerClass: LayerClass;
2520
2719
  group: Group;
2521
2720
  }
@@ -2534,22 +2733,24 @@ declare global {
2534
2733
  bright: number;
2535
2734
  }
2536
2735
 
2736
+ /**
2737
+ * @privateRemarks Foundry types this as {@linkcode geometry.PointSourcePolygon | @enum PointSourcePolygon},
2738
+ * but all the runtime defaults are {@linkcode geometry.ClockwiseSweepPolygon | ClockwiseSweepPolygon}, and its
2739
+ * types and methods are assumed in other canvas classes, so entries have been constrained to it over `PointSourcePolygon`.
2740
+ * It is not impossible to add a new type of source, so the index signature is included, but this is unlikely to
2741
+ * come up in real world code.
2742
+ */
2537
2743
  interface PolygonBackends {
2538
- /** @defaultValue `typeof ClockwiseSweepPolygon` */
2539
- sight: PointSourcePolygon.AnyConstructor;
2540
-
2541
- /** @defaultValue `typeof ClockwiseSweepPolygon` */
2542
- light: PointSourcePolygon.AnyConstructor;
2543
-
2544
- /** @defaultValue `typeof ClockwiseSweepPolygon` */
2545
- sound: PointSourcePolygon.AnyConstructor;
2546
-
2547
- /** @defaultValue `typeof ClockwiseSweepPolygon` */
2548
- move: PointSourcePolygon.AnyConstructor;
2744
+ sight: geometry.ClockwiseSweepPolygon.AnyConstructor;
2745
+ light: geometry.ClockwiseSweepPolygon.AnyConstructor;
2746
+ darkness: geometry.ClockwiseSweepPolygon.AnyConstructor;
2747
+ sound: geometry.ClockwiseSweepPolygon.AnyConstructor;
2748
+ move: geometry.ClockwiseSweepPolygon.AnyConstructor;
2749
+ [K: string]: geometry.ClockwiseSweepPolygon.AnyConstructor;
2549
2750
  }
2550
2751
 
2551
2752
  interface GridStyles {
2552
- [key: string]: GridLayer.GridStyle;
2753
+ [key: string]: canvasLayers.GridLayer.GridStyle;
2553
2754
 
2554
2755
  /**
2555
2756
  * @defaultValue
@@ -2563,7 +2764,7 @@ declare global {
2563
2764
  * }
2564
2765
  * ```
2565
2766
  */
2566
- solidLines: GridLayer.GridStyle;
2767
+ solidLines: canvasLayers.GridLayer.GridStyle;
2567
2768
 
2568
2769
  /**
2569
2770
  * @defaultValue
@@ -2577,7 +2778,7 @@ declare global {
2577
2778
  * }
2578
2779
  * ```
2579
2780
  */
2580
- dashedLines: GridLayer.GridStyle;
2781
+ dashedLines: canvasLayers.GridLayer.GridStyle;
2581
2782
 
2582
2783
  /**
2583
2784
  * @defaultValue
@@ -2591,7 +2792,7 @@ declare global {
2591
2792
  * }
2592
2793
  * ```
2593
2794
  */
2594
- dottedLines: GridLayer.GridStyle;
2795
+ dottedLines: canvasLayers.GridLayer.GridStyle;
2595
2796
 
2596
2797
  /**
2597
2798
  * @defaultValue
@@ -2605,7 +2806,7 @@ declare global {
2605
2806
  * }
2606
2807
  * ```
2607
2808
  */
2608
- squarePoints: GridLayer.GridStyle;
2809
+ squarePoints: canvasLayers.GridLayer.GridStyle;
2609
2810
 
2610
2811
  /**
2611
2812
  * @defaultValue
@@ -2619,7 +2820,7 @@ declare global {
2619
2820
  * }
2620
2821
  * ```
2621
2822
  */
2622
- diamondPoints: GridLayer.GridStyle;
2823
+ diamondPoints: canvasLayers.GridLayer.GridStyle;
2623
2824
 
2624
2825
  /**
2625
2826
  * @defaultValue
@@ -2633,11 +2834,39 @@ declare global {
2633
2834
  * }
2634
2835
  * ```
2635
2836
  */
2636
- roundPoints: GridLayer.GridStyle;
2837
+ roundPoints: canvasLayers.GridLayer.GridStyle;
2637
2838
  }
2638
2839
 
2840
+ interface LightSourceAnimationConfig
2841
+ extends RenderedEffectSource._AnimationConfigBase,
2842
+ Pick<RenderedEffectSource._AnimationConfigLightingShaders, "colorationShader">,
2843
+ InexactPartial<Omit<RenderedEffectSource._AnimationConfigLightingShaders, "colorationShader">>,
2844
+ RenderedEffectSource._Seed {}
2845
+
2639
2846
  interface LightAnimations {
2640
- flame: {
2847
+ [animationID: string]: LightSourceAnimationConfig;
2848
+ flame: LightAnimations.Flame;
2849
+ torch: LightAnimations.Torch;
2850
+ revolving: LightAnimations.Revolving;
2851
+ siren: LightAnimations.Siren;
2852
+ pulse: LightAnimations.Pulse;
2853
+ chroma: LightAnimations.Chroma;
2854
+ wave: LightAnimations.Wave;
2855
+ fog: LightAnimations.Fog;
2856
+ sunburst: LightAnimations.Sunburst;
2857
+ dome: LightAnimations.Dome;
2858
+ emanation: LightAnimations.Emanation;
2859
+ hexa: LightAnimations.Hexa;
2860
+ ghost: LightAnimations.Ghost;
2861
+ energy: LightAnimations.Energy;
2862
+ vortex: LightAnimations.Vortex;
2863
+ witchwave: LightAnimations.WitchWave;
2864
+ rainbowswirl: LightAnimations.RainbowSwirl;
2865
+ radialrainbow: LightAnimations.RadialRainbow;
2866
+ fairy: LightAnimations.Fairy;
2867
+ }
2868
+ namespace LightAnimations {
2869
+ interface Flame extends LightSourceAnimationConfig {
2641
2870
  /** @defaultValue `"LIGHT.AnimationFame"` */
2642
2871
  label: string;
2643
2872
 
@@ -2645,13 +2874,13 @@ declare global {
2645
2874
  animation: BaseLightSource.LightAnimationFunction;
2646
2875
 
2647
2876
  /** @defaultValue `FlameIlluminationShader` */
2648
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2877
+ illuminationShader: foundry.canvas.rendering.shaders.AdaptiveIlluminationShader.AnyConstructor;
2649
2878
 
2650
2879
  /** @defaultValue `FlameColorationShader` */
2651
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2652
- };
2880
+ colorationShader: foundry.canvas.rendering.shaders.AdaptiveColorationShader.AnyConstructor;
2881
+ }
2653
2882
 
2654
- torch: {
2883
+ interface Torch extends LightSourceAnimationConfig {
2655
2884
  /** @defaultValue `"LIGHT.AnimationTorch"` */
2656
2885
  label: string;
2657
2886
 
@@ -2659,13 +2888,13 @@ declare global {
2659
2888
  animation: BaseLightSource.LightAnimationFunction;
2660
2889
 
2661
2890
  /** @defaultValue `TorchIlluminationShader` */
2662
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2891
+ illuminationShader: foundry.canvas.rendering.shaders.AdaptiveIlluminationShader.AnyConstructor;
2663
2892
 
2664
2893
  /** @defaultValue `TorchColorationShader` */
2665
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2666
- };
2894
+ colorationShader: foundry.canvas.rendering.shaders.AdaptiveColorationShader.AnyConstructor;
2895
+ }
2667
2896
 
2668
- revolving: {
2897
+ interface Revolving extends LightSourceAnimationConfig {
2669
2898
  /** @defaultValue `"LIGHT.AnimationRevolving"` */
2670
2899
  label: string;
2671
2900
 
@@ -2673,10 +2902,10 @@ declare global {
2673
2902
  animation: BaseLightSource.LightAnimationFunction;
2674
2903
 
2675
2904
  /** @defaultValue `RevolvingColorationShader` */
2676
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2677
- };
2905
+ colorationShader: foundry.canvas.rendering.shaders.AdaptiveColorationShader.AnyConstructor;
2906
+ }
2678
2907
 
2679
- siren: {
2908
+ interface Siren extends LightSourceAnimationConfig {
2680
2909
  /** @defaultValue `"LIGHT.AnimationSiren"` */
2681
2910
  label: string;
2682
2911
 
@@ -2684,13 +2913,13 @@ declare global {
2684
2913
  animation: BaseLightSource.LightAnimationFunction;
2685
2914
 
2686
2915
  /** @defaultValue `SirenIlluminationShader` */
2687
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2916
+ illuminationShader: foundry.canvas.rendering.shaders.AdaptiveIlluminationShader.AnyConstructor;
2688
2917
 
2689
2918
  /** @defaultValue `SirenIlluminationShader` */
2690
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2691
- };
2919
+ colorationShader: foundry.canvas.rendering.shaders.AdaptiveColorationShader.AnyConstructor;
2920
+ }
2692
2921
 
2693
- pulse: {
2922
+ interface Pulse extends LightSourceAnimationConfig {
2694
2923
  /** @defaultValue `"LIGHT.AnimationPulse"` */
2695
2924
  label: string;
2696
2925
 
@@ -2698,13 +2927,13 @@ declare global {
2698
2927
  animation: BaseLightSource.LightAnimationFunction;
2699
2928
 
2700
2929
  /** @defaultValue `PulseIlluminationShader` */
2701
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2930
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2702
2931
 
2703
2932
  /** @defaultValue `PulseColorationShader` */
2704
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2705
- };
2933
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2934
+ }
2706
2935
 
2707
- chroma: {
2936
+ interface Chroma extends LightSourceAnimationConfig {
2708
2937
  /** @defaultValue `"LIGHT.AnimationChroma"` */
2709
2938
  label: string;
2710
2939
 
@@ -2712,10 +2941,10 @@ declare global {
2712
2941
  animation: RenderedEffectSource.AnimationFunction;
2713
2942
 
2714
2943
  /** @defaultValue `ChromaColorationShader` */
2715
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2716
- };
2944
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2945
+ }
2717
2946
 
2718
- wave: {
2947
+ interface Wave extends LightSourceAnimationConfig {
2719
2948
  /** @defaultValue `"LIGHT.AnimationWave"` */
2720
2949
  label: string;
2721
2950
 
@@ -2723,13 +2952,13 @@ declare global {
2723
2952
  animation: RenderedEffectSource.AnimationFunction;
2724
2953
 
2725
2954
  /** @defaultValue `WaveIlluminationShader` */
2726
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2955
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2727
2956
 
2728
2957
  /** @defaultValue `WaveColorationShader` */
2729
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2730
- };
2958
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2959
+ }
2731
2960
 
2732
- fog: {
2961
+ interface Fog extends LightSourceAnimationConfig {
2733
2962
  /** @defaultValue `"LIGHT.AnimationFog"` */
2734
2963
  label: string;
2735
2964
 
@@ -2737,10 +2966,10 @@ declare global {
2737
2966
  animation: RenderedEffectSource.AnimationFunction;
2738
2967
 
2739
2968
  /** @defaultValue `FogColorationShader` */
2740
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2741
- };
2969
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2970
+ }
2742
2971
 
2743
- sunburst: {
2972
+ interface Sunburst extends LightSourceAnimationConfig {
2744
2973
  /** @defaultValue `"LIGHT.AnimationSunburst"` */
2745
2974
  label: string;
2746
2975
 
@@ -2748,13 +2977,13 @@ declare global {
2748
2977
  animation: RenderedEffectSource.AnimationFunction;
2749
2978
 
2750
2979
  /** @defaultValue `SunburstIlluminationShader` */
2751
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
2980
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2752
2981
 
2753
2982
  /** @defaultValue `SunburstColorationShader` */
2754
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2755
- };
2983
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2984
+ }
2756
2985
 
2757
- dome: {
2986
+ interface Dome extends LightSourceAnimationConfig {
2758
2987
  /** @defaultValue `"LIGHT.AnimationLightDome"` */
2759
2988
  label: string;
2760
2989
 
@@ -2762,10 +2991,10 @@ declare global {
2762
2991
  animation: RenderedEffectSource.AnimationFunction;
2763
2992
 
2764
2993
  /** @defaultValue `LightDomeColorationShader` */
2765
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2766
- };
2994
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
2995
+ }
2767
2996
 
2768
- emanation: {
2997
+ interface Emanation extends LightSourceAnimationConfig {
2769
2998
  /** @defaultValue `"LIGHT.AnimationEmanation"` */
2770
2999
  label: string;
2771
3000
 
@@ -2773,10 +3002,10 @@ declare global {
2773
3002
  animation: RenderedEffectSource.AnimationFunction;
2774
3003
 
2775
3004
  /** @defaultValue `EmanationColorationShader` */
2776
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2777
- };
3005
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3006
+ }
2778
3007
 
2779
- hexa: {
3008
+ interface Hexa extends LightSourceAnimationConfig {
2780
3009
  /** @defaultValue `"LIGHT.AnimationHexaDome";` */
2781
3010
  label: string;
2782
3011
 
@@ -2784,10 +3013,10 @@ declare global {
2784
3013
  animation: RenderedEffectSource.AnimationFunction;
2785
3014
 
2786
3015
  /** @defaultValue `HexaDomeColorationShader` */
2787
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2788
- };
3016
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3017
+ }
2789
3018
 
2790
- ghost: {
3019
+ interface Ghost extends LightSourceAnimationConfig {
2791
3020
  /** @defaultValue `"LIGHT.AnimationGhostLight"` */
2792
3021
  label: string;
2793
3022
 
@@ -2795,13 +3024,13 @@ declare global {
2795
3024
  animation: RenderedEffectSource.AnimationFunction;
2796
3025
 
2797
3026
  /** @defaultValue `GhostLightIlluminationShader` */
2798
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
3027
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2799
3028
 
2800
3029
  /** @defaultValue `GhostLightColorationShader` */
2801
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2802
- };
3030
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3031
+ }
2803
3032
 
2804
- energy: {
3033
+ interface Energy extends LightSourceAnimationConfig {
2805
3034
  /** @defaultValue `"LIGHT.AnimationEnergyField"` */
2806
3035
  label: string;
2807
3036
 
@@ -2809,10 +3038,10 @@ declare global {
2809
3038
  animation: RenderedEffectSource.AnimationFunction;
2810
3039
 
2811
3040
  /** @defaultValue `EnergyFieldColorationShader` */
2812
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2813
- };
3041
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3042
+ }
2814
3043
 
2815
- vortex: {
3044
+ interface Vortex extends LightSourceAnimationConfig {
2816
3045
  /** @defaultValue `"LIGHT.AnimationVortex"` */
2817
3046
  label: string;
2818
3047
 
@@ -2820,13 +3049,13 @@ declare global {
2820
3049
  animation: RenderedEffectSource.AnimationFunction;
2821
3050
 
2822
3051
  /** @defaultValue `VortexIlluminationShader` */
2823
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
3052
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2824
3053
 
2825
3054
  /** @defaultValue `VortexColorationShader` */
2826
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2827
- };
3055
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3056
+ }
2828
3057
 
2829
- witchwave: {
3058
+ interface WitchWave extends LightSourceAnimationConfig {
2830
3059
  /** @defaultValue `"LIGHT.AnimationBewitchingWave"` */
2831
3060
  label: string;
2832
3061
 
@@ -2834,13 +3063,13 @@ declare global {
2834
3063
  animation: RenderedEffectSource.AnimationFunction;
2835
3064
 
2836
3065
  /** @defaultValue `BewitchingWaveIlluminationShader` */
2837
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
3066
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2838
3067
 
2839
3068
  /** @defaultValue `BewitchingWaveColorationShader` */
2840
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2841
- };
3069
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3070
+ }
2842
3071
 
2843
- rainbowswirl: {
3072
+ interface RainbowSwirl extends LightSourceAnimationConfig {
2844
3073
  /** @defaultValue `"LIGHT.AnimationSwirlingRainbow"` */
2845
3074
  label: string;
2846
3075
 
@@ -2848,10 +3077,10 @@ declare global {
2848
3077
  animation: RenderedEffectSource.AnimationFunction;
2849
3078
 
2850
3079
  /** @defaultValue `SwirlingRainbowColorationShader` */
2851
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2852
- };
3080
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3081
+ }
2853
3082
 
2854
- radialrainbow: {
3083
+ interface RadialRainbow extends LightSourceAnimationConfig {
2855
3084
  /** @defaultValue `"LIGHT.AnimationRadialRainbow"` */
2856
3085
  label: string;
2857
3086
 
@@ -2859,10 +3088,10 @@ declare global {
2859
3088
  animation: RenderedEffectSource.AnimationFunction;
2860
3089
 
2861
3090
  /** @defaultValue `RadialRainbowColorationShader` */
2862
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2863
- };
3091
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3092
+ }
2864
3093
 
2865
- fairy: {
3094
+ interface Fairy extends LightSourceAnimationConfig {
2866
3095
  /** @defaultValue `"LIGHT.AnimationFairyLight"` */
2867
3096
  label: string;
2868
3097
 
@@ -2870,15 +3099,27 @@ declare global {
2870
3099
  animation: RenderedEffectSource.AnimationFunction;
2871
3100
 
2872
3101
  /** @defaultValue `FairyLightIlluminationShader` */
2873
- illuminationShader: AdaptiveIlluminationShader.AnyConstructor;
3102
+ illuminationShader: shaders.AdaptiveIlluminationShader.AnyConstructor;
2874
3103
 
2875
3104
  /** @defaultValue `FairyLightColorationShader` */
2876
- colorationShader: AdaptiveColorationShader.AnyConstructor;
2877
- };
3105
+ colorationShader: shaders.AdaptiveColorationShader.AnyConstructor;
3106
+ }
2878
3107
  }
2879
3108
 
3109
+ interface DarknessSourceAnimationConfig
3110
+ extends RenderedEffectSource._AnimationConfigBase,
3111
+ RenderedEffectSource._AnimationConfigDarknessShaders,
3112
+ RenderedEffectSource._Seed {}
3113
+
2880
3114
  interface DarknessAnimations {
2881
- magicalGloom: {
3115
+ [animationID: string]: DarknessSourceAnimationConfig;
3116
+ magicalGloom: DarknessAnimations.MagicalGloom;
3117
+ roiling: DarknessAnimations.Roiling;
3118
+ hole: DarknessAnimations.Hole;
3119
+ }
3120
+
3121
+ namespace DarknessAnimations {
3122
+ interface MagicalGloom extends DarknessSourceAnimationConfig {
2882
3123
  /** @defaultValue `"LIGHT.AnimationMagicalGloom"` */
2883
3124
  label: string;
2884
3125
 
@@ -2886,10 +3127,10 @@ declare global {
2886
3127
  animation: RenderedEffectSource.AnimationFunction;
2887
3128
 
2888
3129
  /** @defaultValue `MagicalGloomDarknessShader` */
2889
- darknessShader: AdaptiveDarknessShader.AnyConstructor;
2890
- };
3130
+ darknessShader: shaders.AdaptiveDarknessShader.AnyConstructor;
3131
+ }
2891
3132
 
2892
- roiling: {
3133
+ interface Roiling extends DarknessSourceAnimationConfig {
2893
3134
  /** @defaultValue `"LIGHT.AnimationRoilingMass"` */
2894
3135
  label: string;
2895
3136
 
@@ -2897,10 +3138,10 @@ declare global {
2897
3138
  animation: RenderedEffectSource.AnimationFunction;
2898
3139
 
2899
3140
  /** @defaultValue `RoilingDarknessShader` */
2900
- darknessShader: AdaptiveDarknessShader.AnyConstructor;
2901
- };
3141
+ darknessShader: shaders.AdaptiveDarknessShader.AnyConstructor;
3142
+ }
2902
3143
 
2903
- hole: {
3144
+ interface Hole extends DarknessSourceAnimationConfig {
2904
3145
  /** @defaultValue `"LIGHT.AnimationBlackHole"` */
2905
3146
  label: string;
2906
3147
 
@@ -2908,8 +3149,8 @@ declare global {
2908
3149
  animation: RenderedEffectSource.AnimationFunction;
2909
3150
 
2910
3151
  /** @defaultValue `BlackHoleDarknessShader` */
2911
- darknessShader: AdaptiveDarknessShader.AnyConstructor;
2912
- };
3152
+ darknessShader: shaders.AdaptiveDarknessShader.AnyConstructor;
3153
+ }
2913
3154
  }
2914
3155
 
2915
3156
  interface Pings {
@@ -3007,7 +3248,7 @@ declare global {
3007
3248
  }
3008
3249
 
3009
3250
  interface VisionModes {
3010
- [key: string]: VisionMode;
3251
+ [key: string]: perception.VisionMode;
3011
3252
 
3012
3253
  /**
3013
3254
  * Default (Basic) Vision
@@ -3023,7 +3264,7 @@ declare global {
3023
3264
  * })
3024
3265
  * ```
3025
3266
  */
3026
- basic: VisionMode;
3267
+ basic: perception.VisionMode;
3027
3268
 
3028
3269
  /**
3029
3270
  * Darkvision
@@ -3049,7 +3290,7 @@ declare global {
3049
3290
  * })
3050
3291
  * ```
3051
3292
  */
3052
- darkvision: VisionMode;
3293
+ darkvision: perception.VisionMode;
3053
3294
 
3054
3295
  /**
3055
3296
  * Darkvision
@@ -3083,7 +3324,7 @@ declare global {
3083
3324
  * })
3084
3325
  * ```
3085
3326
  */
3086
- monochromatic: VisionMode;
3327
+ monochromatic: perception.VisionMode;
3087
3328
 
3088
3329
  /**
3089
3330
  * Blindness
@@ -3109,7 +3350,7 @@ declare global {
3109
3350
  * }),
3110
3351
  * ```
3111
3352
  */
3112
- blindness: VisionMode;
3353
+ blindness: perception.VisionMode;
3113
3354
 
3114
3355
  /**
3115
3356
  * Tremorsense
@@ -3137,7 +3378,7 @@ declare global {
3137
3378
  * }, {animated: true})
3138
3379
  * ```
3139
3380
  */
3140
- tremorsense: VisionMode;
3381
+ tremorsense: perception.VisionMode;
3141
3382
 
3142
3383
  /**
3143
3384
  * Light Amplification
@@ -3177,25 +3418,25 @@ declare global {
3177
3418
  * })
3178
3419
  * ```
3179
3420
  */
3180
- lightAmplification: VisionMode;
3421
+ lightAmplification: perception.VisionMode;
3181
3422
  }
3182
3423
 
3183
3424
  interface DetectionModes {
3184
- [key: string]: DetectionMode;
3425
+ [key: string]: perception.DetectionMode;
3185
3426
 
3186
- lightPerception: DetectionModeLightPerception;
3427
+ lightPerception: perception.DetectionModeLightPerception;
3187
3428
 
3188
- basicSight: DetectionModeBasicSight;
3429
+ basicSight: perception.DetectionModeDarkvision;
3189
3430
 
3190
- seeInvisibility: DetectionModeInvisibility;
3431
+ seeInvisibility: perception.DetectionModeInvisibility;
3191
3432
 
3192
- senseInvisibility: DetectionModeInvisibility;
3433
+ senseInvisibility: perception.DetectionModeInvisibility;
3193
3434
 
3194
- feelTremor: DetectionModeTremor;
3435
+ feelTremor: perception.DetectionModeTremor;
3195
3436
 
3196
- seeAll: DetectionModeAll;
3437
+ seeAll: perception.DetectionModeAll;
3197
3438
 
3198
- senseAll: DetectionModeAll;
3439
+ senseAll: perception.DetectionModeAll;
3199
3440
  }
3200
3441
  }
3201
3442
 
@@ -3276,7 +3517,57 @@ declare global {
3276
3517
  }
3277
3518
 
3278
3519
  namespace Dice {
3279
- interface RollModes extends Record<foundry.CONST.DICE_ROLL_MODES, string> {}
3520
+ type RollMode = Brand<string, "CONFIG.Dice.RollMode">;
3521
+
3522
+ interface RollModes {
3523
+ [rollMode: RollMode]: RollModeConfig;
3524
+ publicroll: RollModes.PublicRoll;
3525
+ gmroll: RollModes.GMRoll;
3526
+ blindroll: RollModes.BlindRoll;
3527
+ selfroll: RollModes.SelfRoll;
3528
+ }
3529
+
3530
+ interface RollModeConfig {
3531
+ /** @remarks A localization key */
3532
+ label: string;
3533
+
3534
+ /** @remarks Just the class string, e.g "fa-solid fa-globe" */
3535
+ icon: string;
3536
+ }
3537
+
3538
+ namespace RollModes {
3539
+ interface PublicRoll extends RollModeConfig {
3540
+ /** @defaultValue `"CHAT.RollPublic"` */
3541
+ label: string;
3542
+
3543
+ /** @defaultValue `"fa-solid fa-globe"` */
3544
+ icon: string;
3545
+ }
3546
+
3547
+ interface GMRoll extends RollModeConfig {
3548
+ /** @defaultValue `"CHAT.RollPrivate"` */
3549
+ label: string;
3550
+
3551
+ /** @defaultValue `"fa-solid fa-user-secret"` */
3552
+ icon: string;
3553
+ }
3554
+
3555
+ interface BlindRoll extends RollModeConfig {
3556
+ /** @defaultValue `"CHAT.RollBlind"` */
3557
+ label: string;
3558
+
3559
+ /** @defaultValue `"fa-solid fa-eye-slash"` */
3560
+ icon: string;
3561
+ }
3562
+
3563
+ interface SelfRoll extends RollModeConfig {
3564
+ /** @defaultValue `"CHAT.RollSelf"` */
3565
+ label: string;
3566
+
3567
+ /** @defaultValue `"fa-solid fa-user"` */
3568
+ icon: string;
3569
+ }
3570
+ }
3280
3571
  }
3281
3572
 
3282
3573
  namespace Combat {
@@ -3285,12 +3576,167 @@ declare global {
3285
3576
  mc: CONFIG.Combat.SoundPreset;
3286
3577
  }
3287
3578
  }
3579
+
3580
+ namespace Token {
3581
+ /** Returns the cost of the move between the grid spaces (nonnegative) */
3582
+ type MovementActionCostFunction = (
3583
+ /** The base cost (terrain cost) */
3584
+ baseCost: number,
3585
+
3586
+ /**
3587
+ * The offset that is moved from
3588
+ * @remarks foundry marked as `readonly`
3589
+ */
3590
+ from: foundry.grid.BaseGrid.Offset3D,
3591
+
3592
+ /**
3593
+ * The offset that is moved to
3594
+ * @remarks foundry marked as `readonly`
3595
+ */
3596
+ to: foundry.grid.BaseGrid.Offset3D,
3597
+
3598
+ /** The distance between the grid spaces */
3599
+ distance: number,
3600
+
3601
+ /**
3602
+ * The properties of the segment
3603
+ * @remarks foundry marked as `readonly`
3604
+ */
3605
+ segment: TokenDocument.MovementSegmentData,
3606
+ ) => number;
3607
+
3608
+ interface AnimationOptions
3609
+ extends Pick<
3610
+ foundry.canvas.placeables.Token.AnimateOptions,
3611
+ "duration" | "movementSpeed" | "easing" | "ontick"
3612
+ > {}
3613
+
3614
+ interface _MovementActionConfig {
3615
+ /**
3616
+ * The FontAwesome icon class.
3617
+ */
3618
+ icon: string;
3619
+
3620
+ /**
3621
+ * An image filename. Takes precedence over the icon if both are supplied.
3622
+ */
3623
+ img: string;
3624
+
3625
+ /**
3626
+ * The number that is used to sort the movement actions / movement action configs.
3627
+ * Determines the order in the Token Config/HUD and of cycling.
3628
+ * @defaultValue `0`
3629
+ */
3630
+ order: number;
3631
+
3632
+ /**
3633
+ * Is teleportation? If true, the movement does not go through all grid spaces
3634
+ * between the origin and destination: it goes from teh origin immediately to the destination grid space.
3635
+ * @defaultValue `false`
3636
+ */
3637
+ teleport: boolean;
3638
+
3639
+ /**
3640
+ * Is the movement measured? The distance, cost, spaces, and diagonals
3641
+ * of a segment that is not measured are always 0.
3642
+ * @defaultValue `true`
3643
+ */
3644
+ measure: boolean;
3645
+
3646
+ /**
3647
+ * The type of walls that block this movement, if any.
3648
+ * @defaultValue `"move"`
3649
+ */
3650
+ walls: ConcreteKeys<CONFIG.Canvas.PolygonBackends> | null;
3651
+
3652
+ /**
3653
+ * Is segment of the movement visualized by the ruler?
3654
+ * @defaultValue `true`
3655
+ */
3656
+ visualize: boolean;
3657
+
3658
+ /**
3659
+ * Get the default animation options for this movement action.
3660
+ * @defaultValue `() => ({})`
3661
+ */
3662
+ getAnimationOptions: (token: foundry.canvas.placeables.Token) => AnimationOptions;
3663
+
3664
+ /**
3665
+ * Can the current User select this movement action for the given Token? If selectable, the movement action of the
3666
+ * Token can be set to this movement action by the User via the UI and when cycling.
3667
+ * @defaultValue `() => true`
3668
+ */
3669
+ canSelect: (token: TokenDocument.Implementation | foundry.data.PrototypeToken) => boolean;
3670
+
3671
+ /**
3672
+ * If set, this function is used to derive the terrain difficulty from from nonderived difficulties,
3673
+ * which are those that do not have `deriveTerrainDifficulty` set.
3674
+ * Used by {@linkcode foundry.data.regionBehaviors.ModifyMovementCostRegionBehaviorType}.
3675
+ * Derived terrain difficulties are not configurable via the behavior UI.
3676
+ */
3677
+ deriveTerrainDifficulty: ((nonDerivedDifficulties: { [action: string]: number }) => number) | null;
3678
+
3679
+ /**
3680
+ * The cost modification function.
3681
+ * @defaultValue `() => cost => cost`
3682
+ */
3683
+ getCostFunction: (
3684
+ token: TokenDocument.Implementation,
3685
+ options: foundry.canvas.placeables.Token.MeasureMovementPathOptions,
3686
+ ) => MovementActionCostFunction;
3687
+ }
3688
+
3689
+ interface MovementActionOptionalConfig extends InexactPartial<_MovementActionConfig> {}
3690
+
3691
+ interface MovementActionConfig extends MovementActionOptionalConfig {
3692
+ /**
3693
+ * The label of the movement action.
3694
+ */
3695
+ label: string;
3696
+ }
3697
+ }
3698
+
3699
+ interface Time {
3700
+ /** The Calendar configuration used for in-world timekeeping. */
3701
+ worldCalendarConfig: foundry.data.CalendarData.CreateData;
3702
+
3703
+ /** The CalendarData subclass is used for in-world timekeeping. */
3704
+ worldCalendarClass: typeof foundry.data.CalendarData;
3705
+
3706
+ /** The Calendar configuration used for IRL timekeeping. */
3707
+ earthCalendarConfig: foundry.data.CalendarData.CreateData;
3708
+
3709
+ /** The CalendarData subclass is used for IRL timekeeping. */
3710
+ earthCalendarClass: typeof foundry.data.CalendarData;
3711
+
3712
+ /**
3713
+ * The number of seconds which automatically elapse at the end of a Combat turn.
3714
+ * @defaultValue `0`
3715
+ */
3716
+ turnTime: number;
3717
+
3718
+ /**
3719
+ * The number of seconds which automatically elapse at the end of a Combat round.
3720
+ * @defaultValue `0`
3721
+ */
3722
+ roundTime: number;
3723
+
3724
+ /** Formatting functions used to display time data as strings. */
3725
+ formatters: CONFIG.Time.formatters;
3726
+ }
3727
+
3728
+ namespace Time {
3729
+ interface formatters {
3730
+ timestamp: typeof foundry.data.CalendarData.formatTimestamp;
3731
+ ago: typeof foundry.data.CalendarData.formatAgo;
3732
+ }
3733
+ }
3288
3734
  }
3289
3735
 
3290
3736
  const CONFIG: CONFIG;
3291
3737
  }
3292
3738
 
3293
- type ConfiguredObjectClassOrDefault<Fallback extends PlaceableObject.AnyConstructor> = GetKey<
3739
+ type ConfiguredObjectClassOrDefault<Fallback extends placeables.PlaceableObject.AnyConstructor> = GetKey<
3294
3740
  PlaceableObjectClassConfig,
3295
3741
  Fallback["embeddedName"],
3296
3742
  Fallback
@@ -3301,7 +3747,7 @@ interface SheetClassConfig {
3301
3747
 
3302
3748
  canConfigure: boolean;
3303
3749
 
3304
- cls: DocumentSheet.AnyConstructor;
3750
+ cls: foundry.applications.api.DocumentSheetV2.AnyConstructor | foundry.appv1.api.DocumentSheet.AnyConstructor;
3305
3751
 
3306
3752
  default: boolean;
3307
3753