@league-of-foundry-developers/foundry-vtt-types 9.280.0 → 12.331.1-beta

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 (938) hide show
  1. package/README.md +21 -18
  2. package/index-lenient.d.mts +7 -0
  3. package/index.d.mts +5 -0
  4. package/package.json +67 -39
  5. package/src/foundry/client/apps/app.d.mts +595 -0
  6. package/src/foundry/client/apps/av/av-config.d.mts +93 -0
  7. package/src/foundry/client/apps/av/cameras.d.mts +189 -0
  8. package/src/foundry/client/apps/av/index.d.mts +3 -0
  9. package/src/foundry/client/apps/dialogs/folder-export.d.mts +16 -0
  10. package/src/foundry/client/apps/dialogs/index.d.mts +1 -0
  11. package/src/foundry/client/apps/form.d.mts +469 -0
  12. package/src/foundry/client/apps/forms/actor.d.mts +176 -0
  13. package/src/foundry/client/apps/forms/adventure-exporter.d.mts +132 -0
  14. package/src/foundry/client/apps/forms/adventure-importer.d.mts +85 -0
  15. package/src/foundry/client/apps/forms/base-sheet.d.mts +45 -0
  16. package/src/foundry/client/apps/forms/card-config.d.mts +48 -0
  17. package/src/foundry/client/apps/forms/cards-config.d.mts +141 -0
  18. package/src/foundry/client/apps/forms/combat-config.d.mts +51 -0
  19. package/src/foundry/client/apps/forms/combatant-config.d.mts +45 -0
  20. package/src/foundry/client/apps/forms/default-sheets-config.d.mts +46 -0
  21. package/src/foundry/client/apps/forms/effect-config.d.mts +77 -0
  22. package/src/foundry/client/apps/forms/folder-config.d.mts +60 -0
  23. package/src/foundry/client/apps/forms/fonts.d.mts +168 -0
  24. package/src/foundry/client/apps/forms/grid-config.d.mts +144 -0
  25. package/src/foundry/client/apps/forms/image-popout.d.mts +179 -0
  26. package/src/foundry/client/apps/forms/index.d.mts +26 -0
  27. package/src/foundry/client/apps/forms/item.d.mts +58 -0
  28. package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +313 -0
  29. package/src/foundry/client/apps/forms/journal-sheet.d.mts +312 -0
  30. package/src/foundry/client/apps/forms/macro-config.d.mts +59 -0
  31. package/src/foundry/client/apps/forms/measure-template.d.mts +59 -0
  32. package/src/foundry/client/apps/forms/ownership.d.mts +66 -0
  33. package/src/foundry/client/apps/forms/playlist-config.d.mts +46 -0
  34. package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +63 -0
  35. package/src/foundry/client/apps/forms/roll-table-config.d.mts +160 -0
  36. package/src/foundry/client/apps/forms/scene-config.d.mts +157 -0
  37. package/src/foundry/client/apps/forms/sheet-config.d.mts +202 -0
  38. package/src/foundry/client/apps/forms/user-config.d.mts +71 -0
  39. package/src/foundry/client/apps/hud/chatbubble.d.mts +113 -0
  40. package/src/foundry/client/apps/hud/container.d.mts +54 -0
  41. package/src/foundry/client/apps/hud/controls.d.mts +166 -0
  42. package/src/foundry/client/apps/hud/hotbar.d.mts +169 -0
  43. package/src/foundry/client/apps/hud/hud.d.mts +87 -0
  44. package/src/foundry/client/apps/hud/index.d.mts +9 -0
  45. package/src/foundry/client/apps/hud/menu.d.mts +77 -0
  46. package/src/foundry/client/apps/hud/navigation.d.mts +116 -0
  47. package/src/foundry/client/apps/hud/pause.d.mts +32 -0
  48. package/src/foundry/client/apps/hud/players.d.mts +82 -0
  49. package/src/foundry/client/apps/i18n.d.mts +162 -0
  50. package/src/foundry/client/apps/index.d.mts +10 -0
  51. package/src/foundry/client/apps/placeables/drawing-config.d.mts +80 -0
  52. package/src/foundry/client/apps/placeables/drawing-hud.d.mts +31 -0
  53. package/src/foundry/client/apps/placeables/index.d.mts +10 -0
  54. package/src/foundry/client/apps/placeables/light-config.d.mts +100 -0
  55. package/src/foundry/client/apps/placeables/note-config.d.mts +65 -0
  56. package/src/foundry/client/apps/placeables/sound-config.d.mts +43 -0
  57. package/src/foundry/client/apps/placeables/tile-config.d.mts +54 -0
  58. package/src/foundry/client/apps/placeables/tile-hud.d.mts +37 -0
  59. package/src/foundry/client/apps/placeables/token-config.d.mts +244 -0
  60. package/src/foundry/client/apps/placeables/token-hud.d.mts +134 -0
  61. package/src/foundry/client/apps/placeables/wall-config.d.mts +63 -0
  62. package/src/foundry/client/apps/sidebar/apps/chat-popout.d.mts +39 -0
  63. package/src/foundry/client/apps/sidebar/apps/client-settings.d.mts +98 -0
  64. package/src/foundry/client/apps/sidebar/apps/compendium.d.mts +93 -0
  65. package/src/foundry/client/apps/sidebar/apps/index.d.mts +10 -0
  66. package/src/foundry/client/apps/sidebar/apps/invitation-links.d.mts +32 -0
  67. package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +180 -0
  68. package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +135 -0
  69. package/src/foundry/client/apps/sidebar/apps/permission-config.d.mts +72 -0
  70. package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +121 -0
  71. package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +54 -0
  72. package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +57 -0
  73. package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +276 -0
  74. package/src/foundry/client/apps/sidebar/document-directory.d.mts +164 -0
  75. package/src/foundry/client/apps/sidebar/index.d.mts +7 -0
  76. package/src/foundry/client/apps/sidebar/package-configuration.d.mts +86 -0
  77. package/src/foundry/client/apps/sidebar/sidebar-tab.d.mts +80 -0
  78. package/src/foundry/client/apps/sidebar/sidebar.d.mts +95 -0
  79. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +20 -0
  80. package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +12 -0
  81. package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +364 -0
  82. package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +156 -0
  83. package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +105 -0
  84. package/src/foundry/client/apps/sidebar/tabs/index.d.mts +12 -0
  85. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +14 -0
  86. package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +13 -0
  87. package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +16 -0
  88. package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +275 -0
  89. package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +13 -0
  90. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +34 -0
  91. package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +72 -0
  92. package/src/foundry/client/apps/templates.d.mts +546 -0
  93. package/src/foundry/client/audio/audio.d.mts +390 -0
  94. package/src/foundry/client/audio/container.d.mts +176 -0
  95. package/src/foundry/client/audio/index.d.mts +3 -0
  96. package/src/foundry/client/audio/sound.d.mts +307 -0
  97. package/src/foundry/client/av/client.d.mts +162 -0
  98. package/src/foundry/client/av/clients/index.d.mts +1 -0
  99. package/src/foundry/client/av/clients/simplepeer.d.mts +155 -0
  100. package/src/foundry/client/av/index.d.mts +4 -0
  101. package/src/foundry/client/av/master.d.mts +191 -0
  102. package/src/foundry/client/av/settings.d.mts +315 -0
  103. package/src/foundry/client/config.d.mts +2856 -0
  104. package/src/foundry/client/core/clipboard.d.mts +20 -0
  105. package/src/foundry/client/core/document-index.d.mts +118 -0
  106. package/src/foundry/client/core/gamepad.d.mts +62 -0
  107. package/src/foundry/client/core/hooks.d.mts +132 -0
  108. package/src/foundry/client/core/image.d.mts +190 -0
  109. package/src/foundry/client/core/index.d.mts +20 -0
  110. package/src/foundry/client/core/issues.d.mts +102 -0
  111. package/src/foundry/client/core/keybindings.d.mts +312 -0
  112. package/src/foundry/client/core/keyboard.d.mts +224 -0
  113. package/src/foundry/client/core/mouse.d.mts +28 -0
  114. package/src/foundry/client/core/nue.d.mts +38 -0
  115. package/src/foundry/client/core/packages.d.mts +185 -0
  116. package/src/foundry/client/core/settings.d.mts +260 -0
  117. package/src/foundry/client/core/socket.d.mts +16 -0
  118. package/src/foundry/client/core/sorting.d.mts +76 -0
  119. package/src/foundry/client/core/time.d.mts +73 -0
  120. package/src/foundry/client/core/tooltip.d.mts +198 -0
  121. package/src/foundry/client/core/tour.d.mts +279 -0
  122. package/src/foundry/client/core/tours.d.mts +22 -0
  123. package/src/foundry/client/core/utils.d.mts +71 -0
  124. package/src/foundry/client/core/video.d.mts +161 -0
  125. package/src/foundry/client/core/workers.d.mts +128 -0
  126. package/src/foundry/client/data/abstract/canvas-document.d.mts +63 -0
  127. package/src/foundry/client/data/abstract/client-document.d.mts +717 -0
  128. package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +135 -0
  129. package/src/foundry/client/data/abstract/document-collection.d.mts +204 -0
  130. package/src/foundry/client/data/abstract/index.d.mts +5 -0
  131. package/src/foundry/client/data/abstract/world-collection.d.mts +171 -0
  132. package/src/foundry/client/data/collections/actors.d.mts +41 -0
  133. package/src/foundry/client/data/collections/cards.d.mts +12 -0
  134. package/src/foundry/client/data/collections/combats.d.mts +43 -0
  135. package/src/foundry/client/data/collections/compendium-collection.d.mts +504 -0
  136. package/src/foundry/client/data/collections/compendium-folders.d.mts +13 -0
  137. package/src/foundry/client/data/collections/compendium-packs.d.mts +27 -0
  138. package/src/foundry/client/data/collections/fog.d.mts +17 -0
  139. package/src/foundry/client/data/collections/folder.d.mts +27 -0
  140. package/src/foundry/client/data/collections/index.d.mts +17 -0
  141. package/src/foundry/client/data/collections/items.d.mts +14 -0
  142. package/src/foundry/client/data/collections/journal.d.mts +62 -0
  143. package/src/foundry/client/data/collections/macros.d.mts +32 -0
  144. package/src/foundry/client/data/collections/messages.d.mts +35 -0
  145. package/src/foundry/client/data/collections/playlists.d.mts +34 -0
  146. package/src/foundry/client/data/collections/scenes.d.mts +68 -0
  147. package/src/foundry/client/data/collections/settings.d.mts +29 -0
  148. package/src/foundry/client/data/collections/tables.d.mts +21 -0
  149. package/src/foundry/client/data/collections/users.d.mts +50 -0
  150. package/src/foundry/client/data/documents/active-effect.d.mts +348 -0
  151. package/src/foundry/client/data/documents/actor-delta.d.mts +88 -0
  152. package/src/foundry/client/data/documents/actor.d.mts +301 -0
  153. package/src/foundry/client/data/documents/adventure.d.mts +94 -0
  154. package/src/foundry/client/data/documents/ambient-light.d.mts +32 -0
  155. package/src/foundry/client/data/documents/ambient-sound.d.mts +19 -0
  156. package/src/foundry/client/data/documents/card.d.mts +115 -0
  157. package/src/foundry/client/data/documents/cards.d.mts +342 -0
  158. package/src/foundry/client/data/documents/chat-message.d.mts +218 -0
  159. package/src/foundry/client/data/documents/combat.d.mts +315 -0
  160. package/src/foundry/client/data/documents/combatant.d.mts +90 -0
  161. package/src/foundry/client/data/documents/drawing.d.mts +24 -0
  162. package/src/foundry/client/data/documents/fog-exploration.d.mts +51 -0
  163. package/src/foundry/client/data/documents/folder.d.mts +123 -0
  164. package/src/foundry/client/data/documents/index.d.mts +30 -0
  165. package/src/foundry/client/data/documents/item.d.mts +55 -0
  166. package/src/foundry/client/data/documents/journal-entry-page.d.mts +219 -0
  167. package/src/foundry/client/data/documents/journal-entry.d.mts +71 -0
  168. package/src/foundry/client/data/documents/macro.d.mts +73 -0
  169. package/src/foundry/client/data/documents/measured-template.d.mts +29 -0
  170. package/src/foundry/client/data/documents/note.d.mts +35 -0
  171. package/src/foundry/client/data/documents/playlist-sound.d.mts +114 -0
  172. package/src/foundry/client/data/documents/playlist.d.mts +196 -0
  173. package/src/foundry/client/data/documents/scene.d.mts +228 -0
  174. package/src/foundry/client/data/documents/setting.d.mts +43 -0
  175. package/src/foundry/client/data/documents/table-result.d.mts +29 -0
  176. package/src/foundry/client/data/documents/table.d.mts +310 -0
  177. package/src/foundry/client/data/documents/tile.d.mts +21 -0
  178. package/src/foundry/client/data/documents/token.d.mts +342 -0
  179. package/src/foundry/client/data/documents/user.d.mts +153 -0
  180. package/src/foundry/client/data/documents/wall.d.mts +19 -0
  181. package/src/foundry/client/data/index.d.mts +3 -0
  182. package/src/foundry/client/game.d.mts +702 -0
  183. package/src/foundry/client/head.d.mts +87 -0
  184. package/src/foundry/client/hooks.d.mts +1184 -0
  185. package/src/foundry/client/index.d.mts +13 -0
  186. package/src/foundry/client/pixi/board.d.mts +927 -0
  187. package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +83 -0
  188. package/src/foundry/client/pixi/core/containers/cached-container.d.mts +116 -0
  189. package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +35 -0
  190. package/src/foundry/client/pixi/core/containers/index.d.mts +8 -0
  191. package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +62 -0
  192. package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +43 -0
  193. package/src/foundry/client/pixi/core/containers/quadtree.d.mts +199 -0
  194. package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +326 -0
  195. package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +21 -0
  196. package/src/foundry/client/pixi/core/index.d.mts +4 -0
  197. package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +160 -0
  198. package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +80 -0
  199. package/src/foundry/client/pixi/core/interaction/index.d.mts +8 -0
  200. package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +264 -0
  201. package/src/foundry/client/pixi/core/interaction/ping.d.mts +58 -0
  202. package/src/foundry/client/pixi/core/interaction/pings/chevron.d.mts +73 -0
  203. package/src/foundry/client/pixi/core/interaction/pings/index.d.mts +2 -0
  204. package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +115 -0
  205. package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +103 -0
  206. package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +52 -0
  207. package/src/foundry/client/pixi/core/interaction/targets.d.mts +45 -0
  208. package/src/foundry/client/pixi/core/loader.d.mts +206 -0
  209. package/src/foundry/client/pixi/core/shapes/index.d.mts +6 -0
  210. package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +119 -0
  211. package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.mts +31 -0
  212. package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +110 -0
  213. package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +27 -0
  214. package/src/foundry/client/pixi/core/shapes/ray.d.mts +165 -0
  215. package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +251 -0
  216. package/src/foundry/client/pixi/extensions/circle.d.mts +130 -0
  217. package/src/foundry/client/pixi/extensions/index.d.mts +3 -0
  218. package/src/foundry/client/pixi/extensions/polygon.d.mts +152 -0
  219. package/src/foundry/client/pixi/extensions/rectangle.d.mts +226 -0
  220. package/src/foundry/client/pixi/groups/effects.d.mts +189 -0
  221. package/src/foundry/client/pixi/groups/environment.d.mts +80 -0
  222. package/src/foundry/client/pixi/groups/hidden.d.mts +40 -0
  223. package/src/foundry/client/pixi/groups/index.d.mts +7 -0
  224. package/src/foundry/client/pixi/groups/interface.d.mts +74 -0
  225. package/src/foundry/client/pixi/groups/overlay.d.mts +18 -0
  226. package/src/foundry/client/pixi/groups/primary.d.mts +207 -0
  227. package/src/foundry/client/pixi/groups/rendered.d.mts +18 -0
  228. package/src/foundry/client/pixi/index.d.mts +10 -0
  229. package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +79 -0
  230. package/src/foundry/client/pixi/layers/base/index.d.mts +3 -0
  231. package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +139 -0
  232. package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +598 -0
  233. package/src/foundry/client/pixi/layers/controls/cursor.d.mts +27 -0
  234. package/src/foundry/client/pixi/layers/controls/door.d.mts +70 -0
  235. package/src/foundry/client/pixi/layers/controls/hud.d.mts +114 -0
  236. package/src/foundry/client/pixi/layers/controls/index.d.mts +5 -0
  237. package/src/foundry/client/pixi/layers/controls/layer.d.mts +229 -0
  238. package/src/foundry/client/pixi/layers/controls/ruler.d.mts +316 -0
  239. package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +34 -0
  240. package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +27 -0
  241. package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +74 -0
  242. package/src/foundry/client/pixi/layers/effects/index.d.mts +6 -0
  243. package/src/foundry/client/pixi/layers/effects/visibility.d.mts +194 -0
  244. package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +47 -0
  245. package/src/foundry/client/pixi/layers/effects/weather/particles/index.d.mts +2 -0
  246. package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +20 -0
  247. package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +172 -0
  248. package/src/foundry/client/pixi/layers/grid/highlight.d.mts +32 -0
  249. package/src/foundry/client/pixi/layers/grid/index.d.mts +2 -0
  250. package/src/foundry/client/pixi/layers/grid/layer.d.mts +225 -0
  251. package/src/foundry/client/pixi/layers/index.d.mts +6 -0
  252. package/src/foundry/client/pixi/layers/masks/depth.d.mts +37 -0
  253. package/src/foundry/client/pixi/layers/masks/index.d.mts +3 -0
  254. package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +55 -0
  255. package/src/foundry/client/pixi/layers/masks/vision.d.mts +85 -0
  256. package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +92 -0
  257. package/src/foundry/client/pixi/layers/placeables/index.d.mts +8 -0
  258. package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +137 -0
  259. package/src/foundry/client/pixi/layers/placeables/notes.d.mts +99 -0
  260. package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +129 -0
  261. package/src/foundry/client/pixi/layers/placeables/templates.d.mts +60 -0
  262. package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +114 -0
  263. package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +180 -0
  264. package/src/foundry/client/pixi/layers/placeables/walls.d.mts +210 -0
  265. package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +169 -0
  266. package/src/foundry/client/pixi/perception/color-manager.d.mts +86 -0
  267. package/src/foundry/client/pixi/perception/detection-mode.d.mts +196 -0
  268. package/src/foundry/client/pixi/perception/fog.d.mts +102 -0
  269. package/src/foundry/client/pixi/perception/index.d.mts +7 -0
  270. package/src/foundry/client/pixi/perception/perception-manager.d.mts +166 -0
  271. package/src/foundry/client/pixi/perception/vision-mode.d.mts +197 -0
  272. package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +152 -0
  273. package/src/foundry/client/pixi/placeable.d.mts +586 -0
  274. package/src/foundry/client/pixi/placeables/drawing.d.mts +292 -0
  275. package/src/foundry/client/pixi/placeables/index.d.mts +9 -0
  276. package/src/foundry/client/pixi/placeables/light.d.mts +140 -0
  277. package/src/foundry/client/pixi/placeables/note.d.mts +114 -0
  278. package/src/foundry/client/pixi/placeables/primary-canvas-objects/drawing-shape.d.mts +143 -0
  279. package/src/foundry/client/pixi/placeables/primary-canvas-objects/index.d.mts +5 -0
  280. package/src/foundry/client/pixi/placeables/primary-canvas-objects/occludable-object.d.mts +175 -0
  281. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +159 -0
  282. package/src/foundry/client/pixi/placeables/primary-canvas-objects/tile-mesh.d.mts +52 -0
  283. package/src/foundry/client/pixi/placeables/primary-canvas-objects/token-mesh.d.mts +62 -0
  284. package/src/foundry/client/pixi/placeables/sound.d.mts +133 -0
  285. package/src/foundry/client/pixi/placeables/template.d.mts +211 -0
  286. package/src/foundry/client/pixi/placeables/tile.d.mts +284 -0
  287. package/src/foundry/client/pixi/placeables/token.d.mts +825 -0
  288. package/src/foundry/client/pixi/placeables/wall.d.mts +275 -0
  289. package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +60 -0
  290. package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +21 -0
  291. package/src/foundry/client/pixi/webgl/extensions/blend-modes.d.mts +53 -0
  292. package/src/foundry/client/pixi/webgl/extensions/index.d.mts +3 -0
  293. package/src/foundry/client/pixi/webgl/helpers/framebugger-snapshot.d.mts +22 -0
  294. package/src/foundry/client/pixi/webgl/helpers/index.d.mts +3 -0
  295. package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +61 -0
  296. package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +80 -0
  297. package/src/foundry/client/pixi/webgl/index.d.mts +3 -0
  298. package/src/foundry/client/pixi/webgl/shaders/base.d.mts +691 -0
  299. package/src/foundry/client/pixi/webgl/shaders/effects/index.d.mts +3 -0
  300. package/src/foundry/client/pixi/webgl/shaders/effects/lighting.d.mts +642 -0
  301. package/src/foundry/client/pixi/webgl/shaders/effects/vision.d.mts +216 -0
  302. package/src/foundry/client/pixi/webgl/shaders/effects/weather/base.d.mts +102 -0
  303. package/src/foundry/client/pixi/webgl/shaders/effects/weather/effect.d.mts +38 -0
  304. package/src/foundry/client/pixi/webgl/shaders/effects/weather/fog.d.mts +34 -0
  305. package/src/foundry/client/pixi/webgl/shaders/effects/weather/index.d.mts +5 -0
  306. package/src/foundry/client/pixi/webgl/shaders/effects/weather/rain.d.mts +24 -0
  307. package/src/foundry/client/pixi/webgl/shaders/effects/weather/snow.d.mts +20 -0
  308. package/src/foundry/client/pixi/webgl/shaders/filters/blur.d.mts +163 -0
  309. package/src/foundry/client/pixi/webgl/shaders/filters/filters.d.mts +462 -0
  310. package/src/foundry/client/pixi/webgl/shaders/filters/fxaa.d.mts +74 -0
  311. package/src/foundry/client/pixi/webgl/shaders/filters/index.d.mts +3 -0
  312. package/src/foundry/client/pixi/webgl/shaders/index.d.mts +4 -0
  313. package/src/foundry/client/pixi/webgl/shaders/samplers/color-adjustment.d.mts +101 -0
  314. package/src/foundry/client/pixi/webgl/shaders/samplers/fog-of-war.d.mts +16 -0
  315. package/src/foundry/client/pixi/webgl/shaders/samplers/index.d.mts +6 -0
  316. package/src/foundry/client/pixi/webgl/shaders/samplers/inverse-occlusion.d.mts +47 -0
  317. package/src/foundry/client/pixi/webgl/shaders/samplers/invisibility.d.mts +28 -0
  318. package/src/foundry/client/pixi/webgl/shaders/samplers/monochromatic.d.mts +30 -0
  319. package/src/foundry/client/pixi/webgl/shaders/samplers/occlusion.d.mts +69 -0
  320. package/src/foundry/client/pixi/workers/index.d.mts +1 -0
  321. package/src/foundry/client/pixi/workers/texture-worker.d.mts +125 -0
  322. package/src/foundry/client/tours/canvas-tour.d.mts +9 -0
  323. package/src/foundry/client/tours/index.d.mts +3 -0
  324. package/src/foundry/client/tours/setup-tour.d.mts +26 -0
  325. package/src/foundry/client/tours/sidebar-tour.d.mts +9 -0
  326. package/src/foundry/client/ui/context.d.mts +213 -0
  327. package/src/foundry/client/ui/dialog.d.mts +326 -0
  328. package/src/foundry/client/ui/drag.d.mts +128 -0
  329. package/src/foundry/client/ui/dragdrop.d.mts +124 -0
  330. package/src/foundry/client/ui/editor.d.mts +546 -0
  331. package/src/foundry/client/ui/filepicker.d.mts +477 -0
  332. package/src/foundry/client/ui/filter.d.mts +148 -0
  333. package/src/foundry/client/ui/forms.d.mts +85 -0
  334. package/src/foundry/client/ui/index.d.mts +12 -0
  335. package/src/foundry/client/ui/notifications.d.mts +136 -0
  336. package/src/foundry/client/ui/prosemirror.d.mts +171 -0
  337. package/src/foundry/client/ui/secrets.d.mts +75 -0
  338. package/src/foundry/client/ui/tabs.d.mts +117 -0
  339. package/src/foundry/client-esm/applications/_module.d.mts +25 -0
  340. package/src/foundry/client-esm/applications/_types.d.mts +38 -0
  341. package/src/foundry/client-esm/applications/api/_module.d.mts +9 -0
  342. package/src/foundry/client-esm/applications/api/application.d.mts +705 -0
  343. package/src/foundry/client-esm/applications/api/dialog.d.mts +268 -0
  344. package/src/foundry/client-esm/applications/api/document-sheet.d.mts +119 -0
  345. package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +180 -0
  346. package/src/foundry/client-esm/applications/apps/_module.d.mts +7 -0
  347. package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +53 -0
  348. package/src/foundry/client-esm/applications/apps/permission-config.d.mts +60 -0
  349. package/src/foundry/client-esm/applications/dice/_module.d.mts +6 -0
  350. package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +98 -0
  351. package/src/foundry/client-esm/applications/elements/_module.d.mts +16 -0
  352. package/src/foundry/client-esm/applications/elements/color-picker.d.mts +26 -0
  353. package/src/foundry/client-esm/applications/elements/document-tags.d.mts +90 -0
  354. package/src/foundry/client-esm/applications/elements/file-picker.d.mts +62 -0
  355. package/src/foundry/client-esm/applications/elements/form-element.d.mts +106 -0
  356. package/src/foundry/client-esm/applications/elements/hue-slider.d.mts +20 -0
  357. package/src/foundry/client-esm/applications/elements/multi-select.d.mts +95 -0
  358. package/src/foundry/client-esm/applications/elements/prosemirror-editor.d.mts +53 -0
  359. package/src/foundry/client-esm/applications/elements/range-picker.d.mts +41 -0
  360. package/src/foundry/client-esm/applications/elements/string-tags.d.mts +73 -0
  361. package/src/foundry/client-esm/applications/forms/fields.d.mts +219 -0
  362. package/src/foundry/client-esm/applications/sheets/_module.d.mts +12 -0
  363. package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +31 -0
  364. package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +18 -0
  365. package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +18 -0
  366. package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +22 -0
  367. package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +13 -0
  368. package/src/foundry/client-esm/applications/sheets/region-config.d.mts +13 -0
  369. package/src/foundry/client-esm/applications/sheets/user-config.d.mts +18 -0
  370. package/src/foundry/client-esm/applications/ui/_module.d.mts +6 -0
  371. package/src/foundry/client-esm/applications/ui/region-legend.d.mts +12 -0
  372. package/src/foundry/client-esm/audio/_module.d.mts +13 -0
  373. package/src/foundry/client-esm/audio/_types.d.mts +1 -0
  374. package/src/foundry/client-esm/canvas/_module.d.mts +11 -0
  375. package/src/foundry/client-esm/canvas/edges/_module.d.mts +9 -0
  376. package/src/foundry/client-esm/canvas/edges/collision.d.mts +93 -0
  377. package/src/foundry/client-esm/canvas/edges/edge.d.mts +184 -0
  378. package/src/foundry/client-esm/canvas/edges/edges.d.mts +23 -0
  379. package/src/foundry/client-esm/canvas/edges/vertex.d.mts +134 -0
  380. package/src/foundry/client-esm/canvas/regions/_module.d.mts +10 -0
  381. package/src/foundry/client-esm/canvas/scene-manager.d.mts +1 -0
  382. package/src/foundry/client-esm/canvas/smaa/blend.d.mts +6 -0
  383. package/src/foundry/client-esm/canvas/smaa/edges.d.mts +6 -0
  384. package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +56 -0
  385. package/src/foundry/client-esm/canvas/smaa/weights.d.mts +6 -0
  386. package/src/foundry/client-esm/canvas/sources/_module.d.mts +15 -0
  387. package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +243 -0
  388. package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +162 -0
  389. package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +47 -0
  390. package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +77 -0
  391. package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +91 -0
  392. package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +43 -0
  393. package/src/foundry/client-esm/canvas/sources/point-movement-source.d.mts +15 -0
  394. package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +29 -0
  395. package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +206 -0
  396. package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +328 -0
  397. package/src/foundry/client-esm/canvas/tokens/_module.d.mts +7 -0
  398. package/src/foundry/client-esm/client.d.mts +291 -0
  399. package/src/foundry/client-esm/data/_module.d.mts +8 -0
  400. package/src/foundry/client-esm/data/client-backend.d.mts +52 -0
  401. package/src/foundry/client-esm/data/region-behaviors/_module.d.mts +14 -0
  402. package/src/foundry/client-esm/dice/_module.d.mts +13 -0
  403. package/src/foundry/client-esm/dice/_types.d.mts +61 -0
  404. package/src/foundry/client-esm/dice/parser.d.mts +205 -0
  405. package/src/foundry/client-esm/dice/roll.d.mts +645 -0
  406. package/src/foundry/client-esm/dice/terms/_module.d.mts +17 -0
  407. package/src/foundry/client-esm/dice/terms/coin.d.mts +68 -0
  408. package/src/foundry/client-esm/dice/terms/dice.d.mts +381 -0
  409. package/src/foundry/client-esm/dice/terms/die.d.mts +241 -0
  410. package/src/foundry/client-esm/dice/terms/fate.d.mts +50 -0
  411. package/src/foundry/client-esm/dice/terms/function.d.mts +104 -0
  412. package/src/foundry/client-esm/dice/terms/numeric.d.mts +56 -0
  413. package/src/foundry/client-esm/dice/terms/operator.d.mts +55 -0
  414. package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +105 -0
  415. package/src/foundry/client-esm/dice/terms/pool.d.mts +278 -0
  416. package/src/foundry/client-esm/dice/terms/string.d.mts +34 -0
  417. package/src/foundry/client-esm/dice/terms/term.d.mts +160 -0
  418. package/src/foundry/client-esm/dice/twister.d.mts +134 -0
  419. package/src/foundry/client-esm/helpers/_module.d.mts +8 -0
  420. package/src/foundry/client-esm/helpers/_types.d.mts +51 -0
  421. package/src/foundry/client-esm/helpers/compendium-art.d.mts +47 -0
  422. package/src/foundry/clipper/clipper.d.mts +927 -0
  423. package/src/foundry/clipper/index.d.mts +1 -0
  424. package/src/foundry/common/abstract/_types.d.mts +274 -0
  425. package/src/foundry/common/abstract/backend.d.mts +190 -0
  426. package/src/foundry/common/abstract/data.d.mts +457 -0
  427. package/src/foundry/common/abstract/document.d.mts +1372 -0
  428. package/src/foundry/common/abstract/embedded-collection-delta.d.mts +96 -0
  429. package/src/foundry/common/abstract/embedded-collection.d.mts +252 -0
  430. package/src/foundry/common/abstract/module.d.mts +13 -0
  431. package/src/foundry/common/abstract/singleton-collection.d.mts +19 -0
  432. package/src/foundry/common/abstract/socket.d.mts +36 -0
  433. package/src/foundry/common/abstract/type-data.d.mts +337 -0
  434. package/src/foundry/common/config.d.mts +302 -0
  435. package/src/foundry/common/constants.d.mts +2054 -0
  436. package/src/foundry/common/data/data.d.mts +667 -0
  437. package/src/foundry/common/data/fields.d.mts +3388 -0
  438. package/src/foundry/common/data/module.d.mts +9 -0
  439. package/src/foundry/common/data/validation-failure.d.mts +174 -0
  440. package/src/foundry/common/data/validators.d.mts +30 -0
  441. package/src/foundry/common/documents/_module.d.mts +35 -0
  442. package/src/foundry/common/documents/_types.d.mts +143 -0
  443. package/src/foundry/common/documents/active-effect.d.mts +229 -0
  444. package/src/foundry/common/documents/actor-delta.d.mts +132 -0
  445. package/src/foundry/common/documents/actor.d.mts +209 -0
  446. package/src/foundry/common/documents/adventure.d.mts +212 -0
  447. package/src/foundry/common/documents/ambient-light.d.mts +107 -0
  448. package/src/foundry/common/documents/ambient-sound.d.mts +142 -0
  449. package/src/foundry/common/documents/card.d.mts +254 -0
  450. package/src/foundry/common/documents/cards.d.mts +191 -0
  451. package/src/foundry/common/documents/chat-message.d.mts +208 -0
  452. package/src/foundry/common/documents/combat.d.mts +124 -0
  453. package/src/foundry/common/documents/combatant.d.mts +127 -0
  454. package/src/foundry/common/documents/drawing.d.mts +255 -0
  455. package/src/foundry/common/documents/fog-exploration.d.mts +110 -0
  456. package/src/foundry/common/documents/folder.d.mts +130 -0
  457. package/src/foundry/common/documents/item.d.mts +181 -0
  458. package/src/foundry/common/documents/journal-entry-page.d.mts +229 -0
  459. package/src/foundry/common/documents/journal-entry.d.mts +133 -0
  460. package/src/foundry/common/documents/macro.d.mts +190 -0
  461. package/src/foundry/common/documents/measured-template.d.mts +183 -0
  462. package/src/foundry/common/documents/module.d.mts +35 -0
  463. package/src/foundry/common/documents/note.d.mts +195 -0
  464. package/src/foundry/common/documents/playlist-sound.d.mts +131 -0
  465. package/src/foundry/common/documents/playlist.d.mts +160 -0
  466. package/src/foundry/common/documents/roll-table.d.mts +153 -0
  467. package/src/foundry/common/documents/scene.d.mts +395 -0
  468. package/src/foundry/common/documents/setting.d.mts +88 -0
  469. package/src/foundry/common/documents/table-result.d.mts +157 -0
  470. package/src/foundry/common/documents/tile.d.mts +204 -0
  471. package/src/foundry/common/documents/token.d.mts +515 -0
  472. package/src/foundry/common/documents/user.d.mts +247 -0
  473. package/src/foundry/common/documents/wall.d.mts +196 -0
  474. package/src/foundry/common/grid/_module.d.mts +10 -0
  475. package/src/foundry/common/grid/base.d.mts +640 -0
  476. package/src/foundry/common/grid/grid-hex.d.mts +55 -0
  477. package/src/foundry/common/grid/gridless.d.mts +71 -0
  478. package/src/foundry/common/grid/hexagonal.d.mts +391 -0
  479. package/src/foundry/common/grid/square.d.mts +100 -0
  480. package/src/foundry/common/packages/base-module.d.mts +46 -0
  481. package/src/foundry/common/packages/base-package.d.mts +677 -0
  482. package/src/foundry/common/packages/base-system.d.mts +90 -0
  483. package/src/foundry/common/packages/base-world.d.mts +116 -0
  484. package/src/foundry/common/packages/module.d.mts +28 -0
  485. package/src/foundry/common/packages/sub-types.d.mts +42 -0
  486. package/src/foundry/common/primitives/array.d.mts +56 -0
  487. package/src/foundry/common/primitives/date.d.mts +24 -0
  488. package/src/foundry/common/primitives/math.d.mts +103 -0
  489. package/src/foundry/common/primitives/module.d.mts +8 -0
  490. package/src/foundry/common/primitives/number.d.mts +91 -0
  491. package/src/foundry/common/primitives/regex.d.mts +12 -0
  492. package/src/foundry/common/primitives/regexp.d.mts +12 -0
  493. package/src/foundry/common/primitives/set.d.mts +105 -0
  494. package/src/foundry/common/primitives/string.d.mts +58 -0
  495. package/src/foundry/common/primitives/url.d.mts +18 -0
  496. package/src/foundry/common/prosemirror/_module.d.mts +82 -0
  497. package/src/foundry/common/prosemirror/click-handler.d.mts +34 -0
  498. package/src/foundry/common/prosemirror/content-link-plugin.d.mts +47 -0
  499. package/src/foundry/common/prosemirror/dirty-plugin.d.mts +13 -0
  500. package/src/foundry/common/prosemirror/dom-parser.d.mts +9 -0
  501. package/src/foundry/common/prosemirror/dropdown.d.mts +65 -0
  502. package/src/foundry/common/prosemirror/extensions.d.mts +12 -0
  503. package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +82 -0
  504. package/src/foundry/common/prosemirror/image-plugin.d.mts +82 -0
  505. package/src/foundry/common/prosemirror/index.d.mts +22 -0
  506. package/src/foundry/common/prosemirror/input-rules.d.mts +34 -0
  507. package/src/foundry/common/prosemirror/keymaps.d.mts +47 -0
  508. package/src/foundry/common/prosemirror/menu.d.mts +255 -0
  509. package/src/foundry/common/prosemirror/paste-transformer.d.mts +22 -0
  510. package/src/foundry/common/prosemirror/plugin.d.mts +24 -0
  511. package/src/foundry/common/prosemirror/schema/attribute-capture.d.mts +39 -0
  512. package/src/foundry/common/prosemirror/schema/core.d.mts +51 -0
  513. package/src/foundry/common/prosemirror/schema/image-link-node.d.mts +29 -0
  514. package/src/foundry/common/prosemirror/schema/image-node.d.mts +19 -0
  515. package/src/foundry/common/prosemirror/schema/index.d.mts +12 -0
  516. package/src/foundry/common/prosemirror/schema/link-mark.d.mts +30 -0
  517. package/src/foundry/common/prosemirror/schema/lists.d.mts +55 -0
  518. package/src/foundry/common/prosemirror/schema/marks.d.mts +44 -0
  519. package/src/foundry/common/prosemirror/schema/other.d.mts +149 -0
  520. package/src/foundry/common/prosemirror/schema/schema-definition.d.mts +39 -0
  521. package/src/foundry/common/prosemirror/schema/secret-node.d.mts +27 -0
  522. package/src/foundry/common/prosemirror/schema/tables.d.mts +106 -0
  523. package/src/foundry/common/prosemirror/schema/utils.d.mts +37 -0
  524. package/src/foundry/common/prosemirror/schema.d.mts +138 -0
  525. package/src/foundry/common/prosemirror/string-serializer.d.mts +120 -0
  526. package/src/foundry/common/prosemirror/util.d.mts +43 -0
  527. package/src/foundry/common/types.d.mts +332 -0
  528. package/src/foundry/common/utils/bitmask.d.mts +110 -0
  529. package/src/foundry/common/utils/collection.d.mts +176 -0
  530. package/src/foundry/common/utils/color.d.mts +291 -0
  531. package/src/foundry/common/utils/event-emitter.d.mts +62 -0
  532. package/src/foundry/common/utils/geometry.d.mts +198 -0
  533. package/src/foundry/common/utils/helpers.d.mts +752 -0
  534. package/src/foundry/common/utils/http.d.mts +52 -0
  535. package/src/foundry/common/utils/iterable-weak-map.d.mts +80 -0
  536. package/src/foundry/common/utils/iterable-weak-set.d.mts +47 -0
  537. package/src/foundry/common/utils/logging.d.mts +42 -0
  538. package/src/foundry/common/utils/module.d.mts +18 -0
  539. package/src/foundry/common/utils/semaphore.d.mts +82 -0
  540. package/src/foundry/common/utils/string-tree.d.mts +95 -0
  541. package/src/foundry/common/utils/word-tree.d.mts +66 -0
  542. package/src/foundry/index.d.mts +5 -0
  543. package/src/foundry/public/index.d.mts +1 -0
  544. package/src/foundry/public/scripts/earcut-edges/earcut-edges.d.mts +11 -0
  545. package/src/foundry/public/scripts/earcut-edges/index.d.mts +1 -0
  546. package/src/foundry/public/scripts/index.d.mts +1 -0
  547. package/src/index.d.mts +2 -0
  548. package/src/types/augments/index.d.mts +4 -0
  549. package/src/types/augments/pixi.d.mts +38 -0
  550. package/src/types/augments/simple-peer.d.mts +13 -0
  551. package/src/types/augments/socket.io-client.d.mts +12 -0
  552. package/src/types/augments/tinyMCE.d.mts +72 -0
  553. package/src/types/config.d.mts +331 -0
  554. package/src/types/configuredDocuments.d.mts +103 -0
  555. package/src/types/helperTypes.d.mts +261 -0
  556. package/src/types/index.d.mts +4 -0
  557. package/src/types/utils.d.mts +406 -0
  558. package/index-lenient.d.ts +0 -10
  559. package/index.d.ts +0 -4
  560. package/src/foundry/client/apps/app.d.ts +0 -560
  561. package/src/foundry/client/apps/av/av-config.d.ts +0 -85
  562. package/src/foundry/client/apps/av/cameras.d.ts +0 -174
  563. package/src/foundry/client/apps/av/index.d.ts +0 -3
  564. package/src/foundry/client/apps/form.d.ts +0 -384
  565. package/src/foundry/client/apps/forms/actor.d.ts +0 -192
  566. package/src/foundry/client/apps/forms/card-config.d.ts +0 -51
  567. package/src/foundry/client/apps/forms/cards-config.d.ts +0 -128
  568. package/src/foundry/client/apps/forms/combat-config.d.ts +0 -41
  569. package/src/foundry/client/apps/forms/combatant-config.d.ts +0 -49
  570. package/src/foundry/client/apps/forms/effect-config.d.ts +0 -65
  571. package/src/foundry/client/apps/forms/folder-config.d.ts +0 -63
  572. package/src/foundry/client/apps/forms/grid-config.d.ts +0 -151
  573. package/src/foundry/client/apps/forms/image-popout.d.ts +0 -166
  574. package/src/foundry/client/apps/forms/index.d.ts +0 -20
  575. package/src/foundry/client/apps/forms/item.d.ts +0 -71
  576. package/src/foundry/client/apps/forms/journal-sheet.d.ts +0 -107
  577. package/src/foundry/client/apps/forms/macro-config.d.ts +0 -71
  578. package/src/foundry/client/apps/forms/measure-template.d.ts +0 -53
  579. package/src/foundry/client/apps/forms/permission.d.ts +0 -58
  580. package/src/foundry/client/apps/forms/playlist-config.d.ts +0 -43
  581. package/src/foundry/client/apps/forms/playlist-sound-config.d.ts +0 -61
  582. package/src/foundry/client/apps/forms/roll-table-config.d.ts +0 -175
  583. package/src/foundry/client/apps/forms/scene-config.d.ts +0 -148
  584. package/src/foundry/client/apps/forms/sheet-config.d.ts +0 -184
  585. package/src/foundry/client/apps/forms/user-config.d.ts +0 -74
  586. package/src/foundry/client/apps/hud/chatbubble.d.ts +0 -89
  587. package/src/foundry/client/apps/hud/container.d.ts +0 -46
  588. package/src/foundry/client/apps/hud/controls.d.ts +0 -156
  589. package/src/foundry/client/apps/hud/hotbar.d.ts +0 -143
  590. package/src/foundry/client/apps/hud/hud.d.ts +0 -84
  591. package/src/foundry/client/apps/hud/index.d.ts +0 -9
  592. package/src/foundry/client/apps/hud/menu.d.ts +0 -71
  593. package/src/foundry/client/apps/hud/navigation.d.ts +0 -110
  594. package/src/foundry/client/apps/hud/pause.d.ts +0 -20
  595. package/src/foundry/client/apps/hud/players.d.ts +0 -55
  596. package/src/foundry/client/apps/i18n.d.ts +0 -136
  597. package/src/foundry/client/apps/index.d.ts +0 -9
  598. package/src/foundry/client/apps/placeables/drawing-config.d.ts +0 -99
  599. package/src/foundry/client/apps/placeables/drawing-hud.d.ts +0 -32
  600. package/src/foundry/client/apps/placeables/index.d.ts +0 -10
  601. package/src/foundry/client/apps/placeables/light-config.d.ts +0 -95
  602. package/src/foundry/client/apps/placeables/note-config.d.ts +0 -57
  603. package/src/foundry/client/apps/placeables/sound-config.d.ts +0 -47
  604. package/src/foundry/client/apps/placeables/tile-config.d.ts +0 -55
  605. package/src/foundry/client/apps/placeables/tile-hud.d.ts +0 -37
  606. package/src/foundry/client/apps/placeables/token-config.d.ts +0 -226
  607. package/src/foundry/client/apps/placeables/token-hud.d.ts +0 -140
  608. package/src/foundry/client/apps/placeables/wall-config.d.ts +0 -75
  609. package/src/foundry/client/apps/sidebar/apps/chat-popout.d.ts +0 -34
  610. package/src/foundry/client/apps/sidebar/apps/client-settings.d.ts +0 -116
  611. package/src/foundry/client/apps/sidebar/apps/compendium.d.ts +0 -86
  612. package/src/foundry/client/apps/sidebar/apps/controls-reference.d.ts +0 -30
  613. package/src/foundry/client/apps/sidebar/apps/index.d.ts +0 -10
  614. package/src/foundry/client/apps/sidebar/apps/invitation-links.d.ts +0 -37
  615. package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.ts +0 -247
  616. package/src/foundry/client/apps/sidebar/apps/module-management.d.ts +0 -120
  617. package/src/foundry/client/apps/sidebar/apps/permission-config.d.ts +0 -64
  618. package/src/foundry/client/apps/sidebar/apps/support-details.d.ts +0 -76
  619. package/src/foundry/client/apps/sidebar/apps/world-config.d.ts +0 -77
  620. package/src/foundry/client/apps/sidebar/index.d.ts +0 -5
  621. package/src/foundry/client/apps/sidebar/sidebar.d.ts +0 -102
  622. package/src/foundry/client/apps/sidebar/tab-base.d.ts +0 -68
  623. package/src/foundry/client/apps/sidebar/tab-directory.d.ts +0 -236
  624. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.ts +0 -16
  625. package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.ts +0 -6
  626. package/src/foundry/client/apps/sidebar/tabs/chat-log.d.ts +0 -351
  627. package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.ts +0 -205
  628. package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.ts +0 -77
  629. package/src/foundry/client/apps/sidebar/tabs/index.d.ts +0 -12
  630. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.ts +0 -10
  631. package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.ts +0 -11
  632. package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.ts +0 -12
  633. package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.ts +0 -306
  634. package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.ts +0 -9
  635. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.ts +0 -18
  636. package/src/foundry/client/apps/sidebar/tabs/settings.d.ts +0 -88
  637. package/src/foundry/client/apps/templates.d.ts +0 -425
  638. package/src/foundry/client/audio/audio.d.ts +0 -343
  639. package/src/foundry/client/audio/container.d.ts +0 -175
  640. package/src/foundry/client/audio/index.d.ts +0 -3
  641. package/src/foundry/client/audio/sound.d.ts +0 -303
  642. package/src/foundry/client/av/client.d.ts +0 -158
  643. package/src/foundry/client/av/clients/index.d.ts +0 -1
  644. package/src/foundry/client/av/clients/simplepeer.d.ts +0 -151
  645. package/src/foundry/client/av/index.d.ts +0 -4
  646. package/src/foundry/client/av/master.d.ts +0 -187
  647. package/src/foundry/client/av/settings.d.ts +0 -236
  648. package/src/foundry/client/config.d.ts +0 -1425
  649. package/src/foundry/client/core/gamepad.d.ts +0 -53
  650. package/src/foundry/client/core/hooks.d.ts +0 -967
  651. package/src/foundry/client/core/image.d.ts +0 -129
  652. package/src/foundry/client/core/index.d.ts +0 -13
  653. package/src/foundry/client/core/keybindings.d.ts +0 -298
  654. package/src/foundry/client/core/keyboard.d.ts +0 -247
  655. package/src/foundry/client/core/mouse.d.ts +0 -18
  656. package/src/foundry/client/core/nue.d.ts +0 -34
  657. package/src/foundry/client/core/settings.d.ts +0 -222
  658. package/src/foundry/client/core/socket.d.ts +0 -46
  659. package/src/foundry/client/core/sorting.d.ts +0 -78
  660. package/src/foundry/client/core/time.d.ts +0 -67
  661. package/src/foundry/client/core/utils.d.ts +0 -33
  662. package/src/foundry/client/core/video.d.ts +0 -65
  663. package/src/foundry/client/data/abstract/canvas-document.d.ts +0 -70
  664. package/src/foundry/client/data/abstract/client-backend.d.ts +0 -206
  665. package/src/foundry/client/data/abstract/client-document.d.ts +0 -439
  666. package/src/foundry/client/data/abstract/document-collection.d.ts +0 -192
  667. package/src/foundry/client/data/abstract/index.d.ts +0 -5
  668. package/src/foundry/client/data/abstract/world-collection.d.ts +0 -167
  669. package/src/foundry/client/data/collections/actors.d.ts +0 -35
  670. package/src/foundry/client/data/collections/cards.d.ts +0 -8
  671. package/src/foundry/client/data/collections/combats.d.ts +0 -43
  672. package/src/foundry/client/data/collections/compendium.d.ts +0 -321
  673. package/src/foundry/client/data/collections/fog.d.ts +0 -7
  674. package/src/foundry/client/data/collections/folder.d.ts +0 -27
  675. package/src/foundry/client/data/collections/index.d.ts +0 -15
  676. package/src/foundry/client/data/collections/items.d.ts +0 -10
  677. package/src/foundry/client/data/collections/journal.d.ts +0 -26
  678. package/src/foundry/client/data/collections/macros.d.ts +0 -26
  679. package/src/foundry/client/data/collections/messages.d.ts +0 -39
  680. package/src/foundry/client/data/collections/playlists.d.ts +0 -41
  681. package/src/foundry/client/data/collections/scenes.d.ts +0 -62
  682. package/src/foundry/client/data/collections/settings.d.ts +0 -25
  683. package/src/foundry/client/data/collections/tables.d.ts +0 -17
  684. package/src/foundry/client/data/collections/users.d.ts +0 -43
  685. package/src/foundry/client/data/documents/active-effect.d.ts +0 -172
  686. package/src/foundry/client/data/documents/actor.d.ts +0 -231
  687. package/src/foundry/client/data/documents/ambient-light.d.ts +0 -18
  688. package/src/foundry/client/data/documents/ambient-sound.d.ts +0 -9
  689. package/src/foundry/client/data/documents/card.d.ts +0 -133
  690. package/src/foundry/client/data/documents/cards.d.ts +0 -376
  691. package/src/foundry/client/data/documents/chat-message.d.ts +0 -267
  692. package/src/foundry/client/data/documents/combat.d.ts +0 -227
  693. package/src/foundry/client/data/documents/combatant.d.ts +0 -104
  694. package/src/foundry/client/data/documents/drawing.d.ts +0 -19
  695. package/src/foundry/client/data/documents/fog-exploration.d.ts +0 -64
  696. package/src/foundry/client/data/documents/folder.d.ts +0 -115
  697. package/src/foundry/client/data/documents/index.d.ts +0 -27
  698. package/src/foundry/client/data/documents/item.d.ts +0 -59
  699. package/src/foundry/client/data/documents/journal-entry.d.ts +0 -71
  700. package/src/foundry/client/data/documents/macro.d.ts +0 -60
  701. package/src/foundry/client/data/documents/measured-template.d.ts +0 -21
  702. package/src/foundry/client/data/documents/note.d.ts +0 -19
  703. package/src/foundry/client/data/documents/playlist-sound.d.ts +0 -117
  704. package/src/foundry/client/data/documents/playlist.d.ts +0 -192
  705. package/src/foundry/client/data/documents/scene.d.ts +0 -465
  706. package/src/foundry/client/data/documents/setting.d.ts +0 -35
  707. package/src/foundry/client/data/documents/table-result.d.ts +0 -30
  708. package/src/foundry/client/data/documents/table.d.ts +0 -220
  709. package/src/foundry/client/data/documents/tile.d.ts +0 -13
  710. package/src/foundry/client/data/documents/token.d.ts +0 -281
  711. package/src/foundry/client/data/documents/user.d.ts +0 -155
  712. package/src/foundry/client/data/documents/wall.d.ts +0 -9
  713. package/src/foundry/client/data/index.d.ts +0 -3
  714. package/src/foundry/client/dice/dice/coin.d.ts +0 -49
  715. package/src/foundry/client/dice/dice/die.d.ts +0 -230
  716. package/src/foundry/client/dice/dice/fate.d.ts +0 -37
  717. package/src/foundry/client/dice/dice/index.d.ts +0 -3
  718. package/src/foundry/client/dice/index.d.ts +0 -5
  719. package/src/foundry/client/dice/roll.d.ts +0 -495
  720. package/src/foundry/client/dice/term.d.ts +0 -123
  721. package/src/foundry/client/dice/terms/dice.d.ts +0 -277
  722. package/src/foundry/client/dice/terms/index.d.ts +0 -7
  723. package/src/foundry/client/dice/terms/math.d.ts +0 -69
  724. package/src/foundry/client/dice/terms/numeric.d.ts +0 -53
  725. package/src/foundry/client/dice/terms/operator.d.ts +0 -18
  726. package/src/foundry/client/dice/terms/parenthetical.d.ts +0 -51
  727. package/src/foundry/client/dice/terms/pool.d.ts +0 -235
  728. package/src/foundry/client/dice/terms/string.d.ts +0 -31
  729. package/src/foundry/client/dice/twister.d.ts +0 -134
  730. package/src/foundry/client/game.d.ts +0 -682
  731. package/src/foundry/client/head.d.ts +0 -44
  732. package/src/foundry/client/index.d.ts +0 -12
  733. package/src/foundry/client/pixi/board.d.ts +0 -626
  734. package/src/foundry/client/pixi/core/containers/cached-container.d.ts +0 -64
  735. package/src/foundry/client/pixi/core/containers/index.d.ts +0 -3
  736. package/src/foundry/client/pixi/core/containers/quadtree.d.ts +0 -166
  737. package/src/foundry/client/pixi/core/containers/sampler-mesh.d.ts +0 -22
  738. package/src/foundry/client/pixi/core/culling.d.ts +0 -37
  739. package/src/foundry/client/pixi/core/index.d.ts +0 -5
  740. package/src/foundry/client/pixi/core/interaction/canvas-animation.d.ts +0 -148
  741. package/src/foundry/client/pixi/core/interaction/control-icon.d.ts +0 -58
  742. package/src/foundry/client/pixi/core/interaction/index.d.ts +0 -5
  743. package/src/foundry/client/pixi/core/interaction/mouse-handler.d.ts +0 -323
  744. package/src/foundry/client/pixi/core/interaction/resize-handle.d.ts +0 -48
  745. package/src/foundry/client/pixi/core/interaction/targets.d.ts +0 -51
  746. package/src/foundry/client/pixi/core/loader.d.ts +0 -157
  747. package/src/foundry/client/pixi/core/shapes/index.d.ts +0 -5
  748. package/src/foundry/client/pixi/core/shapes/normalized-rectangle.d.ts +0 -31
  749. package/src/foundry/client/pixi/core/shapes/polygon-helpers.d.ts +0 -263
  750. package/src/foundry/client/pixi/core/shapes/precise-text.d.ts +0 -18
  751. package/src/foundry/client/pixi/core/shapes/ray.d.ts +0 -200
  752. package/src/foundry/client/pixi/core/shapes/source-polygon.d.ts +0 -110
  753. package/src/foundry/client/pixi/groups/effects.d.ts +0 -29
  754. package/src/foundry/client/pixi/groups/index.d.ts +0 -3
  755. package/src/foundry/client/pixi/groups/interface.d.ts +0 -27
  756. package/src/foundry/client/pixi/groups/primary.d.ts +0 -40
  757. package/src/foundry/client/pixi/index.d.ts +0 -10
  758. package/src/foundry/client/pixi/layer.d.ts +0 -105
  759. package/src/foundry/client/pixi/layers/controls/cursor.d.ts +0 -27
  760. package/src/foundry/client/pixi/layers/controls/door.d.ts +0 -67
  761. package/src/foundry/client/pixi/layers/controls/hud.d.ts +0 -117
  762. package/src/foundry/client/pixi/layers/controls/index.d.ts +0 -4
  763. package/src/foundry/client/pixi/layers/controls/ruler.d.ts +0 -207
  764. package/src/foundry/client/pixi/layers/controls.d.ts +0 -144
  765. package/src/foundry/client/pixi/layers/drawings.d.ts +0 -116
  766. package/src/foundry/client/pixi/layers/effects/effect.d.ts +0 -133
  767. package/src/foundry/client/pixi/layers/effects/index.d.ts +0 -4
  768. package/src/foundry/client/pixi/layers/effects/leaves.d.ts +0 -79
  769. package/src/foundry/client/pixi/layers/effects/rain.d.ts +0 -107
  770. package/src/foundry/client/pixi/layers/effects/snow.d.ts +0 -62
  771. package/src/foundry/client/pixi/layers/effects.d.ts +0 -61
  772. package/src/foundry/client/pixi/layers/grid/grid.d.ts +0 -171
  773. package/src/foundry/client/pixi/layers/grid/hex.d.ts +0 -118
  774. package/src/foundry/client/pixi/layers/grid/highlight.d.ts +0 -28
  775. package/src/foundry/client/pixi/layers/grid/index.d.ts +0 -4
  776. package/src/foundry/client/pixi/layers/grid/square.d.ts +0 -48
  777. package/src/foundry/client/pixi/layers/grid.d.ts +0 -204
  778. package/src/foundry/client/pixi/layers/index.d.ts +0 -15
  779. package/src/foundry/client/pixi/layers/lighting.d.ts +0 -229
  780. package/src/foundry/client/pixi/layers/map.d.ts +0 -263
  781. package/src/foundry/client/pixi/layers/notes.d.ts +0 -64
  782. package/src/foundry/client/pixi/layers/sight.d.ts +0 -313
  783. package/src/foundry/client/pixi/layers/sounds.d.ts +0 -112
  784. package/src/foundry/client/pixi/layers/templates.d.ts +0 -51
  785. package/src/foundry/client/pixi/layers/tokens.d.ts +0 -169
  786. package/src/foundry/client/pixi/layers/walls.d.ts +0 -321
  787. package/src/foundry/client/pixi/perception/clockwise-sweep.d.ts +0 -406
  788. package/src/foundry/client/pixi/perception/index.d.ts +0 -2
  789. package/src/foundry/client/pixi/perception/perception-manager.d.ts +0 -107
  790. package/src/foundry/client/pixi/placeable.d.ts +0 -414
  791. package/src/foundry/client/pixi/placeables/drawing.d.ts +0 -289
  792. package/src/foundry/client/pixi/placeables/index.d.ts +0 -8
  793. package/src/foundry/client/pixi/placeables/light.d.ts +0 -126
  794. package/src/foundry/client/pixi/placeables/note.d.ts +0 -67
  795. package/src/foundry/client/pixi/placeables/sound.d.ts +0 -131
  796. package/src/foundry/client/pixi/placeables/template.d.ts +0 -153
  797. package/src/foundry/client/pixi/placeables/tile.d.ts +0 -315
  798. package/src/foundry/client/pixi/placeables/token.d.ts +0 -722
  799. package/src/foundry/client/pixi/placeables/wall.d.ts +0 -268
  800. package/src/foundry/client/pixi/placeables.d.ts +0 -520
  801. package/src/foundry/client/pixi/sources/base-source.d.ts +0 -145
  802. package/src/foundry/client/pixi/sources/index.d.ts +0 -4
  803. package/src/foundry/client/pixi/sources/light-source.d.ts +0 -413
  804. package/src/foundry/client/pixi/sources/sound-source.d.ts +0 -45
  805. package/src/foundry/client/pixi/sources/vision-source.d.ts +0 -123
  806. package/src/foundry/client/pixi/webgl/base.d.ts +0 -69
  807. package/src/foundry/client/pixi/webgl/blend_modes.d.ts +0 -33
  808. package/src/foundry/client/pixi/webgl/filters.d.ts +0 -182
  809. package/src/foundry/client/pixi/webgl/index.d.ts +0 -5
  810. package/src/foundry/client/pixi/webgl/lighting.d.ts +0 -480
  811. package/src/foundry/client/pixi/webgl/sampler.d.ts +0 -19
  812. package/src/foundry/client/ui/context.d.ts +0 -136
  813. package/src/foundry/client/ui/dialog.d.ts +0 -286
  814. package/src/foundry/client/ui/drag.d.ts +0 -105
  815. package/src/foundry/client/ui/dragdrop.d.ts +0 -118
  816. package/src/foundry/client/ui/editor.d.ts +0 -321
  817. package/src/foundry/client/ui/filepicker.d.ts +0 -510
  818. package/src/foundry/client/ui/filter.d.ts +0 -106
  819. package/src/foundry/client/ui/forms.d.ts +0 -47
  820. package/src/foundry/client/ui/index.d.ts +0 -10
  821. package/src/foundry/client/ui/notifications.d.ts +0 -110
  822. package/src/foundry/client/ui/tabs.d.ts +0 -103
  823. package/src/foundry/common/abstract/backend.mjs.d.ts +0 -253
  824. package/src/foundry/common/abstract/data.mjs.d.ts +0 -316
  825. package/src/foundry/common/abstract/document.mjs.d.ts +0 -838
  826. package/src/foundry/common/abstract/embedded-collection.mjs.d.ts +0 -79
  827. package/src/foundry/common/abstract/module.mjs.d.ts +0 -6
  828. package/src/foundry/common/config.mjs/index.d.ts +0 -1
  829. package/src/foundry/common/config.mjs/releaseData.d.ts +0 -100
  830. package/src/foundry/common/constants.mjs.d.ts +0 -940
  831. package/src/foundry/common/data/data.mjs/activeEffectData.d.ts +0 -168
  832. package/src/foundry/common/data/data.mjs/actorData.d.ts +0 -219
  833. package/src/foundry/common/data/data.mjs/adventureData.d.ts +0 -166
  834. package/src/foundry/common/data/data.mjs/ambientLightData.d.ts +0 -154
  835. package/src/foundry/common/data/data.mjs/ambientSoundData.d.ts +0 -195
  836. package/src/foundry/common/data/data.mjs/animationData.d.ts +0 -91
  837. package/src/foundry/common/data/data.mjs/cardData.d.ts +0 -264
  838. package/src/foundry/common/data/data.mjs/cardFaceData.d.ts +0 -67
  839. package/src/foundry/common/data/data.mjs/cardsData.d.ts +0 -237
  840. package/src/foundry/common/data/data.mjs/chatMessageData.d.ts +0 -220
  841. package/src/foundry/common/data/data.mjs/chatSpeakerData.d.ts +0 -80
  842. package/src/foundry/common/data/data.mjs/combatData.d.ts +0 -149
  843. package/src/foundry/common/data/data.mjs/combatantData.d.ts +0 -136
  844. package/src/foundry/common/data/data.mjs/darknessActivation.d.ts +0 -55
  845. package/src/foundry/common/data/data.mjs/drawingData.d.ts +0 -407
  846. package/src/foundry/common/data/data.mjs/effectChangeData.d.ts +0 -80
  847. package/src/foundry/common/data/data.mjs/effectDurationData.d.ts +0 -109
  848. package/src/foundry/common/data/data.mjs/fogExplorationData.d.ts +0 -115
  849. package/src/foundry/common/data/data.mjs/folderData.d.ts +0 -155
  850. package/src/foundry/common/data/data.mjs/index.d.ts +0 -31
  851. package/src/foundry/common/data/data.mjs/itemData.d.ts +0 -184
  852. package/src/foundry/common/data/data.mjs/journalEntryData.d.ts +0 -132
  853. package/src/foundry/common/data/data.mjs/lightData.d.ts +0 -227
  854. package/src/foundry/common/data/data.mjs/macroData.d.ts +0 -199
  855. package/src/foundry/common/data/data.mjs/measuredTemplateData.d.ts +0 -212
  856. package/src/foundry/common/data/data.mjs/noteData.d.ts +0 -233
  857. package/src/foundry/common/data/data.mjs/playlistData.d.ts +0 -201
  858. package/src/foundry/common/data/data.mjs/playlistSoundData.d.ts +0 -159
  859. package/src/foundry/common/data/data.mjs/prototypeTokenData.d.ts +0 -75
  860. package/src/foundry/common/data/data.mjs/rollTableData.d.ts +0 -189
  861. package/src/foundry/common/data/data.mjs/sceneData.d.ts +0 -665
  862. package/src/foundry/common/data/data.mjs/settingData.d.ts +0 -86
  863. package/src/foundry/common/data/data.mjs/tableResultData.d.ts +0 -167
  864. package/src/foundry/common/data/data.mjs/tileData.d.ts +0 -246
  865. package/src/foundry/common/data/data.mjs/tileOcclusion.d.ts +0 -62
  866. package/src/foundry/common/data/data.mjs/tokenBarData.d.ts +0 -47
  867. package/src/foundry/common/data/data.mjs/tokenData.d.ts +0 -505
  868. package/src/foundry/common/data/data.mjs/userData.d.ts +0 -177
  869. package/src/foundry/common/data/data.mjs/videoData.d.ts +0 -70
  870. package/src/foundry/common/data/data.mjs/wallData.d.ts +0 -222
  871. package/src/foundry/common/data/fields.mjs.d.ts +0 -526
  872. package/src/foundry/common/data/module.mjs.d.ts +0 -3
  873. package/src/foundry/common/data/validators.mjs.d.ts +0 -56
  874. package/src/foundry/common/documents.mjs/baseActiveEffect.d.ts +0 -44
  875. package/src/foundry/common/documents.mjs/baseActor.d.ts +0 -68
  876. package/src/foundry/common/documents.mjs/baseAdventure.d.ts +0 -38
  877. package/src/foundry/common/documents.mjs/baseAmbientLight.d.ts +0 -31
  878. package/src/foundry/common/documents.mjs/baseAmbientSound.d.ts +0 -29
  879. package/src/foundry/common/documents.mjs/baseCard.d.ts +0 -58
  880. package/src/foundry/common/documents.mjs/baseCards.d.ts +0 -39
  881. package/src/foundry/common/documents.mjs/baseChatMessage.d.ts +0 -49
  882. package/src/foundry/common/documents.mjs/baseCombat.d.ts +0 -40
  883. package/src/foundry/common/documents.mjs/baseCombatant.d.ts +0 -48
  884. package/src/foundry/common/documents.mjs/baseDrawing.d.ts +0 -54
  885. package/src/foundry/common/documents.mjs/baseFogExploration.d.ts +0 -41
  886. package/src/foundry/common/documents.mjs/baseFolder.d.ts +0 -30
  887. package/src/foundry/common/documents.mjs/baseItem.d.ts +0 -57
  888. package/src/foundry/common/documents.mjs/baseJournalEntry.d.ts +0 -26
  889. package/src/foundry/common/documents.mjs/baseMacro.d.ts +0 -42
  890. package/src/foundry/common/documents.mjs/baseMeasuredTemplate.d.ts +0 -66
  891. package/src/foundry/common/documents.mjs/baseNote.d.ts +0 -39
  892. package/src/foundry/common/documents.mjs/basePlaylist.d.ts +0 -32
  893. package/src/foundry/common/documents.mjs/basePlaylistSound.d.ts +0 -37
  894. package/src/foundry/common/documents.mjs/baseRollTable.d.ts +0 -31
  895. package/src/foundry/common/documents.mjs/baseScene.d.ts +0 -120
  896. package/src/foundry/common/documents.mjs/baseSetting.d.ts +0 -38
  897. package/src/foundry/common/documents.mjs/baseTableResult.d.ts +0 -52
  898. package/src/foundry/common/documents.mjs/baseTile.d.ts +0 -29
  899. package/src/foundry/common/documents.mjs/baseToken.d.ts +0 -44
  900. package/src/foundry/common/documents.mjs/baseUser.d.ts +0 -102
  901. package/src/foundry/common/documents.mjs/baseWall.d.ts +0 -43
  902. package/src/foundry/common/documents.mjs/index.d.ts +0 -28
  903. package/src/foundry/common/module.mjs.d.ts +0 -114
  904. package/src/foundry/common/packages.mjs/index.d.ts +0 -8
  905. package/src/foundry/common/packages.mjs/moduleData.d.ts +0 -55
  906. package/src/foundry/common/packages.mjs/packageAuthorData.d.ts +0 -58
  907. package/src/foundry/common/packages.mjs/packageCompendiumData.d.ts +0 -88
  908. package/src/foundry/common/packages.mjs/packageData.d.ts +0 -319
  909. package/src/foundry/common/packages.mjs/packageDependencyData.d.ts +0 -69
  910. package/src/foundry/common/packages.mjs/packageLanguageData.d.ts +0 -75
  911. package/src/foundry/common/packages.mjs/systemData.d.ts +0 -58
  912. package/src/foundry/common/packages.mjs/tagPackageAvailability.d.ts +0 -9
  913. package/src/foundry/common/packages.mjs/worldData.d.ts +0 -76
  914. package/src/foundry/common/types.mjs.d.ts +0 -299
  915. package/src/foundry/common/utils/collection.mjs.d.ts +0 -151
  916. package/src/foundry/common/utils/geometry.mjs.d.ts +0 -148
  917. package/src/foundry/common/utils/helpers.mjs.d.ts +0 -498
  918. package/src/foundry/common/utils/http.mjs.d.ts +0 -52
  919. package/src/foundry/common/utils/module.mjs.d.ts +0 -5
  920. package/src/foundry/common/utils/primitives.mjs.d.ts +0 -287
  921. package/src/foundry/common/utils/semaphore.mjs.d.ts +0 -83
  922. package/src/foundry/index.d.ts +0 -3
  923. package/src/foundry/templates/index.d.ts +0 -1
  924. package/src/foundry/templates/views/layouts/main.hbs.d.ts +0 -11
  925. package/src/index.d.ts +0 -2
  926. package/src/types/augments/index.d.ts +0 -6
  927. package/src/types/augments/pixiGraphicsSmooth.d.ts +0 -7
  928. package/src/types/augments/pixiLegacyGraphics.d.ts +0 -7
  929. package/src/types/augments/pixiParticles.d.ts +0 -7
  930. package/src/types/augments/simple-peer.d.ts +0 -13
  931. package/src/types/augments/socket.io-client.d.ts +0 -12
  932. package/src/types/augments/tinyMCE.d.ts +0 -82
  933. package/src/types/config.d.ts +0 -183
  934. package/src/types/helperTypes.d.ts +0 -151
  935. package/src/types/index.d.ts +0 -3
  936. package/src/types/utils.d.ts +0 -143
  937. /package/src/foundry/client/apps/av/{camera-popout.d.ts → camera-popout.d.mts} +0 -0
  938. /package/src/foundry/client/{tail.d.ts → tail.d.mts} +0 -0
@@ -0,0 +1,2856 @@
1
+ import type { GetKey, HandleEmptyObject, InterfaceToObject } from "../../types/helperTypes.d.mts";
2
+ import type * as CONST from "../common/constants.d.mts";
3
+ import type { StatusEffect } from "./data/documents/token.d.mts";
4
+ import type { DataModel, Document } from "../common/abstract/module.d.mts";
5
+
6
+ declare global {
7
+ namespace CONFIG {
8
+ interface Dice {
9
+ /**
10
+ * The Dice types which are supported.
11
+ * @defaultValue `[Die, FateDie]`
12
+ */
13
+ types: Array<typeof foundry.dice.terms.DiceTerm>;
14
+
15
+ rollModes: CONFIG.Dice.RollModes;
16
+
17
+ /**
18
+ * Configured Roll class definitions
19
+ * @defaultValue `[Roll]`
20
+ */
21
+ rolls: Array<typeof foundry.dice.Roll>;
22
+
23
+ /**
24
+ * Configured DiceTerm class definitions
25
+ * @defaultValue
26
+ * ```typescript
27
+ * {
28
+ * DiceTerm: typeof DiceTerm,
29
+ * MathTerm: typeof MathTerm,
30
+ * NumericTerm: typeof NumericTerm,
31
+ * OperatorTerm: typeof OperatorTerm,
32
+ * ParentheticalTerm: typeof ParentheticalTerm,
33
+ * PoolTerm: typeof PoolTerm,
34
+ * StringTerm: typeof StringTerm
35
+ * }
36
+ * ```
37
+ */
38
+ termTypes: Record<string, typeof foundry.dice.terms.RollTerm>;
39
+
40
+ /** Configured roll terms and the classes they map to. */
41
+ terms: {
42
+ c: typeof foundry.dice.terms.Coin;
43
+ d: typeof foundry.dice.terms.Die;
44
+ f: typeof foundry.dice.terms.FateDie;
45
+ } & Record<string, typeof foundry.dice.terms.DiceTerm>;
46
+
47
+ /**
48
+ * A function used to provide random uniform values.
49
+ * @defaultValue `MersenneTwister.random`
50
+ */
51
+ randomUniform: () => number;
52
+
53
+ /** A parser implementation for parsing Roll expressions. */
54
+ parser: typeof foundry.dice.RollParser;
55
+
56
+ /** A collection of custom functions that can be included in roll expressions.*/
57
+ functions: Record<string, RollFunction>;
58
+ }
59
+ }
60
+
61
+ /**
62
+ * Runtime configuration settings for Foundry VTT which exposes a large number of variables which determine how
63
+ * aspects of the software behaves.
64
+ *
65
+ * Unlike the CONST analog which is frozen and immutable, the CONFIG object may be updated during the course of a
66
+ * session or modified by system and module developers to adjust how the application behaves.
67
+ */
68
+ interface CONFIG {
69
+ /**
70
+ * Configure debugging flags to display additional information
71
+ */
72
+ debug: {
73
+ /** @defaultValue `false` */
74
+ dice: boolean;
75
+
76
+ /** @defaultValue `false` */
77
+ documents: boolean;
78
+
79
+ fog: {
80
+ /** @defaultValue `false` */
81
+ extractor: boolean;
82
+
83
+ /** @defaultValue `false` */
84
+ manager: boolean;
85
+ };
86
+
87
+ /** @defaultValue `false` */
88
+ hooks: boolean;
89
+
90
+ /** @defaultValue `false` */
91
+ av: boolean;
92
+
93
+ /** @defaultValue `false` */
94
+ avclient: boolean;
95
+
96
+ /** @defaultValue `false` */
97
+ mouseInteraction: boolean;
98
+
99
+ /** @defaultValue `false` */
100
+ time: boolean;
101
+
102
+ /** @defaultValue `false` */
103
+ keybindings: boolean;
104
+
105
+ /** @defaultValue `false` */
106
+ polygons: boolean;
107
+
108
+ /** @defaultValue `false` */
109
+ gamepad: boolean;
110
+ };
111
+
112
+ /**
113
+ * Configure the verbosity of compatibility warnings generated throughout the software.
114
+ * The compatibility mode defines the logging level of any displayed warnings.
115
+ * The includePatterns and excludePatterns arrays provide a set of regular expressions which can either only
116
+ * include or specifically exclude certain file paths or warning messages.
117
+ * Exclusion rules take precedence over inclusion rules.
118
+ *
119
+ * @see {@link CONST.COMPATIBILITY_MODES}
120
+ *
121
+ * @example Include Specific Errors
122
+ * ```js
123
+ * const includeRgx = new RegExp("/systems/dnd5e/module/documents/active-effect.mjs");
124
+ * CONFIG.compatibility.includePatterns.push(includeRgx);
125
+ * ```
126
+ *
127
+ * @example Exclude Specific Errors
128
+ * ```js
129
+ * const excludeRgx = new RegExp("/systems/dnd5e/");
130
+ * CONFIG.compatibility.excludePatterns.push(excludeRgx);
131
+ * ```
132
+ *
133
+ * @example Both Include and Exclude
134
+ * ```js
135
+ * const includeRgx = new RegExp("/systems/dnd5e/module/actor/");
136
+ * const excludeRgx = new RegExp("/systems/dnd5e/module/actor/sheets/base.js");
137
+ * CONFIG.compatibility.includePatterns.push(includeRgx);
138
+ * CONFIG.compatibility.excludePatterns.push(excludeRgx);
139
+ * ```
140
+ *
141
+ * @example Targeting more than filenames
142
+ * ```js
143
+ * const includeRgx = new RegExp("applyActiveEffects");
144
+ * CONFIG.compatibility.includePatterns.push(includeRgx);
145
+ * ```
146
+ */
147
+ compatibility: {
148
+ mode: CONST.COMPATIBILITY_MODES;
149
+ includePatterns: RegExp[];
150
+ excludePatterns: RegExp[];
151
+ };
152
+
153
+ /**
154
+ * Configure the DatabaseBackend used to perform Document operations
155
+ * @defaultValue `new ClientDatabaseBackend()`
156
+ */
157
+ DatabaseBackend: foundry.data.ClientDatabaseBackend;
158
+
159
+ /**
160
+ * Configuration for the Actor document
161
+ */
162
+ Actor: {
163
+ /** @defaultValue `Actor` */
164
+ documentClass: Document.ConfiguredClassForName<"Actor">;
165
+
166
+ /** @defaultValue `Actors` */
167
+ collection: typeof Actors;
168
+
169
+ /** @defaultValue `[]` */
170
+ compendiumIndexFields: string[];
171
+
172
+ /** @defaultValue `"ui/banners/actor-banner.webp"` */
173
+ compendiumBanner: string;
174
+
175
+ /** @defaultValue `"fas fa-user"` */
176
+ sidebarIcon: string;
177
+
178
+ /**
179
+ * @defaultValue `{}`
180
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
181
+ */
182
+ dataModels: Record<string, typeof DataModel<any, Actor>>;
183
+
184
+ /**
185
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
186
+ */
187
+ sheetClasses: Record<foundry.documents.BaseActor.TypeNames, Record<string, SheetClassConfig>>;
188
+
189
+ /**
190
+ * @defaultValue `{}`
191
+ * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
192
+ */
193
+ typeLabels: Record<foundry.documents.BaseActor.TypeNames, string>;
194
+
195
+ /** @defaultValue `{}` */
196
+ typeIcons: Record<string, string>;
197
+
198
+ /** @defaultValue `{}` */
199
+ trackableAttributes: Record<string, string>;
200
+ };
201
+
202
+ /**
203
+ * Configuration for the Adventure document.
204
+ * Currently for internal use only.
205
+ * @internal
206
+ */
207
+ Adventure: {
208
+ /** @defaultValue `foundry.documents.BaseAdventure` */
209
+ documentClass: Document.ConfiguredClassForName<"Adventure">;
210
+
211
+ /**
212
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
213
+ */
214
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
215
+
216
+ /**
217
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
218
+ */
219
+ typeLabels?: Record<"base", string>;
220
+
221
+ /** @defaultValue `[]` */
222
+ compendiumIndexFields: string[];
223
+
224
+ /** @defaultValue `"ui/banners/adventure-banner.webp"` */
225
+ compendiumBanner: string;
226
+
227
+ /** @defaultValue `"fa-solid fa-treasure-chest"` */
228
+ sidebarIcon: string;
229
+ };
230
+
231
+ /**
232
+ * Configuration for the Cards primary Document type
233
+ */
234
+ Cards: {
235
+ /** @defaultValue `CardStacks` */
236
+ collection: typeof CardStacks;
237
+
238
+ /** @defaultValue `[]` */
239
+ compendiumIndexFields: string[];
240
+
241
+ /** @defaultValue `Cards` */
242
+ documentClass: Document.ConfiguredClassForName<"Cards">;
243
+
244
+ /** @defaultValue `"fa-solid fa-cards"` */
245
+ sidebarIcon: string;
246
+
247
+ /**
248
+ * @defaultValue `{}`
249
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
250
+ */
251
+ dataModels: Record<string, typeof DataModel<any, Cards>>;
252
+
253
+ /**
254
+ * @defaultValue
255
+ * ```typescript
256
+ * {
257
+ * pokerDark: {
258
+ * type: "deck",
259
+ * label: "CARDS.DeckPresetPokerDark",
260
+ * src: "cards/poker-deck-dark.json"
261
+ * },
262
+ * pokerLight: {
263
+ * type: "deck",
264
+ * label: "CARDS.DeckPresetPokerLight",
265
+ * src: "cards/poker-deck-light.json"
266
+ * }
267
+ * }
268
+ * ```
269
+ */
270
+ presets: Record<string, CONFIG.Cards.Preset>;
271
+
272
+ /**
273
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
274
+ */
275
+ sheetClasses: Record<foundry.documents.BaseCards.TypeNames, Record<string, SheetClassConfig>>;
276
+
277
+ /**
278
+ * @defaultValue `{}`
279
+ * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
280
+ */
281
+ typeLabels: Record<foundry.documents.BaseCards.TypeNames, string>;
282
+
283
+ typeIcons: {
284
+ /** @defaultValue `"fas fa-cards"` */
285
+ deck: string;
286
+ /** @defaultValue `"fa-duotone fa-cards"` */
287
+ hand: string;
288
+ /** @defaultValue `"fa-duotone fa-layer-group"` */
289
+ pile: string;
290
+
291
+ [x: string]: string;
292
+ };
293
+ };
294
+
295
+ /**
296
+ * Configuration for the ChatMessage document
297
+ */
298
+ ChatMessage: {
299
+ /** @defaultValue `ChatMessage` */
300
+ documentClass: Document.ConfiguredClassForName<"ChatMessage">;
301
+
302
+ /**
303
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
304
+ */
305
+ // TODO: Update in v12
306
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
307
+
308
+ /**
309
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
310
+ */
311
+ typeLabels?: Record<"base", string>;
312
+
313
+ /** @defaultValue `Messages` */
314
+ collection: typeof Messages;
315
+
316
+ /** @defaultValue `"templates/sidebar/chat-message.html"` */
317
+ template: string;
318
+
319
+ /** @defaultValue `"fas fa-comments"` */
320
+ sidebarIcon: string;
321
+
322
+ /** @defaultValue `100` */
323
+ batchSize: number;
324
+ };
325
+
326
+ /**
327
+ * Configuration for the Combat document
328
+ */
329
+ Combat: {
330
+ /** @defaultValue `Combat` */
331
+ documentClass: Document.ConfiguredClassForName<"Combat">;
332
+
333
+ /**
334
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
335
+ */
336
+ // TODO: Update in v12
337
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
338
+
339
+ /**
340
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
341
+ */
342
+ typeLabels?: Record<"base", string>;
343
+
344
+ /** @defaultValue `CombatEncounters` */
345
+ collection: typeof CombatEncounters;
346
+
347
+ /** @defaultValue `"fas fa-swords"` */
348
+ sidebarIcon: string;
349
+
350
+ initiative: {
351
+ /** @defaultValue `null` */
352
+ formula: string | null;
353
+
354
+ /** @defaultValue `2` */
355
+ decimals: number;
356
+ };
357
+
358
+ /**
359
+ * @defaultValue
360
+ * ```typescript
361
+ * {
362
+ * "epic": {
363
+ * label: "COMBAT.Sounds.Epic",
364
+ * startEncounter: ["sounds/combat/epic-start-3hit.ogg", "sounds/combat/epic-start-horn.ogg"],
365
+ * nextUp: ["sounds/combat/epic-next-horn.ogg"],
366
+ * yourTurn: ["sounds/combat/epic-turn-1hit.ogg", "sounds/combat/epic-turn-2hit.ogg"]
367
+ * },
368
+ * "mc": {
369
+ * label: "COMBAT.Sounds.MC",
370
+ * startEncounter: ["sounds/combat/mc-start-battle.ogg", "sounds/combat/mc-start-begin.ogg", "sounds/combat/mc-start-fight.ogg", "sounds/combat/mc-start-fight2.ogg"],
371
+ * nextUp: ["sounds/combat/mc-next-itwillbe.ogg", "sounds/combat/mc-next-makeready.ogg", "sounds/combat/mc-next-youare.ogg"],
372
+ * yourTurn: ["sounds/combat/mc-turn-itisyour.ogg", "sounds/combat/mc-turn-itsyour.ogg"]
373
+ * }
374
+ * }
375
+ * ```
376
+ */
377
+ sounds: CONFIG.Combat.Sounds;
378
+ };
379
+
380
+ /**
381
+ * Configuration for dice rolling behaviors in the Foundry Virtual Tabletop client
382
+ */
383
+ Dice: CONFIG.Dice;
384
+
385
+ /**
386
+ * Configuration for the FogExploration document
387
+ */
388
+ FogExploration: {
389
+ /** @defaultValue `FogExploration` */
390
+ documentClass: Document.ConfiguredClassForName<"FogExploration">;
391
+
392
+ /**
393
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
394
+ */
395
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
396
+
397
+ /**
398
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
399
+ */
400
+ typeLabels?: Record<"base", string>;
401
+
402
+ /** @defaultValue `FogExplorations` */
403
+ collection: typeof FogExplorations;
404
+ };
405
+
406
+ /**
407
+ * Configuration for the Folder entity
408
+ */
409
+ Folder: {
410
+ /** @defaultValue `Folder` */
411
+ documentClass: Document.ConfiguredClassForName<"Folder">;
412
+
413
+ /** @defaultValue `Folders` */
414
+ collection: typeof Folders;
415
+
416
+ /** @defaultValue `"fas fa-folder"` */
417
+ sidebarIcon: string;
418
+
419
+ /**
420
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
421
+ */
422
+ sheetClasses: Record<foundry.CONST.FOLDER_DOCUMENT_TYPES, Record<string, SheetClassConfig>>;
423
+
424
+ /**
425
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
426
+ */
427
+ typeLabels?: Record<foundry.CONST.FOLDER_DOCUMENT_TYPES, string>;
428
+ };
429
+
430
+ /**
431
+ * Configuration for the default Item entity class
432
+ */
433
+ Item: {
434
+ /** @defaultValue `Item` */
435
+ documentClass: Document.ConfiguredClassForName<"Item">;
436
+
437
+ /** @defaultValue `Items` */
438
+ collection: typeof Items;
439
+
440
+ /** @defaultValue `[]` */
441
+ compendiumIndexFields: string[];
442
+
443
+ /** @defaultValue `"ui/banners/item-banner.webp"` */
444
+ compendiumBanner: string;
445
+
446
+ /** @defaultValue `"fas fa-suitcase"` */
447
+ sidebarIcon: string;
448
+
449
+ /**
450
+ * @defaultValue `{}`
451
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
452
+ */
453
+ dataModels: Record<string, typeof DataModel<any, Item>>;
454
+
455
+ /**
456
+ * @defaultValue `{}`
457
+ * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
458
+ */
459
+ typeLabels: Record<foundry.documents.BaseItem.TypeNames, string>;
460
+
461
+ /**
462
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
463
+ */
464
+ sheetClasses: Record<foundry.documents.BaseItem.TypeNames, Record<string, SheetClassConfig>>;
465
+ };
466
+
467
+ /**
468
+ * Configuration for the JournalEntry entity
469
+ */
470
+ JournalEntry: {
471
+ /** @defaultValue `JournalEntry` */
472
+ documentClass: Document.ConfiguredClassForName<"JournalEntry">;
473
+
474
+ /**
475
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
476
+ */
477
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
478
+
479
+ /**
480
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
481
+ */
482
+ typeLabels?: Record<"base", string>;
483
+
484
+ /** @defaultValue `Journal` */
485
+ collection: typeof Journal;
486
+
487
+ /** @defaultValue `[]` */
488
+ compendiumIndexFields: string[];
489
+
490
+ /** @defaultValue `"ui/banners/journalentry-banner.webp"` */
491
+ compendiumBanner: string;
492
+
493
+ noteIcons: {
494
+ /** @defaultValue `"icons/svg/anchor.svg"` */
495
+ Anchor: string;
496
+
497
+ /** @defaultValue `"icons/svg/barrel.svg"` */
498
+ Barrel: string;
499
+
500
+ /** @defaultValue `"icons/svg/book.svg"` */
501
+ Book: string;
502
+
503
+ /** @defaultValue `"icons/svg/bridge.svg"` */
504
+ Bridge: string;
505
+
506
+ /** @defaultValue `"icons/svg/cave.svg"` */
507
+ Cave: string;
508
+
509
+ /** @defaultValue `"icons/svg/castle.svg"` */
510
+ Castle: string;
511
+
512
+ /** @defaultValue `"icons/svg/chest.svg"` */
513
+ Chest: string;
514
+
515
+ /** @defaultValue `"icons/svg/city.svg"` */
516
+ City: string;
517
+
518
+ /** @defaultValue `"icons/svg/coins.svg"` */
519
+ Coins: string;
520
+
521
+ /** @defaultValue `"icons/svg/fire.svg"` */
522
+ Fire: string;
523
+
524
+ /** @defaultValue `"icons/svg/hanging-sign.svg"` */
525
+ "Hanging Sign": string;
526
+
527
+ /** @defaultValue `"icons/svg/house.svg"` */
528
+ House: string;
529
+
530
+ /** @defaultValue `"icons/svg/mountain.svg"` */
531
+ Mountain: string;
532
+
533
+ /** @defaultValue `"icons/svg/oak.svg"` */
534
+ "Oak Tree": string;
535
+
536
+ /** @defaultValue `"icons/svg/obelisk.svg"` */
537
+ Obelisk: string;
538
+
539
+ /** @defaultValue `"icons/svg/pawprint.svg"` */
540
+ Pawprint: string;
541
+
542
+ /** @defaultValue `"icons/svg/ruins.svg"` */
543
+ Ruins: string;
544
+
545
+ /** @defaultValue `"icons/svg/skull.svg"` */
546
+ Skull: string;
547
+
548
+ /** @defaultValue `"icons/svg/statue.svg"` */
549
+ Statue: string;
550
+
551
+ /** @defaultValue `"icons/svg/sword.svg"` */
552
+ Sword: string;
553
+
554
+ /** @defaultValue `"icons/svg/tankard.svg"` */
555
+ Tankard: string;
556
+
557
+ /** @defaultValue `"icons/svg/temple.svg"` */
558
+ Temple: string;
559
+
560
+ /** @defaultValue `"icons/svg/tower.svg"` */
561
+ Tower: string;
562
+
563
+ /** @defaultValue `"icons/svg/trap.svg"` */
564
+ Trap: string;
565
+
566
+ /** @defaultValue `"icons/svg/village.svg"` */
567
+ Village: string;
568
+
569
+ /** @defaultValue `"icons/svg/waterfall.svg"` */
570
+ Waterfall: string;
571
+
572
+ /** @defaultValue `"icons/svg/windmill.svg"` */
573
+ Windmill: string;
574
+ } & Record<string, string>;
575
+
576
+ /** @defaultValue `"fas fa-book-open"` */
577
+ sidebarIcon: string;
578
+ };
579
+
580
+ /**
581
+ * Configuration for the Macro entity
582
+ */
583
+ Macro: {
584
+ /** @defaultValue `Macro` */
585
+ documentClass: Document.ConfiguredClassForName<"Macro">;
586
+
587
+ /**
588
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
589
+ */
590
+ sheetClasses: Record<foundry.documents.BaseMacro.TypeNames, Record<string, SheetClassConfig>>;
591
+
592
+ /**
593
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
594
+ */
595
+ typeLabels?: Record<foundry.documents.BaseMacro.TypeNames, string>;
596
+
597
+ /** @defaultValue `Macros` */
598
+ collection: typeof Macros;
599
+
600
+ /** @defaultValue `[]` */
601
+ compendiumIndexFields: string[];
602
+
603
+ /** @defaultValue `"ui/banners/macro-banner.webp"` */
604
+ compendiumBanner: string;
605
+
606
+ /** @defaultValue `"fas fa-code"` */
607
+ sidebarIcon: string;
608
+ };
609
+
610
+ /**
611
+ * Configuration for the default Playlist entity class
612
+ */
613
+ Playlist: {
614
+ /** @defaultValue `Playlist` */
615
+ documentClass: Document.ConfiguredClassForName<"Playlist">;
616
+
617
+ /**
618
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
619
+ */
620
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
621
+
622
+ /**
623
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
624
+ */
625
+ typeLabels?: Record<"base", string>;
626
+
627
+ /** @defaultValue `Playlists` */
628
+ collection: typeof Playlists;
629
+
630
+ /** @defaultValue `[]` */
631
+ compendiumIndexFields: string[];
632
+
633
+ /** @defaultValue `"ui/banners/playlist-banner.webp"` */
634
+ compendiumBanner: string;
635
+
636
+ /** @defaultValue `"fas fa-music"` */
637
+ sidebarIcon: string;
638
+
639
+ /** @defaultValue `20` */
640
+ autoPreloadSeconds: number;
641
+ };
642
+
643
+ /**
644
+ * Configuration for RollTable random draws
645
+ */
646
+ RollTable: {
647
+ /** @defaultValue `RollTable` */
648
+ documentClass: Document.ConfiguredClassForName<"RollTable">;
649
+
650
+ /**
651
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
652
+ */
653
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
654
+
655
+ /**
656
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
657
+ */
658
+ typeLabels?: Record<"base", string>;
659
+
660
+ /** @defaultValue `RollTables` */
661
+ collection: typeof RollTables;
662
+
663
+ /** @defaultValue `["formula"]` */
664
+ compendiumIndexFields: string[];
665
+
666
+ /** @defaultValue `"ui/banners/rolltable-banner.webp"` */
667
+ compendiumBanner: string;
668
+
669
+ /** @defaultValue `"fas fa-th-list"` */
670
+ sidebarIcon: string;
671
+
672
+ /** @defaultValue `"icons/svg/d20-black.svg"` */
673
+ resultIcon: string;
674
+
675
+ /** @defaultValue `"templates/dice/table-result.html"` */
676
+ resultTemplate: string;
677
+ };
678
+
679
+ /**
680
+ * Configuration for the default Scene entity class
681
+ */
682
+ Scene: {
683
+ /** @defaultValue `Scene` */
684
+ documentClass: Document.ConfiguredClassForName<"Scene">;
685
+
686
+ /**
687
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
688
+ */
689
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
690
+
691
+ /**
692
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
693
+ */
694
+ typeLabels?: Record<"base", string>;
695
+
696
+ /** @defaultValue `Scenes` */
697
+ collection: typeof Scenes;
698
+
699
+ /** @defaultValue `[]` */
700
+ compendiumIndexFields: string[];
701
+
702
+ /** @defaultValue `"ui/banners/scene-banner.webp"` */
703
+ compendiumBanner: string;
704
+
705
+ /** @defaultValue `"fas fa-map"` */
706
+ sidebarIcon: string;
707
+ };
708
+
709
+ Setting: {
710
+ /** @defaultValue `Setting` */
711
+ documentClass: Document.ConfiguredClassForName<"Setting">;
712
+
713
+ /**
714
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
715
+ */
716
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
717
+
718
+ /**
719
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
720
+ */
721
+ typeLabels?: Record<"base", string>;
722
+
723
+ /** @defaultValue `WorldSettings` */
724
+ collection: typeof WorldSettings;
725
+ };
726
+
727
+ /**
728
+ * Configuration for the User entity, it's roles, and permissions
729
+ */
730
+ User: {
731
+ /** @defaultValue `User` */
732
+ documentClass: Document.ConfiguredClassForName<"User">;
733
+
734
+ /**
735
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
736
+ */
737
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
738
+
739
+ /**
740
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
741
+ */
742
+ typeLabels?: Record<"base", string>;
743
+
744
+ /** @defaultValue `Users` */
745
+ collection: typeof Users;
746
+ };
747
+
748
+ /**
749
+ * Configuration settings for the Canvas and its contained layers and objects
750
+ */
751
+ Canvas: {
752
+ /** @defaultValue `8` */
753
+ blurStrength: number;
754
+
755
+ /** @defaultValue `0x242448` */
756
+ darknessColor: number;
757
+
758
+ /** @defaultValue `0xeeeeee` */
759
+ daylightColor: number;
760
+
761
+ /** @defaultValue `0xffffff` */
762
+ brightestColor: number;
763
+
764
+ /** @defaultValue `0.25` */
765
+ darknessLightPenalty: number;
766
+
767
+ /** @defaultValue `/Edg|Firefox|Electron/` */
768
+ videoPremultiplyRgx: RegExp;
769
+
770
+ dispositionColors: {
771
+ /** @defaultValue `0xe72124` */
772
+ HOSTILE: number;
773
+
774
+ /** @defaultValue `0xf1d836` */
775
+ NEUTRAL: number;
776
+
777
+ /** @defaultValue `0x43dfdf` */
778
+ FRIENDLY: number;
779
+
780
+ /** @defaultValue `0x555555` */
781
+ INACTIVE: number;
782
+
783
+ /** @defaultValue `0x33bc4e` */
784
+ PARTY: number;
785
+
786
+ /** @defaultValue `0xff9829` */
787
+ CONTROLLED: number;
788
+
789
+ /** @defaultValue `0xA612D4` */
790
+ SECRET: number;
791
+ };
792
+
793
+ /** @defaultValue `0x000000` */
794
+ exploredColor: number;
795
+
796
+ /** @defaultValue `0x000000` */
797
+ unexploredColor: number;
798
+
799
+ groups: CONFIG.Canvas.Groups;
800
+
801
+ layers: CONFIG.Canvas.Layers;
802
+
803
+ lightLevels: {
804
+ /** @defaultValue `0` */
805
+ dark: number;
806
+
807
+ /** @defaultValue `0.5` */
808
+ halfdark: number;
809
+
810
+ /** @defaultValue `0.25` */
811
+ dim: number;
812
+
813
+ /** @defaultValue `1.0` */
814
+ bright: number;
815
+ };
816
+
817
+ /** @defaultValue `FogManager` */
818
+ fogManager: typeof FogManager;
819
+
820
+ /** @defaultValue `ColorManager` */
821
+ colorManager: typeof CanvasColorManager;
822
+
823
+ polygonBackends: {
824
+ /** @defaultValue `typeof ClockwiseSweepPolygon` */
825
+ sight: typeof PointSourcePolygon;
826
+ /** @defaultValue `typeof ClockwiseSweepPolygon` */
827
+ light: typeof PointSourcePolygon;
828
+ /** @defaultValue `typeof ClockwiseSweepPolygon` */
829
+ sound: typeof PointSourcePolygon;
830
+ /** @defaultValue `typeof ClockwiseSweepPolygon` */
831
+ move: typeof PointSourcePolygon;
832
+ };
833
+ visibilityFilter: typeof VisibilityFilter;
834
+
835
+ /** @defaultValue `Ruler` */
836
+ rulerClass: typeof Ruler;
837
+
838
+ globalLightConfig: {
839
+ /** @defaultValue `0` */
840
+ luminosity: number;
841
+ };
842
+
843
+ /** @defaultValue `0.8` */
844
+ dragSpeedModifier: number;
845
+
846
+ /** @defaultValue `3.0` */
847
+ maxZoom: number;
848
+
849
+ /** @defaultValue `4` */
850
+ objectBorderThickness: number;
851
+
852
+ lightAnimations: {
853
+ flame: {
854
+ /** @defaultValue `"LIGHT.AnimationFame"` */
855
+ label: string;
856
+
857
+ /** @defaultValue `LightSource.prototype.animateFlickering` */
858
+ animation: CONFIG.Canvas.LightAnimationFunction;
859
+
860
+ /** @defaultValue `FlameIlluminationShader` */
861
+ illuminationShader: typeof AbstractBaseShader;
862
+
863
+ /** @defaultValue `FlameColorationShader` */
864
+ colorationShader: typeof AbstractBaseShader;
865
+ };
866
+
867
+ torch: {
868
+ /** @defaultValue `"LIGHT.AnimationTorch"` */
869
+ label: string;
870
+
871
+ /** @defaultValue `LightSource.prototype.animateTorch` */
872
+ animation: CONFIG.Canvas.LightAnimationFunction;
873
+
874
+ /** @defaultValue `TorchIlluminationShader` */
875
+ illuminationShader: typeof AbstractBaseShader;
876
+
877
+ /** @defaultValue `TorchColorationShader` */
878
+ colorationShader: typeof AbstractBaseShader;
879
+ };
880
+
881
+ revolving: {
882
+ /** @defaultValue `"LIGHT.AnimationRevolving"` */
883
+ label: string;
884
+
885
+ /** @defaultValue `LightSource.prototype.animateTime` */
886
+ animation: CONFIG.Canvas.LightAnimationFunction;
887
+
888
+ /** @defaultValue `RevolvingColorationShader` */
889
+ colorationShader: typeof AbstractBaseShader;
890
+ };
891
+
892
+ siren: {
893
+ /** @defaultValue `"LIGHT.AnimationSiren"` */
894
+ label: string;
895
+
896
+ /** @defaultValue `LightSource.prototype.animateTorch` */
897
+ animation: CONFIG.Canvas.LightAnimationFunction;
898
+
899
+ /** @defaultValue `SirenIlluminationShader` */
900
+ illuminationShader: typeof AbstractBaseShader;
901
+
902
+ /** @defaultValue `SirenIlluminationShader` */
903
+ colorationShader: typeof AbstractBaseShader;
904
+ };
905
+
906
+ pulse: {
907
+ /** @defaultValue `"LIGHT.AnimationPulse"` */
908
+ label: string;
909
+
910
+ /** @defaultValue `LightSource.prototype.animatePulse` */
911
+ animation: CONFIG.Canvas.LightAnimationFunction;
912
+
913
+ /** @defaultValue `PulseIlluminationShader` */
914
+ illuminationShader: typeof AbstractBaseShader;
915
+
916
+ /** @defaultValue `PulseColorationShader` */
917
+ colorationShader: typeof AbstractBaseShader;
918
+ };
919
+
920
+ chroma: {
921
+ /** @defaultValue `"LIGHT.AnimationChroma"` */
922
+ label: string;
923
+
924
+ /** @defaultValue `LightSource.prototype.animateTime` */
925
+ animation: CONFIG.Canvas.LightAnimationFunction;
926
+
927
+ /** @defaultValue `ChromaColorationShader` */
928
+ colorationShader: typeof AbstractBaseShader;
929
+ };
930
+
931
+ wave: {
932
+ /** @defaultValue `"LIGHT.AnimationWave"` */
933
+ label: string;
934
+
935
+ /** @defaultValue `LightSource.prototype.animateTime` */
936
+ animation: CONFIG.Canvas.LightAnimationFunction;
937
+
938
+ /** @defaultValue `WaveIlluminationShader` */
939
+ illuminationShader: typeof AbstractBaseShader;
940
+
941
+ /** @defaultValue `WaveColorationShader` */
942
+ colorationShader: typeof AbstractBaseShader;
943
+ };
944
+
945
+ fog: {
946
+ /** @defaultValue `"LIGHT.AnimationFog"` */
947
+ label: string;
948
+
949
+ /** @defaultValue `LightSource.prototype.animateTime` */
950
+ animation: CONFIG.Canvas.LightAnimationFunction;
951
+
952
+ /** @defaultValue `FogColorationShader` */
953
+ colorationShader: typeof AbstractBaseShader;
954
+ };
955
+
956
+ sunburst: {
957
+ /** @defaultValue `"LIGHT.AnimationSunburst"` */
958
+ label: string;
959
+
960
+ /** @defaultValue `LightSource.prototype.animateTime` */
961
+ animation: CONFIG.Canvas.LightAnimationFunction;
962
+
963
+ /** @defaultValue `SunburstIlluminationShader` */
964
+ illuminationShader: typeof AbstractBaseShader;
965
+
966
+ /** @defaultValue `SunburstColorationShader` */
967
+ colorationShader: typeof AbstractBaseShader;
968
+ };
969
+
970
+ dome: {
971
+ /** @defaultValue `"LIGHT.AnimationLightDome"` */
972
+ label: string;
973
+
974
+ /** @defaultValue `LightSource.prototype.animateTime` */
975
+ animation: CONFIG.Canvas.LightAnimationFunction;
976
+
977
+ /** @defaultValue `LightDomeColorationShader` */
978
+ colorationShader: typeof AbstractBaseShader;
979
+ };
980
+
981
+ emanation: {
982
+ /** @defaultValue `"LIGHT.AnimationEmanation"` */
983
+ label: string;
984
+
985
+ /** @defaultValue `LightSource.prototype.animateTime` */
986
+ animation: CONFIG.Canvas.LightAnimationFunction;
987
+
988
+ /** @defaultValue `EmanationColorationShader` */
989
+ colorationShader: typeof AbstractBaseShader;
990
+ };
991
+
992
+ hexa: {
993
+ /** @defaultValue `"LIGHT.AnimationHexaDome";` */
994
+ label: string;
995
+
996
+ /** @defaultValue `LightSource.prototype.animateTime` */
997
+ animation: CONFIG.Canvas.LightAnimationFunction;
998
+
999
+ /** @defaultValue `HexaDomeColorationShader` */
1000
+ colorationShader: typeof AbstractBaseShader;
1001
+ };
1002
+
1003
+ ghost: {
1004
+ /** @defaultValue `"LIGHT.AnimationGhostLight"` */
1005
+ label: string;
1006
+
1007
+ /** @defaultValue `LightSource.prototype.animateTime` */
1008
+ animation: CONFIG.Canvas.LightAnimationFunction;
1009
+
1010
+ /** @defaultValue `GhostLightIlluminationShader` */
1011
+ illuminationShader: typeof AbstractBaseShader;
1012
+
1013
+ /** @defaultValue `GhostLightColorationShader` */
1014
+ colorationShader: typeof AbstractBaseShader;
1015
+ };
1016
+
1017
+ energy: {
1018
+ /** @defaultValue `"LIGHT.AnimationEnergyField"` */
1019
+ label: string;
1020
+
1021
+ /** @defaultValue `LightSource.prototype.animateTime` */
1022
+ animation: CONFIG.Canvas.LightAnimationFunction;
1023
+
1024
+ /** @defaultValue `EnergyFieldColorationShader` */
1025
+ colorationShader: typeof AbstractBaseShader;
1026
+ };
1027
+
1028
+ roiling: {
1029
+ /** @defaultValue `"LIGHT.AnimationRoilingMass"` */
1030
+ label: string;
1031
+
1032
+ /** @defaultValue `LightSource.prototype.animateTime` */
1033
+ animation: CONFIG.Canvas.LightAnimationFunction;
1034
+
1035
+ /** @defaultValue `RoilingIlluminationShader` */
1036
+ illuminationShader: typeof AbstractBaseShader;
1037
+ };
1038
+
1039
+ hole: {
1040
+ /** @defaultValue `"LIGHT.AnimationBlackHole"` */
1041
+ label: string;
1042
+
1043
+ /** @defaultValue `LightSource.prototype.animateTime` */
1044
+ animation: CONFIG.Canvas.LightAnimationFunction;
1045
+
1046
+ /** @defaultValue `BlackHoleIlluminationShader` */
1047
+ illuminationShader: typeof AbstractBaseShader;
1048
+ };
1049
+
1050
+ vortex: {
1051
+ /** @defaultValue `"LIGHT.AnimationVortex"` */
1052
+ label: string;
1053
+
1054
+ /** @defaultValue `LightSource.prototype.animateTime` */
1055
+ animation: CONFIG.Canvas.LightAnimationFunction;
1056
+
1057
+ /** @defaultValue `VortexIlluminationShader` */
1058
+ illuminationShader: typeof AbstractBaseShader;
1059
+
1060
+ /** @defaultValue `VortexColorationShader` */
1061
+ colorationShader: typeof AbstractBaseShader;
1062
+ };
1063
+
1064
+ witchwave: {
1065
+ /** @defaultValue `"LIGHT.AnimationBewitchingWave"` */
1066
+ label: string;
1067
+
1068
+ /** @defaultValue `LightSource.prototype.animateTime` */
1069
+ animation: CONFIG.Canvas.LightAnimationFunction;
1070
+
1071
+ /** @defaultValue `BewitchingWaveIlluminationShader` */
1072
+ illuminationShader: typeof AbstractBaseShader;
1073
+
1074
+ /** @defaultValue `BewitchingWaveColorationShader` */
1075
+ colorationShader: typeof AbstractBaseShader;
1076
+ };
1077
+
1078
+ rainbowswirl: {
1079
+ /** @defaultValue `"LIGHT.AnimationSwirlingRainbow"` */
1080
+ label: string;
1081
+
1082
+ /** @defaultValue `LightSource.prototype.animateTime` */
1083
+ animation: CONFIG.Canvas.LightAnimationFunction;
1084
+
1085
+ /** @defaultValue `SwirlingRainbowColorationShader` */
1086
+ colorationShader: typeof AbstractBaseShader;
1087
+ };
1088
+
1089
+ radialrainbow: {
1090
+ /** @defaultValue `"LIGHT.AnimationRadialRainbow"` */
1091
+ label: string;
1092
+
1093
+ /** @defaultValue `LightSource.prototype.animateTime` */
1094
+ animation: CONFIG.Canvas.LightAnimationFunction;
1095
+
1096
+ /** @defaultValue `RadialRainbowColorationShader` */
1097
+ colorationShader: typeof AbstractBaseShader;
1098
+ };
1099
+
1100
+ fairy: {
1101
+ /** @defaultValue `"LIGHT.AnimationFairyLight"` */
1102
+ label: string;
1103
+
1104
+ /** @defaultValue `LightSource.prototype.animateTime` */
1105
+ animation: CONFIG.Canvas.LightAnimationFunction;
1106
+
1107
+ /** @defaultValue `FairyLightIlluminationShader` */
1108
+ illuminationShader: typeof AbstractBaseShader;
1109
+
1110
+ /** @defaultValue `FairyLightColorationShader` */
1111
+ colorationShader: typeof AbstractBaseShader;
1112
+ };
1113
+ } & Record<
1114
+ string,
1115
+ {
1116
+ label: string;
1117
+ animation: CONFIG.Canvas.LightAnimationFunction;
1118
+ illuminationShader?: typeof AbstractBaseShader;
1119
+ colorationShader?: typeof AbstractBaseShader;
1120
+ }
1121
+ >;
1122
+
1123
+ pings: {
1124
+ types: {
1125
+ /** @defaultValue `"pulse"` */
1126
+ PULSE: string;
1127
+
1128
+ /** @defaultValue `"alert"` */
1129
+ ALERT: string;
1130
+
1131
+ /** @defaultValue `"chevron"` */
1132
+ PULL: string;
1133
+
1134
+ /** @defaultValue `"arrow"` */
1135
+ ARROW: string;
1136
+ };
1137
+ styles: {
1138
+ /** @defaultValue `{ class: AlertPing, color: "#ff0000", size: 1.5, duration: 900 }` */
1139
+ alert: CONFIG.Canvas.Pings.Style;
1140
+
1141
+ /** @defaultValue `{ class: ArrowPing, size: 1, duration: 900 }` */
1142
+ arrow: CONFIG.Canvas.Pings.Style;
1143
+
1144
+ /** @defaultValue `{ class: ChevronPing, size: 1, duration: 2000 }` */
1145
+ chevron: CONFIG.Canvas.Pings.Style;
1146
+
1147
+ /** @defaultValue `{ class: PulsePing, size: 1.5, duration: 900 }` */
1148
+ pulse: CONFIG.Canvas.Pings.Style;
1149
+
1150
+ [key: string]: CONFIG.Canvas.Pings.Style;
1151
+ };
1152
+
1153
+ /** @defaultValue `700` */
1154
+ pullSpeed: number;
1155
+ };
1156
+ targeting: {
1157
+ /** @defaultValue `.15` */
1158
+ size: number;
1159
+ };
1160
+
1161
+ /**
1162
+ * The set of VisionMode definitions which are available to be used for Token vision.
1163
+ */
1164
+ visionModes: {
1165
+ [key: string]: VisionMode;
1166
+
1167
+ /**
1168
+ * Default (Basic) Vision
1169
+ * @defaultValue
1170
+ * ```typescript
1171
+ * new VisionMode({
1172
+ * id: "basic",
1173
+ * label: "VISION.ModeBasicVision",
1174
+ * vision: {
1175
+ * defaults: { attenuation: 0, contrast: 0, saturation: 0, brightness: 0 }
1176
+ * preferred: true // Takes priority over other vision modes
1177
+ * }
1178
+ * })
1179
+ * ```
1180
+ */
1181
+ basic: VisionMode;
1182
+
1183
+ /**
1184
+ * Darkvision
1185
+ * @defaultValue
1186
+ * ```typescript
1187
+ * new VisionMode({
1188
+ * id: "darkvision",
1189
+ * label: "VISION.ModeDarkvision",
1190
+ * canvas: {
1191
+ * shader: ColorAdjustmentsSamplerShader,
1192
+ * uniforms: { contrast: 0, saturation: -1.0, brightness: 0 }
1193
+ * },
1194
+ * lighting: {
1195
+ * levels: {
1196
+ * [VisionMode.LIGHTING_LEVELS.DIM]: VisionMode.LIGHTING_LEVELS.BRIGHT
1197
+ * },
1198
+ * background: { visibility: VisionMode.LIGHTING_VISIBILITY.REQUIRED }
1199
+ * },
1200
+ * vision: {
1201
+ * darkness: { adaptive: false },
1202
+ * defaults: { attenuation: 0, contrast: 0, saturation: -1.0, brightness: 0 }
1203
+ * }
1204
+ * })
1205
+ * ```
1206
+ */
1207
+ darkvision: VisionMode;
1208
+
1209
+ /**
1210
+ * Darkvision
1211
+ * @defaultValue
1212
+ * ```typescript
1213
+ * new VisionMode({
1214
+ * id: "monochromatic",
1215
+ * label: "VISION.ModeMonochromatic",
1216
+ * canvas: {
1217
+ * shader: ColorAdjustmentsSamplerShader,
1218
+ * uniforms: { contrast: 0, saturation: -1.0, brightness: 0 }
1219
+ * },
1220
+ * lighting: {
1221
+ * background: {
1222
+ * postProcessingModes: ["SATURATION"],
1223
+ * uniforms: { saturation: -1.0, tint: [1, 1, 1] }
1224
+ * },
1225
+ * illumination: {
1226
+ * postProcessingModes: ["SATURATION"],
1227
+ * uniforms: { saturation: -1.0, tint: [1, 1, 1] }
1228
+ * },
1229
+ * coloration: {
1230
+ * postProcessingModes: ["SATURATION"],
1231
+ * uniforms: { saturation: -1.0, tint: [1, 1, 1] }
1232
+ * }
1233
+ * },
1234
+ * vision: {
1235
+ * darkness: { adaptive: false },
1236
+ * defaults: { attenuation: 0, contrast: 0, saturation: -1, brightness: 0 }
1237
+ * }
1238
+ * })
1239
+ * ```
1240
+ */
1241
+ monochromatic: VisionMode;
1242
+
1243
+ /**
1244
+ * Blindness
1245
+ * @defaultValue
1246
+ * ```typescript
1247
+ * new VisionMode({
1248
+ * id: "blindness",
1249
+ * label: "VISION.ModeBlindness",
1250
+ * tokenConfig: false,
1251
+ * canvas: {
1252
+ * shader: ColorAdjustmentsSamplerShader,
1253
+ * uniforms: { contrast: -0.75, saturation: -1, exposure: -0.3 }
1254
+ * },
1255
+ * lighting: {
1256
+ * background: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
1257
+ * illumination: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
1258
+ * coloration: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED }
1259
+ * },
1260
+ * vision: {
1261
+ * darkness: { adaptive: false },
1262
+ * defaults: { attenuation: 0, contrast: -0.5, saturation: -1, brightness: -1 }
1263
+ * }
1264
+ * }),
1265
+ * ```
1266
+ */
1267
+ blindness: VisionMode;
1268
+
1269
+ /**
1270
+ * Tremorsense
1271
+ * @defaultValue
1272
+ * ```typescript
1273
+ * new VisionMode({
1274
+ * id: "tremorsense",
1275
+ * label: "VISION.ModeTremorsense",
1276
+ * canvas: {
1277
+ * shader: ColorAdjustmentsSamplerShader,
1278
+ * uniforms: { contrast: 0, saturation: -0.8, exposure: -0.65 }
1279
+ * },
1280
+ * lighting: {
1281
+ * background: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
1282
+ * illumination: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED },
1283
+ * coloration: { visibility: VisionMode.LIGHTING_VISIBILITY.DISABLED }
1284
+ * },
1285
+ * vision: {
1286
+ * darkness: { adaptive: false },
1287
+ * defaults: { attenuation: 0, contrast: 0.2, saturation: -0.3, brightness: 1 },
1288
+ * background: { shader: WaveBackgroundVisionShader },
1289
+ * coloration: { shader: WaveColorationVisionShader }
1290
+ * }
1291
+ * }, {animated: true})
1292
+ * ```
1293
+ */
1294
+ tremorsense: VisionMode;
1295
+
1296
+ /**
1297
+ * Light Amplification
1298
+ * @defaultValue
1299
+ * ```typescript
1300
+ * new VisionMode({
1301
+ * id: "lightAmplification",
1302
+ * label: "VISION.ModeLightAmplification",
1303
+ * canvas: {
1304
+ * shader: AmplificationSamplerShader,
1305
+ * uniforms: { saturation: -0.5, tint: [0.38, 0.8, 0.38] }
1306
+ * },
1307
+ * lighting: {
1308
+ * background: {
1309
+ * visibility: VisionMode.LIGHTING_VISIBILITY.REQUIRED,
1310
+ * postProcessingModes: ["SATURATION", "EXPOSURE"],
1311
+ * uniforms: { saturation: -0.5, exposure: 1.5, tint: [0.38, 0.8, 0.38] }
1312
+ * },
1313
+ * illumination: {
1314
+ * postProcessingModes: ["SATURATION"],
1315
+ * uniforms: { saturation: -0.5 }
1316
+ * },
1317
+ * coloration: {
1318
+ * postProcessingModes: ["SATURATION", "EXPOSURE"],
1319
+ * uniforms: { saturation: -0.5, exposure: 1.5, tint: [0.38, 0.8, 0.38] }
1320
+ * },
1321
+ * levels: {
1322
+ * [VisionMode.LIGHTING_LEVELS.DIM]: VisionMode.LIGHTING_LEVELS.BRIGHT,
1323
+ * [VisionMode.LIGHTING_LEVELS.BRIGHT]: VisionMode.LIGHTING_LEVELS.BRIGHTEST
1324
+ * }
1325
+ * },
1326
+ * vision: {
1327
+ * darkness: { adaptive: false },
1328
+ * defaults: { attenuation: 0, contrast: 0, saturation: -0.5, brightness: 1 },
1329
+ * background: { shader: AmplificationBackgroundVisionShader }
1330
+ * }
1331
+ * })
1332
+ * ```
1333
+ */
1334
+ lightAmplification: VisionMode;
1335
+ };
1336
+
1337
+ /**
1338
+ * The set of DetectionMode definitions which are available to be used for visibility detection.
1339
+ */
1340
+ detectionModes: {
1341
+ [key: string]: DetectionMode;
1342
+
1343
+ basicSight: DetectionModeBasicSight;
1344
+
1345
+ seeInvisibility: DetectionModeInvisibility;
1346
+
1347
+ senseInvisibility: DetectionModeInvisibility;
1348
+
1349
+ feelTremor: DetectionModeTremor;
1350
+
1351
+ seeAll: DetectionModeAll;
1352
+
1353
+ senseAll: DetectionModeAll;
1354
+ };
1355
+ };
1356
+
1357
+ /**
1358
+ * Configure the default Token text style so that it may be reused and overridden by modules
1359
+ * @defaultValue
1360
+ * ```typescript
1361
+ * new PIXI.TextStyle({
1362
+ * fontFamily: "Signika",
1363
+ * fontSize: 36,
1364
+ * fill: "#FFFFFF",
1365
+ * stroke: "#111111",
1366
+ * strokeThickness: 1,
1367
+ * dropShadow: true,
1368
+ * dropShadowColor: "#000000",
1369
+ * dropShadowBlur: 2,
1370
+ * dropShadowAngle: 0,
1371
+ * dropShadowDistance: 0,
1372
+ * align: "center",
1373
+ * wordWrap: false,
1374
+ * padding: 1
1375
+ * })
1376
+ * ```
1377
+ **/
1378
+ canvasTextStyle: PIXI.TextStyle;
1379
+
1380
+ /**
1381
+ * Available Weather Effects implementations
1382
+ */
1383
+ weatherEffects: {
1384
+ [key: string]: CONFIG.WeatherAmbienceConfiguration;
1385
+
1386
+ /**
1387
+ * @defaultValue
1388
+ * ```ts
1389
+ * {
1390
+ * id: "leaves",
1391
+ * label: "WEATHER.AutumnLeaves",
1392
+ * effects: [{
1393
+ * id: "leavesParticles",
1394
+ * effectClass: AutumnLeavesWeatherEffect
1395
+ * }]
1396
+ * }
1397
+ * ```
1398
+ */
1399
+ leaves: CONFIG.WeatherAmbienceConfiguration;
1400
+
1401
+ /**
1402
+ * @defaultValue
1403
+ * ```ts
1404
+ * {
1405
+ * id: "rain",
1406
+ * label: "WEATHER.Rain",
1407
+ * filter: {
1408
+ * enabled: false
1409
+ * },
1410
+ * effects: [{
1411
+ * id: "rainShader",
1412
+ * effectClass: WeatherShaderEffect,
1413
+ * shaderClass: RainShader,
1414
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1415
+ * config: {
1416
+ * opacity: 0.25,
1417
+ * tint: [0.7, 0.9, 1.0],
1418
+ * intensity: 1,
1419
+ * strength: 1,
1420
+ * rotation: 0.2618,
1421
+ * speed: 0.2,
1422
+ * }
1423
+ * }]
1424
+ * }
1425
+ * ```
1426
+ */
1427
+ rain: CONFIG.WeatherAmbienceConfiguration;
1428
+
1429
+ /**
1430
+ * @defaultValue
1431
+ * ```
1432
+ * {
1433
+ * id: "rainStorm",
1434
+ * label: "WEATHER.RainStorm",
1435
+ * filter: {
1436
+ * enabled: false
1437
+ * },
1438
+ * effects: [{
1439
+ * id: "fogShader",
1440
+ * effectClass: WeatherShaderEffect,
1441
+ * shaderClass: FogShader,
1442
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1443
+ * performanceLevel: 2,
1444
+ * config: {
1445
+ * slope: 1.5,
1446
+ * intensity: 0.050,
1447
+ * speed: -55.0,
1448
+ * scale: 25,
1449
+ * }
1450
+ * },
1451
+ * {
1452
+ * id: "rainShader",
1453
+ * effectClass: WeatherShaderEffect,
1454
+ * shaderClass: RainShader,
1455
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1456
+ * config: {
1457
+ * opacity: 0.45,
1458
+ * tint: [0.7, 0.9, 1.0],
1459
+ * intensity: 1.5,
1460
+ * strength: 1.5,
1461
+ * rotation: 0.5236,
1462
+ * speed: 0.30,
1463
+ * }
1464
+ * }]
1465
+ * }
1466
+ * ```
1467
+ */
1468
+ rainStorm: CONFIG.WeatherAmbienceConfiguration;
1469
+
1470
+ /**
1471
+ * @defaultValue
1472
+ * ```
1473
+ * {
1474
+ * id: "fog",
1475
+ * label: "WEATHER.Fog",
1476
+ * filter: {
1477
+ * enabled: false
1478
+ * },
1479
+ * effects: [{
1480
+ * id: "fogShader",
1481
+ * effectClass: WeatherShaderEffect,
1482
+ * shaderClass: FogShader,
1483
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1484
+ * config: {
1485
+ * slope: 0.45,
1486
+ * intensity: 0.4,
1487
+ * speed: 0.4,
1488
+ * }
1489
+ * }]
1490
+ * }
1491
+ * ```
1492
+ */
1493
+ fog: CONFIG.WeatherAmbienceConfiguration;
1494
+
1495
+ /**
1496
+ * @defaultValue
1497
+ * ```
1498
+ * {
1499
+ * id: "snow",
1500
+ * label: "WEATHER.Snow",
1501
+ * filter: {
1502
+ * enabled: false
1503
+ * },
1504
+ * effects: [{
1505
+ * id: "snowShader",
1506
+ * effectClass: WeatherShaderEffect,
1507
+ * shaderClass: SnowShader,
1508
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1509
+ * config: {
1510
+ * tint: [0.85, 0.95, 1],
1511
+ * direction: 0.5,
1512
+ * speed: 2,
1513
+ * scale: 2.5,
1514
+ * }
1515
+ * }]
1516
+ * }
1517
+ * ```
1518
+ * */
1519
+ snow: CONFIG.WeatherAmbienceConfiguration;
1520
+
1521
+ /**
1522
+ * @defaultValue
1523
+ * ```
1524
+ * {
1525
+ * id: "blizzard",
1526
+ * label: "WEATHER.Blizzard",
1527
+ * filter: {
1528
+ * enabled: false
1529
+ * },
1530
+ * effects: [{
1531
+ * id: "snowShader",
1532
+ * effectClass: WeatherShaderEffect,
1533
+ * shaderClass: SnowShader,
1534
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1535
+ * config: {
1536
+ * tint: [0.95, 1, 1],
1537
+ * direction: 0.80,
1538
+ * speed: 8,
1539
+ * scale: 2.5,
1540
+ * }
1541
+ * },
1542
+ * {
1543
+ * id: "fogShader",
1544
+ * effectClass: WeatherShaderEffect,
1545
+ * shaderClass: FogShader,
1546
+ * blendMode: PIXI.BLEND_MODES.SCREEN,
1547
+ * performanceLevel: 2,
1548
+ * config: {
1549
+ * slope: 1.0,
1550
+ * intensity: 0.15,
1551
+ * speed: -4.0,
1552
+ * }
1553
+ * }]
1554
+ * }
1555
+ * ```
1556
+ */
1557
+ blizzard: CONFIG.WeatherAmbienceConfiguration;
1558
+ };
1559
+
1560
+ /**
1561
+ * The control icons used for rendering common HUD operations
1562
+ */
1563
+ controlIcons: {
1564
+ /** @defaultValue `"icons/svg/combat.svg"` */
1565
+ combat: string;
1566
+
1567
+ /** @defaultValue `"icons/svg/cowled.svg"` */
1568
+ visibility: string;
1569
+
1570
+ /** @defaultValue `"icons/svg/aura.svg"` */
1571
+ effects: string;
1572
+
1573
+ /** @defaultValue `"icons/svg/padlock.svg"` */
1574
+ lock: string;
1575
+
1576
+ /** @defaultValue `"icons/svg/up.svg"` */
1577
+ up: string;
1578
+
1579
+ /** @defaultValue `"icons/svg/down.svg"` */
1580
+ down: string;
1581
+
1582
+ /** @defaultValue `"icons/svg/skull.svg"` */
1583
+ defeated: string;
1584
+
1585
+ /** @defaultValue `"icons/svg/light.svg"` */
1586
+ light: string;
1587
+
1588
+ /** @defaultValue `"icons/svg/light-off.svg"` */
1589
+ lightOff: string;
1590
+
1591
+ /** @defaultValue `"icons/svg/explosion.svg"` */
1592
+ template: string;
1593
+
1594
+ /** @defaultValue `"icons/svg/sound.svg"` */
1595
+ sound: string;
1596
+
1597
+ /** @defaultValue `"icons/svg/sound-off.svg"` */
1598
+ soundOff: string;
1599
+
1600
+ /** @defaultValue `"icons/svg/door-closed-outline.svg"` */
1601
+ doorClosed: string;
1602
+
1603
+ /** @defaultValue `"icons/svg/door-open-outline.svg"` */
1604
+ doorOpen: string;
1605
+
1606
+ /** @defaultValue `"icons/svg/door-secret-outline.svg"` */
1607
+ doorSecret: string;
1608
+
1609
+ /** @defaultValue `"icons/svg/door-locked-outline.svg"` */
1610
+ doorLocked: string;
1611
+
1612
+ /** @defaultValue `"icons/svg/wall-direction.svg"` */
1613
+ wallDirection: string;
1614
+ } & Record<string, string>;
1615
+
1616
+ /**
1617
+ * A collection of fonts to load either from the user's local system, or remotely.
1618
+ * @defaultValue
1619
+ * ```typescript
1620
+ * {
1621
+ * Arial: { editor: true; fonts: [] };
1622
+ * Amiri: {
1623
+ * editor: true,
1624
+ * fonts: [
1625
+ * {urls: ["fonts/amiri/amiri-regular.woff2"]},
1626
+ * {urls: ["fonts/amiri/amiri-bold.woff2"], weight: 700}
1627
+ * ]
1628
+ * },
1629
+ * "Bruno Ace": {editor: true, fonts: [
1630
+ * {urls: ["fonts/bruno-ace/bruno-ace.woff2"]}
1631
+ * ]},
1632
+ * Courier: { editor: true; fonts: [] };
1633
+ * "Courier New": { editor: true; fonts: [] };
1634
+ * "Modesto Condensed": {
1635
+ * editor: true;
1636
+ * fonts: [
1637
+ * { urls: ["fonts/modesto-condensed/modesto-condensed.woff2"] },
1638
+ * { urls: ["fonts/modesto-condensed/modesto-condensed-bold.woff2"]; weight: 700 }
1639
+ * ];
1640
+ * };
1641
+ * Signika: {
1642
+ * editor: true;
1643
+ * fonts: [
1644
+ * { urls: ["fonts/signika/signika-regular.woff2"] },
1645
+ * { urls: ["fonts/signika/signika-bold.woff2"]; weight: 700 }
1646
+ * ];
1647
+ * };
1648
+ * Times: { editor: true; fonts: [] };
1649
+ * "Times New Roman": { editor: true; fonts: [] };
1650
+ * }
1651
+ * ```
1652
+ */
1653
+ fontDefinitions: Record<string, CONFIG.Font.FamilyDefinition>;
1654
+
1655
+ /**
1656
+ * @deprecated since v10.
1657
+ * @defaultValue `Object.keys(CONFIG.fontDefinitions)`
1658
+ * @internal
1659
+ */
1660
+ _fontFamilies: string[];
1661
+
1662
+ /**
1663
+ * @see {@link CONFIG.fontDefinitions}
1664
+ * @defaultValue `Object.keys(CONFIG.fontDefinitions)`
1665
+ * @deprecated since v10.
1666
+ */
1667
+ get fontFamilies(): CONFIG["_fontFamilies"];
1668
+
1669
+ /**
1670
+ * The default font family used for text labels on the PIXI Canvas
1671
+ * @defaultValue `"Signika"`
1672
+ */
1673
+ defaultFontFamily: string;
1674
+
1675
+ /**
1676
+ * An array of status effect icons which can be applied to Tokens
1677
+ * @defaultValue
1678
+ * ```typescript
1679
+ * [
1680
+ * {
1681
+ * id: "dead";
1682
+ * name: "EFFECT.StatusDead";
1683
+ * icon: "icons/svg/skull.svg";
1684
+ * },
1685
+ * {
1686
+ * id: "unconscious";
1687
+ * name: "EFFECT.StatusUnconscious";
1688
+ * icon: "icons/svg/unconscious.svg";
1689
+ * },
1690
+ * {
1691
+ * id: "sleep";
1692
+ * name: "EFFECT.StatusAsleep";
1693
+ * icon: "icons/svg/sleep.svg";
1694
+ * },
1695
+ * {
1696
+ * id: "stun";
1697
+ * name: "EFFECT.StatusStunned";
1698
+ * icon: "icons/svg/daze.svg";
1699
+ * },
1700
+ * {
1701
+ * id: "prone";
1702
+ * name: "EFFECT.StatusProne";
1703
+ * icon: "icons/svg/falling.svg";
1704
+ * },
1705
+ * {
1706
+ * id: "restrain";
1707
+ * name: "EFFECT.StatusRestrained";
1708
+ * icon: "icons/svg/net.svg";
1709
+ * },
1710
+ * {
1711
+ * id: "paralysis";
1712
+ * name: "EFFECT.StatusParalysis";
1713
+ * icon: "icons/svg/paralysis.svg";
1714
+ * },
1715
+ * {
1716
+ * id: "fly";
1717
+ * name: "EFFECT.StatusFlying";
1718
+ * icon: "icons/svg/wing.svg";
1719
+ * },
1720
+ * {
1721
+ * id: "blind";
1722
+ * name: "EFFECT.StatusBlind";
1723
+ * icon: "icons/svg/blind.svg";
1724
+ * },
1725
+ * {
1726
+ * id: "deaf";
1727
+ * name: "EFFECT.StatusDeaf";
1728
+ * icon: "icons/svg/deaf.svg";
1729
+ * },
1730
+ * {
1731
+ * id: "silence";
1732
+ * name: "EFFECT.StatusSilenced";
1733
+ * icon: "icons/svg/silenced.svg";
1734
+ * },
1735
+ * {
1736
+ * id: "fear";
1737
+ * name: "EFFECT.StatusFear";
1738
+ * icon: "icons/svg/terror.svg";
1739
+ * },
1740
+ * {
1741
+ * id: "burning";
1742
+ * name: "EFFECT.StatusBurning";
1743
+ * icon: "icons/svg/fire.svg";
1744
+ * },
1745
+ * {
1746
+ * id: "frozen";
1747
+ * name: "EFFECT.StatusFrozen";
1748
+ * icon: "icons/svg/frozen.svg";
1749
+ * },
1750
+ * {
1751
+ * id: "shock";
1752
+ * name: "EFFECT.StatusShocked";
1753
+ * icon: "icons/svg/lightning.svg";
1754
+ * },
1755
+ * {
1756
+ * id: "corrode";
1757
+ * name: "EFFECT.StatusCorrode";
1758
+ * icon: "icons/svg/acid.svg";
1759
+ * },
1760
+ * {
1761
+ * id: "bleeding";
1762
+ * name: "EFFECT.StatusBleeding";
1763
+ * icon: "icons/svg/blood.svg";
1764
+ * },
1765
+ * {
1766
+ * id: "disease";
1767
+ * name: "EFFECT.StatusDisease";
1768
+ * icon: "icons/svg/biohazard.svg";
1769
+ * },
1770
+ * {
1771
+ * id: "poison";
1772
+ * name: "EFFECT.StatusPoison";
1773
+ * icon: "icons/svg/poison.svg";
1774
+ * },
1775
+ * {
1776
+ * id: "curse";
1777
+ * name: "EFFECT.StatusCursed";
1778
+ * icon: "icons/svg/sun.svg";
1779
+ * },
1780
+ * {
1781
+ * id: "regen";
1782
+ * name: "EFFECT.StatusRegen";
1783
+ * icon: "icons/svg/regen.svg";
1784
+ * },
1785
+ * {
1786
+ * id: "degen";
1787
+ * name: "EFFECT.StatusDegen";
1788
+ * icon: "icons/svg/degen.svg";
1789
+ * },
1790
+ * {
1791
+ * id: "upgrade";
1792
+ * name: "EFFECT.StatusUpgrade";
1793
+ * icon: "icons/svg/upgrade.svg";
1794
+ * },
1795
+ * {
1796
+ * id: "downgrade";
1797
+ * name: "EFFECT.StatusDowngrade";
1798
+ * icon: "icons/svg/downgrade.svg";
1799
+ * },
1800
+ * {
1801
+ * id: "invisible",
1802
+ * name: "EFFECT.StatusInvisible",
1803
+ * icon: "icons/svg/invisible.svg"
1804
+ * },
1805
+ * {
1806
+ * id: "target";
1807
+ * name: "EFFECT.StatusTarget";
1808
+ * icon: "icons/svg/target.svg";
1809
+ * },
1810
+ * {
1811
+ * id: "eye";
1812
+ * name: "EFFECT.StatusMarked";
1813
+ * icon: "icons/svg/eye.svg";
1814
+ * },
1815
+ * {
1816
+ * id: "bless";
1817
+ * name: "EFFECT.StatusBlessed";
1818
+ * icon: "icons/svg/angel.svg";
1819
+ * },
1820
+ * {
1821
+ * id: "fireShield";
1822
+ * name: "EFFECT.StatusFireShield";
1823
+ * icon: "icons/svg/fire-shield.svg";
1824
+ * },
1825
+ * {
1826
+ * id: "coldShield";
1827
+ * name: "EFFECT.StatusIceShield";
1828
+ * icon: "icons/svg/ice-shield.svg";
1829
+ * },
1830
+ * {
1831
+ * id: "magicShield";
1832
+ * name: "EFFECT.StatusMagicShield";
1833
+ * icon: "icons/svg/mage-shield.svg";
1834
+ * },
1835
+ * {
1836
+ * id: "holyShield";
1837
+ * name: "EFFECT.StatusHolyShield";
1838
+ * icon: "icons/svg/holy-shield.svg";
1839
+ * }
1840
+ * ]
1841
+ * ```
1842
+ */
1843
+ statusEffects: StatusEffect[];
1844
+
1845
+ /**
1846
+ * A mapping of status effect IDs which provide some additional mechanical integration.
1847
+ * @defaultValue `{ DEFEATED: "dead", INVISIBLE: "invisible", BLIND: "blind" }`
1848
+ */
1849
+ specialStatusEffects: HandleEmptyObject<
1850
+ InterfaceToObject<CONFIG.SpecialStatusEffects>,
1851
+ InterfaceToObject<CONFIG.DefaultSpecialStatusEffects>
1852
+ >;
1853
+
1854
+ /**
1855
+ * A mapping of core audio effects used which can be replaced by systems or mods
1856
+ */
1857
+ sounds: {
1858
+ /** @defaultValue `"sounds/dice.wav"` */
1859
+ dice: string;
1860
+
1861
+ /** @defaultValue `"sounds/lock.wav"` */
1862
+ lock: string;
1863
+
1864
+ /** @defaultValue `"sounds/notify.wav"` */
1865
+ notification: string;
1866
+
1867
+ /** @defaultValue `"sounds/drums.wav"` */
1868
+ combat: string;
1869
+ };
1870
+
1871
+ /**
1872
+ * Define the set of supported languages for localization
1873
+ * @defaultValue `{ en: "English" }`
1874
+ */
1875
+ supportedLanguages: {
1876
+ en: string;
1877
+ } & Record<string, string>;
1878
+
1879
+ /**
1880
+ * Localization constants.
1881
+ */
1882
+ i18n: {
1883
+ /**
1884
+ * In operations involving the document index, search prefixes must have at least this many characters to avoid too
1885
+ * large a search space. Languages that have hundreds or thousands of characters will typically have very shallow
1886
+ * search trees, so it should be safe to lower this number in those cases.
1887
+ * @defaultValue `4`
1888
+ */
1889
+ searchMinimumCharacterLength: number;
1890
+ };
1891
+
1892
+ /**
1893
+ * Configuration for time tracking
1894
+ */
1895
+ time: {
1896
+ /** @defaultValue `0` */
1897
+ turnTime: number;
1898
+
1899
+ /** @defaultValue `0` */
1900
+ roundTime: number;
1901
+ };
1902
+
1903
+ /**
1904
+ * Configuration for the ActiveEffect embedded document type
1905
+ */
1906
+ ActiveEffect: {
1907
+ /** @defaultValue `ActiveEffect` */
1908
+ documentClass: Document.ConfiguredClassForName<"ActiveEffect">;
1909
+
1910
+ /**
1911
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1912
+ */
1913
+ // TODO: Update in v12
1914
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
1915
+
1916
+ /**
1917
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
1918
+ */
1919
+ typeLabels?: Record<"base", string>;
1920
+
1921
+ /**
1922
+ * If true, Active Effects on Items will be copied to the Actor when the Item is created on the Actor if the
1923
+ * Active Effect's transfer property is true, and will be deleted when that Item is deleted from the Actor.
1924
+ * If false, Active Effects are never copied to the Actor, but will still apply to the Actor from within the Item
1925
+ * if the transfer property on the Active Effect is true.
1926
+ * @deprecated since v11
1927
+ */
1928
+ legacyTransferral: boolean;
1929
+ };
1930
+
1931
+ /**
1932
+ * Configuration for the ActorDelta embedded document type.
1933
+ */
1934
+ ActorDelta: {
1935
+ /** @defaultValue `ActorDelta` */
1936
+ documentClass: Document.ConfiguredClassForName<"ActorDelta">;
1937
+
1938
+ /**
1939
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1940
+ */
1941
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
1942
+
1943
+ /**
1944
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
1945
+ */
1946
+ typeLabels?: Record<"base", string>;
1947
+ };
1948
+
1949
+ /**
1950
+ * Configuration for the Card embedded Document type
1951
+ */
1952
+ Card: {
1953
+ /** @defaultValue `Card` */
1954
+ documentClass: Document.ConfiguredClassForName<"Card">;
1955
+
1956
+ /**
1957
+ * @defaultValue `{}`
1958
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
1959
+ */
1960
+ dataModels: Record<string, typeof DataModel<any, Card>>;
1961
+
1962
+ /**
1963
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1964
+ */
1965
+ sheetClasses: Record<foundry.documents.BaseCard.TypeNames, Record<string, SheetClassConfig>>;
1966
+
1967
+ /**
1968
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
1969
+ */
1970
+ typeLabels?: Record<foundry.documents.BaseCard.TypeNames, string>;
1971
+ };
1972
+
1973
+ /**
1974
+ * Configuration for the TableResult embedded document type
1975
+ */
1976
+ TableResult: {
1977
+ /** @defaultValue `TableResult` */
1978
+ documentClass: Document.ConfiguredClassForName<"TableResult">;
1979
+
1980
+ /**
1981
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
1982
+ */
1983
+ sheetClasses: Record<foundry.documents.BaseTableResult.TypeNames, Record<string, SheetClassConfig>>;
1984
+
1985
+ /**
1986
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
1987
+ */
1988
+ typeLabels?: Record<foundry.documents.BaseTableResult.TypeNames, string>;
1989
+ };
1990
+
1991
+ JournalEntryPage: {
1992
+ /** @defaultValue `JournalEntryPage` */
1993
+ documentClass: Document.ConfiguredClassForName<"JournalEntryPage">;
1994
+
1995
+ /**
1996
+ * @defaultValue `{}`
1997
+ * @remarks `TypeDataModel` is preferred to `DataModel` per core Foundry team
1998
+ */
1999
+ dataModels: Record<string, typeof DataModel<any, JournalEntryPage>>;
2000
+
2001
+ /**
2002
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2003
+ */
2004
+ sheetClasses: Record<foundry.documents.BaseJournalEntryPage.TypeNames, Record<string, SheetClassConfig>>;
2005
+
2006
+ /**
2007
+ * @defaultValue `{}`
2008
+ * @remarks Initialized by `Localization#initialize`, is an empty object until `i18nInit`
2009
+ */
2010
+ typeLabels: Record<foundry.documents.BaseJournalEntryPage.TypeNames, string>;
2011
+
2012
+ typeIcons: {
2013
+ [type: string]: string;
2014
+
2015
+ /** @defaultValue `"fas fa-file-image"` */
2016
+ image: string;
2017
+ /** @defaultValue `"fas fa-file-pdf"` */
2018
+ pdf: string;
2019
+ /** @defaultValue `"fas fa-file-lines"` */
2020
+ text: string;
2021
+ /** @defaultValue `"fas fa-file-video"` */
2022
+ video: string;
2023
+ };
2024
+
2025
+ /** @defaultValue `"text"` */
2026
+ defaultType: string;
2027
+
2028
+ /** @defaultValue `"fas fa-book-open"` */
2029
+ sidebarIcon: string;
2030
+ };
2031
+
2032
+ /**
2033
+ * Configuration for the ActiveEffect embedded document type
2034
+ */
2035
+ PlaylistSound: {
2036
+ /** @defaultValue `PlaylistSound` */
2037
+ documentClass: Document.ConfiguredClassForName<"PlaylistSound">;
2038
+
2039
+ /**
2040
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2041
+ */
2042
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2043
+
2044
+ /**
2045
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2046
+ */
2047
+ typeLabels?: Record<"base", string>;
2048
+ };
2049
+
2050
+ /**
2051
+ * Configuration for the AmbientLight embedded document type and its representation on the game Canvas
2052
+ */
2053
+ AmbientLight: {
2054
+ /** @defaultValue `AmbientLightDocument` */
2055
+ documentClass: Document.ConfiguredClassForName<"AmbientLight">;
2056
+
2057
+ /**
2058
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2059
+ */
2060
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2061
+
2062
+ /**
2063
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2064
+ */
2065
+ typeLabels?: Record<"base", string>;
2066
+
2067
+ /** @defaultValue `AmbientLightDocument` */
2068
+ objectClass: ConfiguredObjectClassOrDefault<typeof AmbientLight>;
2069
+
2070
+ /** @defaultValue `LightingLayer` */
2071
+ layerClass: typeof LightingLayer;
2072
+ };
2073
+
2074
+ /**
2075
+ * Configuration for the AmbientSound embedded document type and its representation on the game Canvas
2076
+ */
2077
+ AmbientSound: {
2078
+ /** @defaultValue `AmbientSoundDocument` */
2079
+ documentClass: Document.ConfiguredClassForName<"AmbientSound">;
2080
+
2081
+ /**
2082
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2083
+ */
2084
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2085
+
2086
+ /**
2087
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2088
+ */
2089
+ typeLabels?: Record<"base", string>;
2090
+
2091
+ /** @defaultValue `AmbientSound` */
2092
+ objectClass: ConfiguredObjectClassOrDefault<typeof AmbientSound>;
2093
+
2094
+ /** @defaultValue `SoundsLayer` */
2095
+ layerClass: typeof SoundsLayer;
2096
+ };
2097
+
2098
+ /**
2099
+ * Configuration for the Combatant embedded document type within a Combat document
2100
+ */
2101
+ Combatant: {
2102
+ /** @defaultValue `Combatant` */
2103
+ documentClass: Document.ConfiguredClassForName<"Combatant">;
2104
+
2105
+ /**
2106
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2107
+ */
2108
+ // TODO: Update in v12
2109
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2110
+
2111
+ /**
2112
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2113
+ */
2114
+ typeLabels?: Record<"base", string>;
2115
+ };
2116
+
2117
+ /**
2118
+ * Configuration for the Drawing embedded document type and its representation on the game Canvas
2119
+ */
2120
+ Drawing: {
2121
+ /** @defaultValue `DrawingDocument` */
2122
+ documentClass: Document.ConfiguredClassForName<"Drawing">;
2123
+
2124
+ /**
2125
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2126
+ */
2127
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2128
+
2129
+ /**
2130
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2131
+ */
2132
+ typeLabels?: Record<"base", string>;
2133
+
2134
+ /** @defaultValue `Drawing` */
2135
+ objectClass: ConfiguredObjectClassOrDefault<typeof Drawing>;
2136
+
2137
+ /** @defaultValue `DrawingsLayer` */
2138
+ layerClass: typeof DrawingsLayer;
2139
+ };
2140
+
2141
+ /**
2142
+ * Configuration for the MeasuredTemplate embedded document type and its representation on the game Canvas
2143
+ */
2144
+ MeasuredTemplate: {
2145
+ defaults: {
2146
+ /** @defaultValue `53.13` */
2147
+ angle: number;
2148
+
2149
+ /** @defaultValue `1` */
2150
+ width: number;
2151
+ };
2152
+
2153
+ types: {
2154
+ /** @defaultValue `"Circle"` */
2155
+ circle: string;
2156
+
2157
+ /** @defaultValue `"Cone"` */
2158
+ cone: string;
2159
+
2160
+ /** @defaultValue `"Rectangle"` */
2161
+ rect: string;
2162
+
2163
+ /** @defaultValue `"Ray"` */
2164
+ ray: string;
2165
+ };
2166
+
2167
+ /** @defaultValue `MeasuredTemplateDocument` */
2168
+ documentClass: Document.ConfiguredClassForName<"MeasuredTemplate">;
2169
+
2170
+ /**
2171
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2172
+ */
2173
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2174
+
2175
+ /**
2176
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2177
+ */
2178
+ typeLabels?: Record<"base", string>;
2179
+
2180
+ /** @defaultValue `MeasuredTemplate` */
2181
+ objectClass: ConfiguredObjectClassOrDefault<typeof MeasuredTemplate>;
2182
+
2183
+ /** @defaultValue `TemplateLayer` */
2184
+ layerClass: typeof TemplateLayer;
2185
+ };
2186
+
2187
+ /**
2188
+ * Configuration for the Note embedded document type and its representation on the game Canvas
2189
+ */
2190
+ Note: {
2191
+ /** @defaultValue `NoteDocument` */
2192
+ documentClass: Document.ConfiguredClassForName<"Note">;
2193
+
2194
+ /**
2195
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2196
+ */
2197
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2198
+
2199
+ /**
2200
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2201
+ */
2202
+ typeLabels?: Record<"base", string>;
2203
+
2204
+ /** @defaultValue `Note` */
2205
+ objectClass: ConfiguredObjectClassOrDefault<typeof Note>;
2206
+
2207
+ /** @defaultValue `NotesLayer` */
2208
+ layerClass: typeof NotesLayer;
2209
+ };
2210
+
2211
+ /**
2212
+ * Configuration for the Tile embedded document type and its representation on the game Canvas
2213
+ */
2214
+ Tile: {
2215
+ /** @defaultValue `TileDocument` */
2216
+ documentClass: Document.ConfiguredClassForName<"Tile">;
2217
+
2218
+ /**
2219
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2220
+ */
2221
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2222
+
2223
+ /**
2224
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2225
+ */
2226
+ typeLabels?: Record<"base", string>;
2227
+
2228
+ /** @defaultValue `Tile` */
2229
+ objectClass: ConfiguredObjectClassOrDefault<typeof Tile>;
2230
+
2231
+ /** @defaultValue `TilesLayer` */
2232
+ layerClass: typeof TilesLayer;
2233
+ };
2234
+
2235
+ /**
2236
+ * Configuration for the Token embedded document type and its representation on the game Canvas
2237
+ */
2238
+ Token: {
2239
+ /** @defaultValue `TokenDocument` */
2240
+ documentClass: Document.ConfiguredClassForName<"Token">;
2241
+
2242
+ /**
2243
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2244
+ */
2245
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2246
+
2247
+ /**
2248
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2249
+ */
2250
+ typeLabels?: Record<"base", string>;
2251
+
2252
+ /** @defaultValue `Token` */
2253
+ objectClass: ConfiguredObjectClassOrDefault<typeof Token>;
2254
+
2255
+ /** @defaultValue `TokenLayer` */
2256
+ layerClass: typeof TokenLayer;
2257
+
2258
+ /** @defaultValue `TokenConfig` */
2259
+ prototypeSheetClass: typeof TokenConfig;
2260
+
2261
+ /** @defaultValue `"TOKEN.Adjectives"` */
2262
+ adjectivesPrefix: string;
2263
+ };
2264
+
2265
+ /**
2266
+ * Configuration for the Wall embedded document type and its representation on the game Canvas
2267
+ */
2268
+ Wall: {
2269
+ /** @defaultValue `WallDocument` */
2270
+ documentClass: Document.ConfiguredClassForName<"Wall">;
2271
+
2272
+ /**
2273
+ * @remarks Added by `DocumentSheetConfig._registerDefaultSheets` in `tail.js`
2274
+ */
2275
+ sheetClasses: Record<"base", Record<string, SheetClassConfig>>;
2276
+
2277
+ /**
2278
+ * @remarks Initialized by `Localization#initialize`, is undefined until `i18nInit`
2279
+ */
2280
+ typeLabels?: Record<"base", string>;
2281
+
2282
+ /** @defaultValue `Wall` */
2283
+ objectClass: ConfiguredObjectClassOrDefault<typeof Wall>;
2284
+
2285
+ /** @defaultValue `WallsLayer` */
2286
+ layerClass: typeof WallsLayer;
2287
+
2288
+ /** @defaultValue `1` */
2289
+ thresholdAttenuationMultiplier: number;
2290
+
2291
+ doorSounds: {
2292
+ [sound: string]: CONFIG.WallDoorSound;
2293
+
2294
+ /**
2295
+ * ```ts
2296
+ * {
2297
+ * label: "WALLS.DoorSound.FuturisticFast",
2298
+ * close: "sounds/doors/futuristic/close-fast.ogg",
2299
+ * lock: "sounds/doors/futuristic/lock.ogg",
2300
+ * open: "sounds/doors/futuristic/open-fast.ogg",
2301
+ * test: "sounds/doors/futuristic/test.ogg",
2302
+ * unlock: "sounds/doors/futuristic/unlock.ogg"
2303
+ * }
2304
+ * ```
2305
+ */
2306
+ futuristicFast: CONFIG.WallDoorSound;
2307
+
2308
+ /**
2309
+ * ```ts
2310
+ * {
2311
+ * label: "WALLS.DoorSound.FuturisticHydraulic",
2312
+ * close: "sounds/doors/futuristic/close-hydraulic.ogg",
2313
+ * lock: "sounds/doors/futuristic/lock.ogg",
2314
+ * open: "sounds/doors/futuristic/open-hydraulic.ogg",
2315
+ * test: "sounds/doors/futuristic/test.ogg",
2316
+ * unlock: "sounds/doors/futuristic/unlock.ogg"
2317
+ * }
2318
+ * ```
2319
+ */
2320
+ futuristicHydraulic: CONFIG.WallDoorSound;
2321
+
2322
+ /**
2323
+ * ```ts
2324
+ * {
2325
+ * label: "WALLS.DoorSound.FuturisticForcefield",
2326
+ * close: "sounds/doors/futuristic/close-forcefield.ogg",
2327
+ * lock: "sounds/doors/futuristic/lock.ogg",
2328
+ * open: "sounds/doors/futuristic/open-forcefield.ogg",
2329
+ * test: "sounds/doors/futuristic/test-forcefield.ogg",
2330
+ * unlock: "sounds/doors/futuristic/unlock.ogg"
2331
+ * }
2332
+ * ```
2333
+ */
2334
+ futuristicForcefield: CONFIG.WallDoorSound;
2335
+
2336
+ /**
2337
+ * ```ts
2338
+ * {
2339
+ * label: "WALLS.DoorSound.Industrial",
2340
+ * close: "sounds/doors/industrial/close.ogg",
2341
+ * lock: "sounds/doors/industrial/lock.ogg",
2342
+ * open: "sounds/doors/industrial/open.ogg",
2343
+ * test: "sounds/doors/industrial/test.ogg",
2344
+ * unlock: "sounds/doors/industrial/unlock.ogg"
2345
+ * }
2346
+ * ```
2347
+ */
2348
+ industrial: CONFIG.WallDoorSound;
2349
+
2350
+ /**
2351
+ * ```ts
2352
+ * {
2353
+ * label: "WALLS.DoorSound.IndustrialCreaky",
2354
+ * close: "sounds/doors/industrial/close-creaky.ogg",
2355
+ * lock: "sounds/doors/industrial/lock.ogg",
2356
+ * open: "sounds/doors/industrial/open-creaky.ogg",
2357
+ * test: "sounds/doors/industrial/test.ogg",
2358
+ * unlock: "sounds/doors/industrial/unlock.ogg"
2359
+ * }
2360
+ * ```
2361
+ */
2362
+ industrialCreaky: CONFIG.WallDoorSound;
2363
+
2364
+ /**
2365
+ * ```ts
2366
+ * {
2367
+ * label: "WALLS.DoorSound.Jail",
2368
+ * close: "sounds/doors/jail/close.ogg",
2369
+ * lock: "sounds/doors/jail/lock.ogg",
2370
+ * open: "sounds/doors/jail/open.ogg",
2371
+ * test: "sounds/doors/jail/test.ogg",
2372
+ * unlock: "sounds/doors/jail/unlock.ogg"
2373
+ * }
2374
+ * ```
2375
+ */
2376
+ jail: CONFIG.WallDoorSound;
2377
+
2378
+ /**
2379
+ * ```ts
2380
+ * {
2381
+ * label: "WALLS.DoorSound.Metal",
2382
+ * close: "sounds/doors/metal/close.ogg",
2383
+ * lock: "sounds/doors/metal/lock.ogg",
2384
+ * open: "sounds/doors/metal/open.ogg",
2385
+ * test: "sounds/doors/metal/test.ogg",
2386
+ * unlock: "sounds/doors/metal/unlock.ogg"
2387
+ * }
2388
+ * ```
2389
+ */
2390
+ metal: CONFIG.WallDoorSound;
2391
+
2392
+ /**
2393
+ * ```ts
2394
+ * {
2395
+ * label: "WALLS.DoorSound.SlidingMetal",
2396
+ * close: "sounds/doors/shutter/close.ogg",
2397
+ * lock: "sounds/doors/shutter/lock.ogg",
2398
+ * open: "sounds/doors/shutter/open.ogg",
2399
+ * test: "sounds/doors/shutter/test.ogg",
2400
+ * unlock: "sounds/doors/shutter/unlock.ogg"
2401
+ * }
2402
+ * ```
2403
+ */
2404
+ slidingMetal: CONFIG.WallDoorSound;
2405
+
2406
+ /**
2407
+ * ```ts
2408
+ * {
2409
+ * label: "WALLS.DoorSound.SlidingModern",
2410
+ * close: "sounds/doors/sliding/close.ogg",
2411
+ * lock: "sounds/doors/sliding/lock.ogg",
2412
+ * open: "sounds/doors/sliding/open.ogg",
2413
+ * test: "sounds/doors/sliding/test.ogg",
2414
+ * unlock: "sounds/doors/sliding/unlock.ogg"
2415
+ * }
2416
+ * ```
2417
+ */
2418
+ slidingModern: CONFIG.WallDoorSound;
2419
+
2420
+ /**
2421
+ * ```ts
2422
+ * {
2423
+ * label: "WALLS.DoorSound.SlidingWood",
2424
+ * close: "sounds/doors/sliding/close-wood.ogg",
2425
+ * lock: "sounds/doors/sliding/lock.ogg",
2426
+ * open: "sounds/doors/sliding/open-wood.ogg",
2427
+ * test: "sounds/doors/sliding/test.ogg",
2428
+ * unlock: "sounds/doors/sliding/unlock.ogg"
2429
+ * }
2430
+ * ```
2431
+ */
2432
+ slidingWood: CONFIG.WallDoorSound;
2433
+
2434
+ /**
2435
+ * ```ts
2436
+ * {
2437
+ * label: "WALLS.DoorSound.StoneBasic",
2438
+ * close: "sounds/doors/stone/close.ogg",
2439
+ * lock: "sounds/doors/stone/lock.ogg",
2440
+ * open: "sounds/doors/stone/open.ogg",
2441
+ * test: "sounds/doors/stone/test.ogg",
2442
+ * unlock: "sounds/doors/stone/unlock.ogg"
2443
+ * }
2444
+ * ```
2445
+ */
2446
+ stoneBasic: CONFIG.WallDoorSound;
2447
+
2448
+ /**
2449
+ * ```ts
2450
+ * {
2451
+ * label: "WALLS.DoorSound.StoneRocky",
2452
+ * close: "sounds/doors/stone/close-rocky.ogg",
2453
+ * lock: "sounds/doors/stone/lock.ogg",
2454
+ * open: "sounds/doors/stone/open-rocky.ogg",
2455
+ * test: "sounds/doors/stone/test.ogg",
2456
+ * unlock: "sounds/doors/stone/unlock.ogg"
2457
+ * }
2458
+ * ```
2459
+ */
2460
+ stoneRocky: CONFIG.WallDoorSound;
2461
+
2462
+ /**
2463
+ * ```ts
2464
+ * {
2465
+ * label: "WALLS.DoorSound.StoneSandy",
2466
+ * close: "sounds/doors/stone/close-sandy.ogg",
2467
+ * lock: "sounds/doors/stone/lock.ogg",
2468
+ * open: "sounds/doors/stone/open-sandy.ogg",
2469
+ * test: "sounds/doors/stone/test.ogg",
2470
+ * unlock: "sounds/doors/stone/unlock.ogg"
2471
+ * }
2472
+ * ```
2473
+ */
2474
+ stoneSandy: CONFIG.WallDoorSound;
2475
+
2476
+ /**
2477
+ * ```ts
2478
+ * {
2479
+ * label: "WALLS.DoorSound.WoodBasic",
2480
+ * close: "sounds/doors/wood/close.ogg",
2481
+ * lock: "sounds/doors/wood/lock.ogg",
2482
+ * open: "sounds/doors/wood/open.ogg",
2483
+ * test: "sounds/doors/wood/test.ogg",
2484
+ * unlock: "sounds/doors/wood/unlock.ogg"
2485
+ * }
2486
+ * ```
2487
+ */
2488
+ woodBasic: CONFIG.WallDoorSound;
2489
+
2490
+ /**
2491
+ * ```ts
2492
+ * {
2493
+ * label: "WALLS.DoorSound.WoodCreaky",
2494
+ * close: "sounds/doors/wood/close-creaky.ogg",
2495
+ * lock: "sounds/doors/wood/lock.ogg",
2496
+ * open: "sounds/doors/wood/open-creaky.ogg",
2497
+ * test: "sounds/doors/wood/test.ogg",
2498
+ * unlock: "sounds/doors/wood/unlock.ogg"
2499
+ * }
2500
+ * ```
2501
+ */
2502
+ woodCreaky: CONFIG.WallDoorSound;
2503
+
2504
+ /**
2505
+ * ```ts
2506
+ * {
2507
+ * label: "WALLS.DoorSound.WoodHeavy",
2508
+ * close: "sounds/doors/wood/close-heavy.ogg",
2509
+ * lock: "sounds/doors/wood/lock.ogg",
2510
+ * open: "sounds/doors/wood/open-heavy.ogg",
2511
+ * test: "sounds/doors/wood/test.ogg",
2512
+ * unlock: "sounds/doors/wood/unlock.ogg"
2513
+ * }
2514
+ * ```
2515
+ */
2516
+ woodHeavy: CONFIG.WallDoorSound;
2517
+ };
2518
+ };
2519
+
2520
+ /**
2521
+ * Default configuration options for TinyMCE editors
2522
+ */
2523
+ TinyMCE: tinyMCE.RawEditorOptions;
2524
+
2525
+ /**
2526
+ * Rich text editing configuration.
2527
+ */
2528
+ TextEditor: {
2529
+ /**
2530
+ * A collection of custom enrichers that can be applied to text content, allowing for the matching and handling of
2531
+ * custom patterns.
2532
+ */
2533
+ enrichers: TextEditor.EnricherConfig[];
2534
+ };
2535
+
2536
+ /**
2537
+ * Configuration for the WebRTC implementation class
2538
+ */
2539
+ WebRTC: {
2540
+ /** @defaultValue `SimplePeerAVClient` */
2541
+ clientClass: GetKey<WebRTCConfig, "clientClass", typeof SimplePeerAVClient>;
2542
+
2543
+ /** @defaultValue `50` */
2544
+ detectPeerVolumeInterval: number;
2545
+
2546
+ /** @defaultValue `20` */
2547
+ detectSelfVolumeInterval: number;
2548
+
2549
+ /** @defaultValue `25` */
2550
+ emitVolumeInterval: number;
2551
+
2552
+ /** @defaultValue `2` */
2553
+ speakingThresholdEvents: number;
2554
+
2555
+ /** @defaultValue `10` */
2556
+ speakingHistoryLength: number;
2557
+
2558
+ /** @defaultValue `8` */
2559
+ connectedUserPollIntervalS: number;
2560
+ };
2561
+
2562
+ /**
2563
+ * Configure the Application classes used to render various core UI elements in the application
2564
+ */
2565
+ ui: CONFIG.UI;
2566
+ }
2567
+
2568
+ namespace CONFIG {
2569
+ interface UI {
2570
+ /** @defaultValue `MainMenu` */
2571
+ menu: typeof MainMenu;
2572
+
2573
+ /** @defaultValue `Sidebar` */
2574
+ sidebar: typeof Sidebar;
2575
+
2576
+ /** @defaultValue `Pause` */
2577
+ pause: typeof Pause;
2578
+
2579
+ /** @defaultValue `SceneNavigation` */
2580
+ nav: typeof SceneNavigation;
2581
+
2582
+ /** @defaultValue `Notifications` */
2583
+ notifications: typeof Notifications;
2584
+
2585
+ /** @defaultValue `ActorDirectory` */
2586
+ actors: typeof ActorDirectory;
2587
+
2588
+ /** @defaultValue `CardsDirectory` */
2589
+ cards: typeof CardsDirectory;
2590
+
2591
+ /** @defaultValue `ChatLog` */
2592
+ chat: typeof ChatLog;
2593
+
2594
+ /** @defaultValue `CombatTracker` */
2595
+ combat: typeof CombatTracker;
2596
+
2597
+ /** @defaultValue `CompendiumDirectory` */
2598
+ compendium: typeof CompendiumDirectory;
2599
+
2600
+ /** @defaultValue `SceneControls` */
2601
+ controls: typeof SceneControls;
2602
+
2603
+ /** @defaultValue `Hotbar` */
2604
+ hotbar: typeof Hotbar;
2605
+
2606
+ /** @defaultValue `ItemDirectory` */
2607
+ items: typeof ItemDirectory;
2608
+
2609
+ /** @defaultValue `JournalDirectory` */
2610
+ journal: typeof JournalDirectory;
2611
+
2612
+ /** @defaultValue `MacroDirectory` */
2613
+ macros: typeof MacroDirectory;
2614
+
2615
+ /** @defaultValue `PlayerList` */
2616
+ players: typeof PlayerList;
2617
+
2618
+ /** @defaultValue `PlaylistDirectory` */
2619
+ playlists: typeof PlaylistDirectory;
2620
+
2621
+ /** @defaultValue `SceneDirectory` */
2622
+ scenes: typeof SceneDirectory;
2623
+
2624
+ /** @defaultValue `Settings` */
2625
+ settings: typeof Settings;
2626
+
2627
+ /** @defaultValue `RollTableDirectory` */
2628
+ tables: typeof RollTableDirectory;
2629
+
2630
+ /** @defaultValue `CameraViews` */
2631
+ webrtc: typeof CameraViews;
2632
+ }
2633
+
2634
+ namespace Canvas {
2635
+ interface Groups {
2636
+ /** @defaultValue `{ groupClass: HiddenCanvasGroup, parent: "stage" }` */
2637
+ hidden: CONFIG.Canvas.GroupDefinition<typeof HiddenCanvasGroup>;
2638
+
2639
+ /** @defaultValue `{ groupClass: RenderedCanvasGroup, parent: "stage" }` */
2640
+ rendered: CONFIG.Canvas.GroupDefinition<typeof RenderedCanvasGroup>;
2641
+
2642
+ /** @defaultValue `{ groupClass: EnvironmentCanvasGroup, parent: "rendered" }` */
2643
+ environment: CONFIG.Canvas.GroupDefinition<typeof EnvironmentCanvasGroup>;
2644
+
2645
+ /** @defaultValue `{ groupClass: PrimaryCanvasGroup, parent: "environment" }` */
2646
+ primary: CONFIG.Canvas.GroupDefinition<typeof PrimaryCanvasGroup>;
2647
+
2648
+ /** @defaultValue `{ groupClass: EffectsCanvasGroup, parent: "environment" }` */
2649
+ effects: CONFIG.Canvas.GroupDefinition<typeof EffectsCanvasGroup>;
2650
+
2651
+ /** @defaultValue `{ groupClass: InterfaceCanvasGroup, parent: "rendered" }` */
2652
+ interface: CONFIG.Canvas.GroupDefinition<typeof InterfaceCanvasGroup>;
2653
+
2654
+ /** @defaultValue `{ groupClass: OverlayCanvasGroup, parent: "stage" }` */
2655
+ overlay: CONFIG.Canvas.GroupDefinition<typeof OverlayCanvasGroup>;
2656
+
2657
+ [key: string]: CONFIG.Canvas.GroupDefinition;
2658
+ }
2659
+
2660
+ interface Layers {
2661
+ /** @defaultValue `{ layerClass: WeatherLayer, group: "primary" }` */
2662
+ weather: LayerDefinition<typeof WeatherEffects>;
2663
+
2664
+ /** @defaultValue `{ layerClass: GridLayer, group: "interface" }` */
2665
+ grid: LayerDefinition<typeof GridLayer>;
2666
+
2667
+ /** @defaultValue `{ layerClass: DrawingsLayer, group: "interface" }` */
2668
+ drawings: LayerDefinition<typeof DrawingsLayer>;
2669
+
2670
+ /** @defaultValue `{ layerClass: TemplateLayer, group: "interface" }` */
2671
+ templates: LayerDefinition<typeof TemplateLayer>;
2672
+
2673
+ /** @defaultValue `{ layerClass: TokenLayer, group: "interface" }` */
2674
+ tiles: LayerDefinition<typeof TilesLayer>;
2675
+
2676
+ /** @defaultValue `{ layerClass: WallsLayer, group: "interface" }` */
2677
+ walls: LayerDefinition<typeof WallsLayer>;
2678
+
2679
+ /** @defaultValue `{ layerClass: TokenLayer, group: "interface" }` */
2680
+ tokens: LayerDefinition<typeof TokenLayer>;
2681
+
2682
+ /** @defaultValue `{ layerClass: SoundsLayer, group: "interface" }` */
2683
+ sounds: LayerDefinition<typeof SoundsLayer>;
2684
+
2685
+ /** @defaultValue `{ layerClass: LightingLayer, group: "interface" }` */
2686
+ lighting: LayerDefinition<typeof LightingLayer>;
2687
+
2688
+ /** @defaultValue `{ layerClass: NotesLayer, group: "interface" }` */
2689
+ notes: LayerDefinition<typeof NotesLayer>;
2690
+
2691
+ /** @defaultValue `{ layerClass: ControlsLayer, group: "interface" }` */
2692
+ controls: LayerDefinition<typeof ControlsLayer>;
2693
+
2694
+ [key: string]: LayerDefinition;
2695
+ }
2696
+
2697
+ interface GroupDefinition<
2698
+ GroupClass extends ToSpriteConstructor<CanvasGroupConstructor> = ToSpriteConstructor<CanvasGroupConstructor>,
2699
+ > {
2700
+ groupClass: GroupClass;
2701
+ parent: string;
2702
+ }
2703
+
2704
+ interface LayerDefinition<LayerClass extends typeof CanvasLayer = typeof CanvasLayer> {
2705
+ layerClass: LayerClass;
2706
+ group: keyof CONFIG["Canvas"]["groups"];
2707
+ }
2708
+
2709
+ type LightAnimationFunction = (
2710
+ this: PointSource,
2711
+ dt: number,
2712
+ properties?: { speed?: number; intensity?: number; reverse?: false },
2713
+ ) => void;
2714
+
2715
+ namespace Pings {
2716
+ interface Style {
2717
+ class: unknown;
2718
+ color?: string;
2719
+ size: number;
2720
+ duration: number;
2721
+ }
2722
+ }
2723
+ }
2724
+
2725
+ interface WeatherAmbienceConfiguration {
2726
+ id: string;
2727
+ label: string;
2728
+ filter: {
2729
+ enabled: boolean;
2730
+ blendMode: PIXI.BLEND_MODES;
2731
+ };
2732
+ effects: WeatherEffectConfiguration;
2733
+ }
2734
+
2735
+ interface WeatherEffectConfiguration {
2736
+ id: string;
2737
+ effectClass: typeof ParticleEffect | typeof WeatherShaderEffect;
2738
+ blendMode: PIXI.BLEND_MODES;
2739
+ config: Record<string, unknown>;
2740
+ }
2741
+
2742
+ // The point of this interface is to be declaration merged into so you can override `DefaultSpecialStatusEffects` and remove existing keys. It's never used when empty.
2743
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
2744
+ interface SpecialStatusEffects {}
2745
+
2746
+ interface DefaultSpecialStatusEffects {
2747
+ DEFEATED: string;
2748
+ INVISIBLE: string;
2749
+ BLIND: string;
2750
+ }
2751
+
2752
+ namespace Cards {
2753
+ interface Preset {
2754
+ type: string;
2755
+ label: string;
2756
+ src: string;
2757
+ }
2758
+ }
2759
+ namespace Combat {
2760
+ interface SoundPreset {
2761
+ label: string;
2762
+ startEncounter: string[];
2763
+ nextUp: string[];
2764
+ yourTurn: string[];
2765
+ }
2766
+ }
2767
+
2768
+ namespace Font {
2769
+ interface Definition extends FontFaceDescriptors {
2770
+ url: string[];
2771
+ }
2772
+
2773
+ interface FamilyDefinition {
2774
+ editor: boolean;
2775
+ fonts: Definition[];
2776
+ }
2777
+ }
2778
+
2779
+ interface WallDoorSound {
2780
+ /** A localization string label */
2781
+ label: string;
2782
+
2783
+ /** A sound path when the door is closed */
2784
+ close: string;
2785
+
2786
+ /** A sound path when the door becomes locked */
2787
+ lock: string;
2788
+
2789
+ /** A sound path when opening the door */
2790
+ open: string;
2791
+
2792
+ /** A sound path when attempting to open a locked door */
2793
+ test: string;
2794
+
2795
+ /** A sound path when the door becomes unlocked */
2796
+ unlock: string;
2797
+ }
2798
+
2799
+ namespace Dice {
2800
+ interface RollModes extends Record<foundry.CONST.DICE_ROLL_MODES, string> {}
2801
+ }
2802
+
2803
+ namespace Combat {
2804
+ interface Sounds {
2805
+ epic: CONFIG.Combat.SoundPreset;
2806
+ mc: CONFIG.Combat.SoundPreset;
2807
+ }
2808
+ }
2809
+ }
2810
+
2811
+ const CONFIG: CONFIG;
2812
+ }
2813
+
2814
+ type ConfiguredObjectClassOrDefault<Fallback extends PlaceableObject.AnyConstructor> = GetKey<
2815
+ PlaceableObjectClassConfig,
2816
+ Fallback["embeddedName"],
2817
+ Fallback
2818
+ >;
2819
+
2820
+ interface SheetClassConfig {
2821
+ canBeDefault: boolean;
2822
+
2823
+ canConfigure: boolean;
2824
+
2825
+ cls: typeof DocumentSheet;
2826
+
2827
+ default: boolean;
2828
+
2829
+ id: string;
2830
+
2831
+ label: string;
2832
+ }
2833
+
2834
+ type PixiContainerConstructor = typeof PIXI.Container;
2835
+ interface CanvasGroup extends PIXI.Container {
2836
+ sortableChildren: boolean;
2837
+ }
2838
+
2839
+ interface CanvasGroupConstructor extends PixiContainerConstructor {
2840
+ new (): CanvasGroup;
2841
+
2842
+ /**
2843
+ * The name of this canvas group
2844
+ * @remarks Not used in EffectsCanvasGroup in v11
2845
+ */
2846
+ groupName?: string;
2847
+ }
2848
+
2849
+ type AnySpriteClass = abstract new (sprite?: SpriteMesh) => unknown;
2850
+
2851
+ type ToSpriteConstructor<Class extends AnySpriteClass> = ToSpriteConstructorInterface<Class>;
2852
+
2853
+ // @ts-expect-error - Ignore the "incorrectly extends interface" error inherent to this pattern.
2854
+ interface ToSpriteConstructorInterface<T extends AnySpriteClass> extends T {
2855
+ new (sprite: SpriteMesh): InstanceType<T>;
2856
+ }