@league-of-foundry-developers/foundry-vtt-types 12.331.4-beta → 12.331.5

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 (377) hide show
  1. package/package.json +18 -1
  2. package/src/configuration/configuration.d.mts +1 -1
  3. package/src/foundry/client/apps/app.d.mts +1 -1
  4. package/src/foundry/client/apps/av/av-config.d.mts +1 -1
  5. package/src/foundry/client/apps/av/cameras.d.mts +1 -1
  6. package/src/foundry/client/apps/dice/dice-config.d.mts +1 -1
  7. package/src/foundry/client/apps/form.d.mts +1 -1
  8. package/src/foundry/client/apps/forms/actor.d.mts +1 -1
  9. package/src/foundry/client/apps/forms/adventure-exporter.d.mts +1 -1
  10. package/src/foundry/client/apps/forms/adventure-importer.d.mts +1 -1
  11. package/src/foundry/client/apps/forms/base-sheet.d.mts +1 -1
  12. package/src/foundry/client/apps/forms/card-config.d.mts +1 -1
  13. package/src/foundry/client/apps/forms/cards-config.d.mts +1 -1
  14. package/src/foundry/client/apps/forms/combat-config.d.mts +1 -1
  15. package/src/foundry/client/apps/forms/effect-config.d.mts +1 -1
  16. package/src/foundry/client/apps/forms/folder-config.d.mts +7 -2
  17. package/src/foundry/client/apps/forms/fonts.d.mts +1 -1
  18. package/src/foundry/client/apps/forms/grid-config.d.mts +1 -1
  19. package/src/foundry/client/apps/forms/image-popout.d.mts +1 -1
  20. package/src/foundry/client/apps/forms/item.d.mts +1 -1
  21. package/src/foundry/client/apps/forms/journal-page-sheet.d.mts +1 -1
  22. package/src/foundry/client/apps/forms/journal-sheet.d.mts +1 -1
  23. package/src/foundry/client/apps/forms/macro-config.d.mts +1 -1
  24. package/src/foundry/client/apps/forms/measure-template.d.mts +1 -1
  25. package/src/foundry/client/apps/forms/ownership.d.mts +1 -1
  26. package/src/foundry/client/apps/forms/playlist-config.d.mts +1 -1
  27. package/src/foundry/client/apps/forms/playlist-sound-config.d.mts +1 -1
  28. package/src/foundry/client/apps/forms/roll-table-config.d.mts +1 -1
  29. package/src/foundry/client/apps/forms/scene-config.d.mts +1 -1
  30. package/src/foundry/client/apps/forms/sheet-config.d.mts +1 -1
  31. package/src/foundry/client/apps/forms/user-config.d.mts +1 -1
  32. package/src/foundry/client/apps/hud/chatbubble.d.mts +1 -1
  33. package/src/foundry/client/apps/hud/container.d.mts +1 -1
  34. package/src/foundry/client/apps/hud/controls.d.mts +1 -1
  35. package/src/foundry/client/apps/hud/hotbar.d.mts +1 -1
  36. package/src/foundry/client/apps/hud/hud.d.mts +1 -1
  37. package/src/foundry/client/apps/hud/menu.d.mts +1 -1
  38. package/src/foundry/client/apps/hud/navigation.d.mts +1 -1
  39. package/src/foundry/client/apps/hud/pause.d.mts +1 -1
  40. package/src/foundry/client/apps/hud/players.d.mts +1 -1
  41. package/src/foundry/client/apps/placeables/drawing-config.d.mts +1 -1
  42. package/src/foundry/client/apps/placeables/drawing-hud.d.mts +1 -1
  43. package/src/foundry/client/apps/placeables/note-config.d.mts +1 -1
  44. package/src/foundry/client/apps/placeables/tile-config.d.mts +1 -1
  45. package/src/foundry/client/apps/placeables/tile-hud.d.mts +1 -1
  46. package/src/foundry/client/apps/placeables/token-config.d.mts +1 -1
  47. package/src/foundry/client/apps/placeables/token-hud.d.mts +1 -1
  48. package/src/foundry/client/apps/placeables/wall-config.d.mts +1 -1
  49. package/src/foundry/client/apps/sidebar/apps/keybindings-config.d.mts +1 -1
  50. package/src/foundry/client/apps/sidebar/apps/module-management.d.mts +1 -1
  51. package/src/foundry/client/apps/sidebar/apps/support-details.d.mts +1 -1
  52. package/src/foundry/client/apps/sidebar/apps/tours-management.d.mts +1 -1
  53. package/src/foundry/client/apps/sidebar/apps/world-config.d.mts +1 -1
  54. package/src/foundry/client/apps/sidebar/directory-tab-mixin.d.mts +1 -1
  55. package/src/foundry/client/apps/sidebar/package-configuration.d.mts +1 -1
  56. package/src/foundry/client/apps/sidebar/sidebar.d.mts +1 -1
  57. package/src/foundry/client/apps/sidebar/tabs/actors-directory.d.mts +1 -1
  58. package/src/foundry/client/apps/sidebar/tabs/cards-directory.d.mts +1 -1
  59. package/src/foundry/client/apps/sidebar/tabs/chat-log.d.mts +1 -1
  60. package/src/foundry/client/apps/sidebar/tabs/combat-tracker.d.mts +1 -1
  61. package/src/foundry/client/apps/sidebar/tabs/compendium-directory.d.mts +1 -1
  62. package/src/foundry/client/apps/sidebar/tabs/items-directory.d.mts +1 -1
  63. package/src/foundry/client/apps/sidebar/tabs/journal-directory.d.mts +1 -1
  64. package/src/foundry/client/apps/sidebar/tabs/macros-directory.d.mts +1 -1
  65. package/src/foundry/client/apps/sidebar/tabs/playlists-directory.d.mts +1 -1
  66. package/src/foundry/client/apps/sidebar/tabs/roll-table-directory.d.mts +1 -1
  67. package/src/foundry/client/apps/sidebar/tabs/scenes-directory.d.mts +1 -1
  68. package/src/foundry/client/apps/sidebar/tabs/settings.d.mts +1 -1
  69. package/src/foundry/client/av/client.d.mts +1 -1
  70. package/src/foundry/client/av/clients/simplepeer.d.mts +1 -1
  71. package/src/foundry/client/av/master.d.mts +1 -1
  72. package/src/foundry/client/av/settings.d.mts +1 -1
  73. package/src/foundry/client/config.d.mts +1 -1
  74. package/src/foundry/client/core/hooks.d.mts +1 -1
  75. package/src/foundry/client/core/image.d.mts +1 -1
  76. package/src/foundry/client/core/keybindings.d.mts +1 -1
  77. package/src/foundry/client/core/packages.d.mts +4 -2
  78. package/src/foundry/client/core/settings.d.mts +1 -1
  79. package/src/foundry/client/core/socket.d.mts +1 -1
  80. package/src/foundry/client/core/tooltip.d.mts +1 -1
  81. package/src/foundry/client/core/tour.d.mts +1 -1
  82. package/src/foundry/client/core/utils.d.mts +1 -1
  83. package/src/foundry/client/core/workers.d.mts +1 -1
  84. package/src/foundry/client/data/abstract/canvas-document.d.mts +9 -20
  85. package/src/foundry/client/data/abstract/client-document.d.mts +133 -71
  86. package/src/foundry/client/data/abstract/directory-collection-mixin.d.mts +2 -2
  87. package/src/foundry/client/data/abstract/document-collection.d.mts +1 -1
  88. package/src/foundry/client/data/abstract/world-collection.d.mts +8 -1
  89. package/src/foundry/client/data/collections/actors.d.mts +1 -1
  90. package/src/foundry/client/data/collections/cards.d.mts +1 -1
  91. package/src/foundry/client/data/collections/combats.d.mts +1 -1
  92. package/src/foundry/client/data/collections/compendium-collection.d.mts +5 -4
  93. package/src/foundry/client/data/collections/fog.d.mts +1 -1
  94. package/src/foundry/client/data/collections/folder.d.mts +1 -1
  95. package/src/foundry/client/data/collections/items.d.mts +1 -1
  96. package/src/foundry/client/data/collections/journal.d.mts +1 -1
  97. package/src/foundry/client/data/collections/macros.d.mts +1 -1
  98. package/src/foundry/client/data/collections/messages.d.mts +1 -1
  99. package/src/foundry/client/data/collections/playlists.d.mts +1 -1
  100. package/src/foundry/client/data/collections/scenes.d.mts +1 -1
  101. package/src/foundry/client/data/collections/settings.d.mts +1 -1
  102. package/src/foundry/client/data/collections/tables.d.mts +1 -1
  103. package/src/foundry/client/data/collections/users.d.mts +4 -4
  104. package/src/foundry/client/data/documents/active-effect.d.mts +124 -48
  105. package/src/foundry/client/data/documents/actor-delta.d.mts +53 -22
  106. package/src/foundry/client/data/documents/actor.d.mts +147 -93
  107. package/src/foundry/client/data/documents/adventure.d.mts +74 -45
  108. package/src/foundry/client/data/documents/ambient-light.d.mts +13 -10
  109. package/src/foundry/client/data/documents/ambient-sound.d.mts +12 -7
  110. package/src/foundry/client/data/documents/card.d.mts +57 -34
  111. package/src/foundry/client/data/documents/cards.d.mts +171 -135
  112. package/src/foundry/client/data/documents/chat-message.d.mts +131 -72
  113. package/src/foundry/client/data/documents/combat.d.mts +80 -60
  114. package/src/foundry/client/data/documents/combatant.d.mts +53 -20
  115. package/src/foundry/client/data/documents/drawing.d.mts +12 -7
  116. package/src/foundry/client/data/documents/fog-exploration.d.mts +57 -17
  117. package/src/foundry/client/data/documents/folder.d.mts +114 -31
  118. package/src/foundry/client/data/documents/item.d.mts +31 -21
  119. package/src/foundry/client/data/documents/journal-entry-page.d.mts +90 -57
  120. package/src/foundry/client/data/documents/journal-entry.d.mts +29 -34
  121. package/src/foundry/client/data/documents/macro.d.mts +60 -34
  122. package/src/foundry/client/data/documents/measured-template.d.mts +13 -8
  123. package/src/foundry/client/data/documents/note.d.mts +14 -7
  124. package/src/foundry/client/data/documents/playlist-sound.d.mts +29 -33
  125. package/src/foundry/client/data/documents/playlist.d.mts +74 -54
  126. package/src/foundry/client/data/documents/region-behavior.d.mts +16 -7
  127. package/src/foundry/client/data/documents/region.d.mts +53 -48
  128. package/src/foundry/client/data/documents/scene.d.mts +310 -89
  129. package/src/foundry/client/data/documents/setting.d.mts +24 -23
  130. package/src/foundry/client/data/documents/table-result.d.mts +20 -8
  131. package/src/foundry/client/data/documents/table.d.mts +19 -13
  132. package/src/foundry/client/data/documents/tile.d.mts +13 -7
  133. package/src/foundry/client/data/documents/token.d.mts +148 -117
  134. package/src/foundry/client/data/documents/user.d.mts +141 -53
  135. package/src/foundry/client/data/documents/wall.d.mts +17 -10
  136. package/src/foundry/client/game.d.mts +1 -1
  137. package/src/foundry/client/head.d.mts +1 -1
  138. package/src/foundry/client/hooks.d.mts +9 -18
  139. package/src/foundry/client/pixi/board.d.mts +3 -2
  140. package/src/foundry/client/pixi/core/containers/base-canvas-group.d.mts +1 -1
  141. package/src/foundry/client/pixi/core/containers/cached-container.d.mts +1 -1
  142. package/src/foundry/client/pixi/core/containers/full-canvas-container.d.mts +1 -1
  143. package/src/foundry/client/pixi/core/containers/point-source-mesh.d.mts +1 -1
  144. package/src/foundry/client/pixi/core/containers/quad-mesh.d.mts +1 -1
  145. package/src/foundry/client/pixi/core/containers/quadtree.d.mts +1 -1
  146. package/src/foundry/client/pixi/core/containers/sprite-mesh.d.mts +1 -1
  147. package/src/foundry/client/pixi/core/containers/unbound-container.d.mts +1 -1
  148. package/src/foundry/client/pixi/core/interaction/canvas-animation.d.mts +1 -1
  149. package/src/foundry/client/pixi/core/interaction/control-icon.d.mts +1 -1
  150. package/src/foundry/client/pixi/core/interaction/mouse-handler.d.mts +1 -1
  151. package/src/foundry/client/pixi/core/interaction/ping.d.mts +1 -1
  152. package/src/foundry/client/pixi/core/interaction/pings/pulse.d.mts +1 -1
  153. package/src/foundry/client/pixi/core/interaction/render-flags.d.mts +1 -8
  154. package/src/foundry/client/pixi/core/interaction/resize-handle.d.mts +1 -1
  155. package/src/foundry/client/pixi/core/interaction/targets.d.mts +1 -1
  156. package/src/foundry/client/pixi/core/loader.d.mts +1 -1
  157. package/src/foundry/client/pixi/core/shapes/limited-angle-polygon.d.mts +1 -1
  158. package/src/foundry/client/pixi/core/shapes/polygon-mesher.d.mts +1 -1
  159. package/src/foundry/client/pixi/core/shapes/precise-text.d.mts +1 -1
  160. package/src/foundry/client/pixi/core/shapes/ray.d.mts +1 -1
  161. package/src/foundry/client/pixi/core/shapes/source-polygon.d.mts +1 -1
  162. package/src/foundry/client/pixi/extensions/circle.d.mts +1 -1
  163. package/src/foundry/client/pixi/extensions/observable-transform.d.mts +1 -1
  164. package/src/foundry/client/pixi/extensions/polygon.d.mts +1 -1
  165. package/src/foundry/client/pixi/extensions/rectangle.d.mts +1 -1
  166. package/src/foundry/client/pixi/groups/effects.d.mts +1 -1
  167. package/src/foundry/client/pixi/groups/environment.d.mts +1 -1
  168. package/src/foundry/client/pixi/groups/hidden.d.mts +1 -1
  169. package/src/foundry/client/pixi/groups/interface.d.mts +1 -1
  170. package/src/foundry/client/pixi/groups/overlay.d.mts +1 -1
  171. package/src/foundry/client/pixi/groups/primary.d.mts +1 -1
  172. package/src/foundry/client/pixi/groups/rendered.d.mts +1 -1
  173. package/src/foundry/client/pixi/layers/base/canvas-layer.d.mts +1 -1
  174. package/src/foundry/client/pixi/layers/base/interaction-layer.d.mts +1 -1
  175. package/src/foundry/client/pixi/layers/base/placeables-layer.d.mts +1 -1
  176. package/src/foundry/client/pixi/layers/controls/cursor.d.mts +1 -1
  177. package/src/foundry/client/pixi/layers/controls/door.d.mts +1 -1
  178. package/src/foundry/client/pixi/layers/controls/layer.d.mts +1 -1
  179. package/src/foundry/client/pixi/layers/controls/ruler.d.mts +1 -1
  180. package/src/foundry/client/pixi/layers/effects/background-effects.d.mts +1 -1
  181. package/src/foundry/client/pixi/layers/effects/coloration-effects.d.mts +1 -1
  182. package/src/foundry/client/pixi/layers/effects/darkness-effects.d.mts +1 -1
  183. package/src/foundry/client/pixi/layers/effects/illumination-effects.d.mts +1 -1
  184. package/src/foundry/client/pixi/layers/effects/visibility.d.mts +1 -1
  185. package/src/foundry/client/pixi/layers/effects/weather/particles/effect.d.mts +1 -1
  186. package/src/foundry/client/pixi/layers/effects/weather/particles/leaves.d.mts +1 -1
  187. package/src/foundry/client/pixi/layers/effects/weather-effects.d.mts +1 -1
  188. package/src/foundry/client/pixi/layers/grid/highlight.d.mts +1 -1
  189. package/src/foundry/client/pixi/layers/grid/layer.d.mts +1 -1
  190. package/src/foundry/client/pixi/layers/grid/mesh.d.mts +1 -1
  191. package/src/foundry/client/pixi/layers/masks/depth.d.mts +1 -1
  192. package/src/foundry/client/pixi/layers/masks/occlusion.d.mts +1 -1
  193. package/src/foundry/client/pixi/layers/masks/vision.d.mts +1 -1
  194. package/src/foundry/client/pixi/layers/placeables/drawings.d.mts +1 -1
  195. package/src/foundry/client/pixi/layers/placeables/lighting.d.mts +1 -1
  196. package/src/foundry/client/pixi/layers/placeables/notes.d.mts +1 -1
  197. package/src/foundry/client/pixi/layers/placeables/regions.d.mts +1 -1
  198. package/src/foundry/client/pixi/layers/placeables/sounds.d.mts +1 -1
  199. package/src/foundry/client/pixi/layers/placeables/templates.d.mts +1 -1
  200. package/src/foundry/client/pixi/layers/placeables/tiles.d.mts +1 -1
  201. package/src/foundry/client/pixi/layers/placeables/tokens.d.mts +1 -1
  202. package/src/foundry/client/pixi/layers/placeables/walls.d.mts +1 -1
  203. package/src/foundry/client/pixi/perception/clockwise-sweep.d.mts +1 -1
  204. package/src/foundry/client/pixi/perception/detection-mode.d.mts +1 -1
  205. package/src/foundry/client/pixi/perception/fog.d.mts +1 -1
  206. package/src/foundry/client/pixi/perception/perception-manager.d.mts +1 -1
  207. package/src/foundry/client/pixi/perception/vision-mode.d.mts +1 -1
  208. package/src/foundry/client/pixi/perception/weiler-atherton-clipping.d.mts +1 -1
  209. package/src/foundry/client/pixi/placeable.d.mts +2 -1
  210. package/src/foundry/client/pixi/placeables/drawing.d.mts +1 -1
  211. package/src/foundry/client/pixi/placeables/light.d.mts +1 -7
  212. package/src/foundry/client/pixi/placeables/note.d.mts +1 -1
  213. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-canvas-object.d.mts +1 -1
  214. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-graphics.d.mts +1 -1
  215. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-occludable-object.d.mts +1 -1
  216. package/src/foundry/client/pixi/placeables/primary-canvas-objects/primary-sprite-mesh.d.mts +1 -1
  217. package/src/foundry/client/pixi/placeables/region.d.mts +1 -1
  218. package/src/foundry/client/pixi/placeables/sound.d.mts +1 -1
  219. package/src/foundry/client/pixi/placeables/template.d.mts +1 -1
  220. package/src/foundry/client/pixi/placeables/tile.d.mts +1 -1
  221. package/src/foundry/client/pixi/placeables/token.d.mts +1 -1
  222. package/src/foundry/client/pixi/placeables/wall.d.mts +1 -1
  223. package/src/foundry/client/pixi/webgl/extensions/batch-renderer.d.mts +1 -1
  224. package/src/foundry/client/pixi/webgl/extensions/batch-shader-generator.d.mts +1 -1
  225. package/src/foundry/client/pixi/webgl/helpers/framebuffer-snapshot.d.mts +1 -1
  226. package/src/foundry/client/pixi/webgl/helpers/smooth-noise.d.mts +1 -1
  227. package/src/foundry/client/pixi/webgl/helpers/texture-extractor.d.mts +1 -1
  228. package/src/foundry/client/pixi/webgl/shaders/base-shader-mixin.d.mts +1 -1
  229. package/src/foundry/client/pixi/webgl/shaders/base-shader.d.mts +1 -1
  230. package/src/foundry/client/pixi/webgl/shaders/filters/base-filter.d.mts +1 -1
  231. package/src/foundry/client/pixi/webgl/shaders/filters/effects-masking.d.mts +1 -1
  232. package/src/foundry/client/pixi/webgl/shaders/filters/glow-overlay.d.mts +1 -1
  233. package/src/foundry/client/pixi/webgl/shaders/filters/outline-overlay.d.mts +1 -1
  234. package/src/foundry/client/pixi/webgl/shaders/filters/transition.d.mts +1 -1
  235. package/src/foundry/client/pixi/webgl/shaders/filters/visibility.d.mts +1 -1
  236. package/src/foundry/client/pixi/webgl/shaders/filters/vision-mask-filter.d.mts +1 -1
  237. package/src/foundry/client/pixi/webgl/shaders/fragment-channel-mixin.d.mts +1 -1
  238. package/src/foundry/client/pixi/webgl/shaders/grid/grid.d.mts +1 -1
  239. package/src/foundry/client/pixi/webgl/shaders/lighting/effects/fairy-light.d.mts +1 -1
  240. package/src/foundry/client/pixi/webgl/shaders/samplers/base-sampler.d.mts +1 -1
  241. package/src/foundry/client/pixi/webgl/shaders/samplers/token-ring.d.mts +1 -1
  242. package/src/foundry/client/pixi/webgl/shaders/weather/base-weather.d.mts +1 -1
  243. package/src/foundry/client/pixi/webgl/shaders/weather/effect.d.mts +1 -1
  244. package/src/foundry/client/pixi/workers/texture-worker.d.mts +1 -1
  245. package/src/foundry/client/ui/context.d.mts +1 -1
  246. package/src/foundry/client/ui/dialog.d.mts +1 -1
  247. package/src/foundry/client/ui/dragdrop.d.mts +1 -1
  248. package/src/foundry/client/ui/editor.d.mts +1 -1
  249. package/src/foundry/client/ui/filepicker.d.mts +1 -1
  250. package/src/foundry/client/ui/filter.d.mts +1 -1
  251. package/src/foundry/client-esm/applications/api/application.d.mts +1 -9
  252. package/src/foundry/client-esm/applications/api/dialog.d.mts +1 -1
  253. package/src/foundry/client-esm/applications/api/document-sheet.d.mts +1 -1
  254. package/src/foundry/client-esm/applications/api/handlebars-application.d.mts +1 -1
  255. package/src/foundry/client-esm/applications/apps/compendium-art-config.d.mts +1 -1
  256. package/src/foundry/client-esm/applications/apps/permission-config.d.mts +1 -1
  257. package/src/foundry/client-esm/applications/dice/roll-resolver.d.mts +1 -1
  258. package/src/foundry/client-esm/applications/forms/fields.d.mts +1 -1
  259. package/src/foundry/client-esm/applications/sheets/actor-sheet.d.mts +1 -1
  260. package/src/foundry/client-esm/applications/sheets/ambient-light-config.d.mts +1 -1
  261. package/src/foundry/client-esm/applications/sheets/ambient-sound-config.d.mts +1 -1
  262. package/src/foundry/client-esm/applications/sheets/item-sheet.d.mts +1 -1
  263. package/src/foundry/client-esm/applications/sheets/region-behavior-config.d.mts +1 -1
  264. package/src/foundry/client-esm/applications/sheets/region-config.d.mts +1 -1
  265. package/src/foundry/client-esm/applications/sheets/user-config.d.mts +1 -1
  266. package/src/foundry/client-esm/applications/ui/region-legend.d.mts +1 -1
  267. package/src/foundry/client-esm/audio/biquad.d.mts +1 -1
  268. package/src/foundry/client-esm/audio/convolver.d.mts +1 -1
  269. package/src/foundry/client-esm/audio/helper.d.mts +1 -1
  270. package/src/foundry/client-esm/audio/sound.d.mts +2 -2
  271. package/src/foundry/client-esm/canvas/edges/collision.d.mts +1 -1
  272. package/src/foundry/client-esm/canvas/edges/edge.d.mts +1 -1
  273. package/src/foundry/client-esm/canvas/edges/vertex.d.mts +1 -1
  274. package/src/foundry/client-esm/canvas/scene-manager.d.mts +1 -1
  275. package/src/foundry/client-esm/canvas/smaa/smaa.d.mts +1 -1
  276. package/src/foundry/client-esm/canvas/sources/base-effect-source.d.mts +1 -1
  277. package/src/foundry/client-esm/canvas/sources/base-light-source.d.mts +1 -1
  278. package/src/foundry/client-esm/canvas/sources/global-light-source.d.mts +1 -1
  279. package/src/foundry/client-esm/canvas/sources/point-darkness-source.d.mts +1 -1
  280. package/src/foundry/client-esm/canvas/sources/point-effect-source.d.mts +1 -1
  281. package/src/foundry/client-esm/canvas/sources/point-light-source.d.mts +1 -1
  282. package/src/foundry/client-esm/canvas/sources/point-sound-source.d.mts +1 -1
  283. package/src/foundry/client-esm/canvas/sources/point-vision-source.d.mts +1 -1
  284. package/src/foundry/client-esm/canvas/sources/rendered-effect-source.d.mts +1 -1
  285. package/src/foundry/client-esm/canvas/tokens/ring-data.d.mts +3 -2
  286. package/src/foundry/client-esm/canvas/tokens/ring.d.mts +1 -1
  287. package/src/foundry/client-esm/data/client-backend.d.mts +1 -1
  288. package/src/foundry/client-esm/data/region-behaviors/adjust-darkness-level.d.mts +4 -5
  289. package/src/foundry/client-esm/data/region-behaviors/base.d.mts +1 -1
  290. package/src/foundry/client-esm/data/region-behaviors/display-scrolling-text.d.mts +1 -1
  291. package/src/foundry/client-esm/data/region-behaviors/toggle-behavior.d.mts +4 -4
  292. package/src/foundry/client-esm/dice/roll.d.mts +5 -8
  293. package/src/foundry/client-esm/dice/terms/coin.d.mts +1 -1
  294. package/src/foundry/client-esm/dice/terms/dice.d.mts +1 -1
  295. package/src/foundry/client-esm/dice/terms/die.d.mts +1 -1
  296. package/src/foundry/client-esm/dice/terms/fate.d.mts +1 -1
  297. package/src/foundry/client-esm/dice/terms/function.d.mts +1 -1
  298. package/src/foundry/client-esm/dice/terms/numeric.d.mts +1 -1
  299. package/src/foundry/client-esm/dice/terms/operator.d.mts +1 -1
  300. package/src/foundry/client-esm/dice/terms/parenthetical.d.mts +1 -1
  301. package/src/foundry/client-esm/dice/terms/pool.d.mts +1 -1
  302. package/src/foundry/client-esm/dice/terms/string.d.mts +1 -1
  303. package/src/foundry/client-esm/dice/terms/term.d.mts +1 -1
  304. package/src/foundry/common/abstract/backend.d.mts +1 -1
  305. package/src/foundry/common/abstract/data.d.mts +197 -146
  306. package/src/foundry/common/abstract/document.d.mts +198 -81
  307. package/src/foundry/common/abstract/embedded-collection-delta.d.mts +1 -1
  308. package/src/foundry/common/abstract/embedded-collection.d.mts +1 -1
  309. package/src/foundry/common/abstract/socket.d.mts +1 -1
  310. package/src/foundry/common/abstract/type-data.d.mts +4 -1
  311. package/src/foundry/common/config.d.mts +7 -1
  312. package/src/foundry/common/constants.d.mts +1 -1
  313. package/src/foundry/common/data/data.d.mts +42 -12
  314. package/src/foundry/common/data/fields.d.mts +656 -252
  315. package/src/foundry/common/documents/_types.d.mts +0 -6
  316. package/src/foundry/common/documents/active-effect.d.mts +116 -53
  317. package/src/foundry/common/documents/actor-delta.d.mts +139 -58
  318. package/src/foundry/common/documents/actor.d.mts +105 -51
  319. package/src/foundry/common/documents/adventure.d.mts +84 -39
  320. package/src/foundry/common/documents/ambient-light.d.mts +66 -38
  321. package/src/foundry/common/documents/ambient-sound.d.mts +66 -38
  322. package/src/foundry/common/documents/card.d.mts +100 -59
  323. package/src/foundry/common/documents/cards.d.mts +97 -42
  324. package/src/foundry/common/documents/chat-message.d.mts +105 -52
  325. package/src/foundry/common/documents/combat.d.mts +101 -48
  326. package/src/foundry/common/documents/combatant.d.mts +94 -50
  327. package/src/foundry/common/documents/drawing.d.mts +87 -46
  328. package/src/foundry/common/documents/fog-exploration.d.mts +87 -41
  329. package/src/foundry/common/documents/folder.d.mts +100 -46
  330. package/src/foundry/common/documents/item.d.mts +116 -45
  331. package/src/foundry/common/documents/journal-entry-page.d.mts +90 -40
  332. package/src/foundry/common/documents/journal-entry.d.mts +90 -39
  333. package/src/foundry/common/documents/macro.d.mts +116 -52
  334. package/src/foundry/common/documents/measured-template.d.mts +80 -44
  335. package/src/foundry/common/documents/note.d.mts +75 -39
  336. package/src/foundry/common/documents/playlist-sound.d.mts +88 -47
  337. package/src/foundry/common/documents/playlist.d.mts +101 -50
  338. package/src/foundry/common/documents/region-behavior.d.mts +71 -40
  339. package/src/foundry/common/documents/region.d.mts +68 -40
  340. package/src/foundry/common/documents/roll-table.d.mts +43 -9
  341. package/src/foundry/common/documents/scene.d.mts +190 -43
  342. package/src/foundry/common/documents/setting.d.mts +98 -42
  343. package/src/foundry/common/documents/table-result.d.mts +98 -48
  344. package/src/foundry/common/documents/tile.d.mts +77 -43
  345. package/src/foundry/common/documents/token.d.mts +95 -52
  346. package/src/foundry/common/documents/user.d.mts +100 -89
  347. package/src/foundry/common/documents/wall.d.mts +47 -17
  348. package/src/foundry/common/grid/base.d.mts +1 -1
  349. package/src/foundry/common/grid/gridless.d.mts +1 -1
  350. package/src/foundry/common/grid/hexagonal.d.mts +1 -1
  351. package/src/foundry/common/grid/square.d.mts +1 -1
  352. package/src/foundry/common/packages/base-package.d.mts +37 -14
  353. package/src/foundry/common/packages/base-system.d.mts +39 -0
  354. package/src/foundry/common/packages/base-world.d.mts +8 -1
  355. package/src/foundry/common/packages/sub-types.d.mts +3 -5
  356. package/src/foundry/common/primitives/array.d.mts +1 -1
  357. package/src/foundry/common/primitives/string.d.mts +1 -1
  358. package/src/foundry/common/prosemirror/dirty-plugin.d.mts +1 -1
  359. package/src/foundry/common/prosemirror/dom-parser.d.mts +1 -1
  360. package/src/foundry/common/prosemirror/highlight-matches-plugin.d.mts +1 -1
  361. package/src/foundry/common/prosemirror/image-plugin.d.mts +1 -1
  362. package/src/foundry/common/prosemirror/paste-transformer.d.mts +1 -1
  363. package/src/foundry/common/prosemirror/plugin.d.mts +1 -1
  364. package/src/foundry/common/types.d.mts +1 -1
  365. package/src/foundry/common/utils/bitmask.d.mts +1 -1
  366. package/src/foundry/common/utils/collection.d.mts +1 -1
  367. package/src/foundry/common/utils/event-emitter.d.mts +1 -1
  368. package/src/foundry/common/utils/helpers.d.mts +1 -1
  369. package/src/foundry/public/scripts/clipper/clipper.d.mts +1 -1
  370. package/src/types/augments/particles.d.mts +1 -1
  371. package/src/types/augments/pixi.d.mts +1 -1
  372. package/src/types/augments/smooth.d.mts +1 -1
  373. package/src/types/augments/tinyMCE.d.mts +1 -1
  374. package/src/types/config.d.mts +2 -5
  375. package/src/types/documentConfiguration.d.mts +1 -1
  376. package/src/types/lib.d.mts +1 -1
  377. package/src/types/workers/image-compressor.d.mts +1 -1
@@ -1,4 +1,4 @@
1
- import type { Merge } from "../../../../utils/index.d.mts";
1
+ import type { AnyObject, Merge } from "#utils";
2
2
  import type Document from "../../../common/abstract/document.d.mts";
3
3
  import type { DataSchema } from "../../../common/data/fields.d.mts";
4
4
  import type { fields } from "../../../common/data/module.d.mts";
@@ -111,7 +111,7 @@ declare global {
111
111
  type Collection = WorldSettings.Configured;
112
112
 
113
113
  /**
114
- * An instance of `Setting` that comes from the database but failed validation meaining that
114
+ * An instance of `Setting` that comes from the database but failed validation meaning that
115
115
  * its `system` and `_source` could theoretically be anything.
116
116
  */
117
117
  interface Invalid extends Document.Invalid<Setting.Implementation> {}
@@ -183,6 +183,7 @@ declare global {
183
183
  * The setting key, a composite of \{scope\}.\{name\}
184
184
  * @defaultValue `""`
185
185
  */
186
+ // TODO: enforce `${string}.${string}`? Not worth it since nobody touches directly?
186
187
  key: fields.StringField<{
187
188
  required: true;
188
189
  nullable: false;
@@ -193,7 +194,7 @@ declare global {
193
194
 
194
195
  /**
195
196
  * The setting value, which is serialized to JSON
196
- * @defaultValue `undefined`
197
+ * @defaultValue `null`
197
198
  */
198
199
  value: fields.JSONField<{
199
200
  required: true;
@@ -311,7 +312,7 @@ declare global {
311
312
  /**
312
313
  * @deprecated `Settings` does not have any flags.
313
314
  *
314
- * This permenantly deprecated type helps to alleviate confusion as a user might expect it to exist.
315
+ * This permanently deprecated type helps to alleviate confusion as a user might expect it to exist.
315
316
  */
316
317
  type Flags = never;
317
318
 
@@ -319,21 +320,21 @@ declare global {
319
320
  /**
320
321
  * @deprecated `Settings` does not have any flags.
321
322
  *
322
- * This permenantly deprecated type helps to alleviate confusion as a user might expect it to exist.
323
+ * This permanently deprecated type helps to alleviate confusion as a user might expect it to exist.
323
324
  */
324
325
  type Scope = never;
325
326
 
326
327
  /**
327
328
  * @deprecated `Settings` does not have any flags.
328
329
  *
329
- * This permenantly deprecated type helps to alleviate confusion as a user might expect it to exist.
330
+ * This permanently deprecated type helps to alleviate confusion as a user might expect it to exist.
330
331
  */
331
332
  type Key<_Scope> = never;
332
333
 
333
334
  /**
334
335
  * @deprecated `Settings` does not have any flags.
335
336
  *
336
- * This permenantly deprecated type helps to alleviate confusion as a user might expect it to exist.
337
+ * This permanently deprecated type helps to alleviate confusion as a user might expect it to exist.
337
338
  */
338
339
  type Get<_Scope, _Key> = never;
339
340
  }
@@ -372,30 +373,23 @@ declare global {
372
373
  */
373
374
  constructor(...args: Setting.ConstructorArgs);
374
375
 
375
- /**
376
- * @privateRemarks This exists to let ts know that this class has a private property
377
- */
378
- static #PRIMITIVE_TYPES: any;
379
-
380
376
  /**
381
377
  * The setting configuration for this setting document.
382
378
  */
383
379
  get config(): SettingsConfig | undefined;
384
380
 
385
- // TODO: This is the same as `DataModel._initialize`
386
- protected _initialize(options?: any): void;
381
+ // options: not null (parameter default only)
382
+ protected override _initialize(options?: Document.InitializeOptions): void;
387
383
 
388
- /**
389
- * @privateRemarks _onCreate and _preUpdate are overridden but with no signature changes.
390
- * For type simplicity they are left off. These methods historically have been the source of a large amount of computation from tsc.
391
- */
384
+ // _onCreate and _preUpdate are overridden but with no signature changes.
385
+ // For type simplicity they are left off. These methods historically have been the source of a large amount of computation from tsc.
392
386
 
393
387
  /**
394
388
  * Cast the value of the Setting into its defined type.
395
389
  * @returns The initialized type of the Setting document.
396
390
  */
397
391
  // TODO: This could probably be derived
398
- protected _castType(): any;
392
+ protected _castType(): unknown;
399
393
 
400
394
  /*
401
395
  * After this point these are not really overridden methods.
@@ -411,26 +405,33 @@ declare global {
411
405
 
412
406
  // Descendant Document operations have been left out because Setting does not have any descendant documents.
413
407
 
414
- static override defaultName(context?: Document.DefaultNameContext<string, Setting.Parent>): string;
408
+ // context: not null (destructured)
409
+ static override defaultName(context?: Document.DefaultNameContext<"Setting", Setting.Parent>): string;
415
410
 
416
411
  /**
417
412
  * @throws Foundry tries to figure out the folders for the world collection and errors out
418
413
  */
414
+ // data: not null (parameter default only), context: not null (destructured)
419
415
  static override createDialog(
420
416
  data?: Setting.CreateData,
421
- context?: Document.CreateDialogContext<string, Setting.Parent>,
417
+ context?: Document.CreateDialogContext<"Setting", Setting.Parent>,
422
418
  ): never;
423
419
 
420
+ // options: not null (parameter default only)
424
421
  static override fromDropData(
425
422
  data: Document.DropData<Setting.Implementation>,
426
- options?: Document.FromDropDataOptions,
423
+ options?: AnyObject,
427
424
  ): Promise<Setting.Implementation | undefined>;
428
425
 
429
426
  static override fromImport(
430
427
  source: Setting.Source,
431
- context?: Document.FromImportContext<Setting.Parent>,
428
+ context?: Document.FromImportContext<Setting.Parent> | null,
432
429
  ): Promise<Setting.Implementation>;
433
430
 
431
+ override _onClickDocumentLink(event: MouseEvent): ClientDocument.OnClickDocumentLinkReturn;
432
+
434
433
  // Embedded document operations have been left out because Setting does not have any embedded documents.
434
+
435
+ static #Setting: true;
435
436
  }
436
437
  }
@@ -1,5 +1,5 @@
1
1
  import type { ConfiguredTableResult } from "../../../../configuration/index.d.mts";
2
- import type { Merge } from "../../../../utils/index.d.mts";
2
+ import type { AnyObject, Merge } from "#utils";
3
3
  import type Document from "../../../common/abstract/document.d.mts";
4
4
  import type { DataSchema } from "../../../common/data/fields.d.mts";
5
5
  import type { fields } from "../../../common/data/module.d.mts";
@@ -146,7 +146,7 @@ declare global {
146
146
  type Collection = never;
147
147
 
148
148
  /**
149
- * An instance of `TableResult` that comes from the database but failed validation meaining that
149
+ * An instance of `TableResult` that comes from the database but failed validation meaning that
150
150
  * its `system` and `_source` could theoretically be anything.
151
151
  */
152
152
  interface Invalid<out SubType extends TableResult.SubType = TableResult.SubType>
@@ -241,7 +241,8 @@ declare global {
241
241
 
242
242
  /**
243
243
  * A named collection from which this result is drawn
244
- * @defaultValue `""`
244
+ * @defaultValue `undefined`
245
+ * @remarks If this is a `compendium` type result, will be the pack ID; If `document`, the DocumentName
245
246
  */
246
247
  documentCollection: fields.StringField;
247
248
 
@@ -456,9 +457,13 @@ declare global {
456
457
 
457
458
  /**
458
459
  * A path reference to the icon image used to represent this result
460
+ * @remarks Returns {@linkcode CONFIG.RollTable.resultIcon} if `this.img` is falsey
459
461
  */
460
462
  get icon(): string;
461
463
 
464
+ /** @remarks Overrides `this.img` with the `img` of the associated Document, if this result is a `document` or `compendium` type */
465
+ override prepareBaseData(): void;
466
+
462
467
  /**
463
468
  * Prepare a string representation for the result which (if possible) will be a dynamic link or otherwise plain text
464
469
  * @returns The text to display
@@ -479,25 +484,32 @@ declare global {
479
484
 
480
485
  // Descendant Document operations have been left out because TableResult does not have any descendant documents.
481
486
 
487
+ // context: not null (destructured)
482
488
  static override defaultName(
483
- context: Document.DefaultNameContext<TableResult.SubType, NonNullable<TableResult.Parent>>,
489
+ context?: Document.DefaultNameContext<"TableResult", NonNullable<TableResult.Parent>>,
484
490
  ): string;
485
491
 
492
+ /** @remarks `context.parent` is required as creation requires one */
486
493
  static override createDialog(
487
- data: Document.CreateDialogData<TableResult.CreateData>,
488
- context: Document.CreateDialogContext<TableResult.SubType, NonNullable<TableResult.Parent>>,
494
+ data: Document.CreateDialogData<TableResult.CreateData> | undefined,
495
+ context: Document.CreateDialogContext<"TableResult", NonNullable<TableResult.Parent>>,
489
496
  ): Promise<TableResult.Stored | null | undefined>;
490
497
 
498
+ // options: not null (parameter default only)
491
499
  static override fromDropData(
492
500
  data: Document.DropData<TableResult.Implementation>,
493
- options?: Document.FromDropDataOptions,
501
+ options?: AnyObject,
494
502
  ): Promise<TableResult.Implementation | undefined>;
495
503
 
496
504
  static override fromImport(
497
505
  source: TableResult.Source,
498
- context?: Document.FromImportContext<TableResult.Parent>,
506
+ context?: Document.FromImportContext<TableResult.Parent> | null,
499
507
  ): Promise<TableResult.Implementation>;
500
508
 
509
+ override _onClickDocumentLink(event: MouseEvent): ClientDocument.OnClickDocumentLinkReturn;
510
+
501
511
  // Embedded document operations have been left out because TableResult does not have any embedded documents.
512
+
513
+ static #TableResult: true;
502
514
  }
503
515
  }
@@ -1,4 +1,4 @@
1
- import type { InexactPartial, Merge } from "fvtt-types/utils";
1
+ import type { AnyObject, InexactPartial, Merge } from "#utils";
2
2
  import type { documents } from "../../../client-esm/client.d.mts";
3
3
  import type Document from "../../../common/abstract/document.d.mts";
4
4
  import type { DataSchema } from "../../../common/data/fields.d.mts";
@@ -166,7 +166,7 @@ declare global {
166
166
  type Collection = RollTables.Configured;
167
167
 
168
168
  /**
169
- * An instance of `RollTable` that comes from the database but failed validation meaining that
169
+ * An instance of `RollTable` that comes from the database but failed validation meaning that
170
170
  * its `system` and `_source` could theoretically be anything.
171
171
  */
172
172
  interface Invalid extends Document.Invalid<RollTable.Implementation> {}
@@ -746,7 +746,7 @@ declare global {
746
746
 
747
747
  /**
748
748
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
749
- * this method must be overriden like so:
749
+ * this method must be overridden like so:
750
750
  * ```typescript
751
751
  * class GurpsRollTable extends RollTable {
752
752
  * protected override _onCreateDescendantDocuments(...args: RollTable.OnCreateDescendantDocumentsArgs) {
@@ -764,7 +764,7 @@ declare global {
764
764
 
765
765
  /**
766
766
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
767
- * this method must be overriden like so:
767
+ * this method must be overridden like so:
768
768
  * ```typescript
769
769
  * class BladesRollTable extends RollTable {
770
770
  * protected override _onDeleteDescendantDocuments(...args: RollTable.OnUpdateDescendantDocuments) {
@@ -780,7 +780,8 @@ declare global {
780
780
  */
781
781
  protected override _onDeleteDescendantDocuments(...args: RollTable.OnDeleteDescendantDocumentsArgs): void;
782
782
 
783
- toCompendium<Options extends ClientDocument.ToCompendiumOptions>(
783
+ // options: not null (parameter default only, destructured in super)
784
+ override toCompendium<Options extends ClientDocument.ToCompendiumOptions | undefined = undefined>(
784
785
  pack?: CompendiumCollection<CompendiumCollection.Metadata> | null,
785
786
  options?: Options,
786
787
  ): ClientDocument.ToCompendiumReturnType<foundry.documents.BaseRollTable, Options>;
@@ -809,7 +810,7 @@ declare global {
809
810
 
810
811
  /**
811
812
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
812
- * this method must be overriden like so:
813
+ * this method must be overridden like so:
813
814
  * ```typescript
814
815
  * class SwadeRollTable extends RollTable {
815
816
  * protected override _preCreateDescendantDocuments(...args: RollTable.PreCreateDescendantDocumentsArgs) {
@@ -827,7 +828,7 @@ declare global {
827
828
 
828
829
  /**
829
830
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
830
- * this method must be overriden like so:
831
+ * this method must be overridden like so:
831
832
  * ```typescript
832
833
  * class LancerRollTable extends RollTable {
833
834
  * protected override _preUpdateDescendantDocuments(...args: RollTable.OnUpdateDescendantDocuments) {
@@ -845,7 +846,7 @@ declare global {
845
846
 
846
847
  /**
847
848
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
848
- * this method must be overriden like so:
849
+ * this method must be overridden like so:
849
850
  * ```typescript
850
851
  * class Ptr2eRollTable extends RollTable {
851
852
  * protected override _onUpdateDescendantDocuments(...args: RollTable.OnUpdateDescendantDocumentsArgs) {
@@ -863,7 +864,7 @@ declare global {
863
864
 
864
865
  /**
865
866
  * @remarks To make it possible for narrowing one parameter to jointly narrow other parameters
866
- * this method must be overriden like so:
867
+ * this method must be overridden like so:
867
868
  * ```typescript
868
869
  * class KultRollTable extends RollTable {
869
870
  * protected override _preDeleteDescendantDocuments(...args: RollTable.PreDeleteDescendantDocumentsArgs) {
@@ -879,22 +880,27 @@ declare global {
879
880
  */
880
881
  protected override _preDeleteDescendantDocuments(...args: RollTable.PreDeleteDescendantDocumentsArgs): void;
881
882
 
882
- static override defaultName(context?: Document.DefaultNameContext<string, RollTable.Parent>): string;
883
+ // context: not null (destructured)
884
+ static override defaultName(context?: Document.DefaultNameContext<"RollTable", RollTable.Parent>): string;
883
885
 
886
+ // data: not null (parameter default only), context: not null (destructured)
884
887
  static override createDialog(
885
888
  data?: Document.CreateDialogData<RollTable.CreateData>,
886
- context?: Document.CreateDialogContext<string, RollTable.Parent>,
889
+ context?: Document.CreateDialogContext<"RollTable", RollTable.Parent>,
887
890
  ): Promise<RollTable.Stored | null | undefined>;
888
891
 
892
+ // options: not null (parameter default only)
889
893
  static override fromDropData(
890
894
  data: Document.DropData<RollTable.Implementation>,
891
- options?: Document.FromDropDataOptions,
895
+ options?: AnyObject,
892
896
  ): Promise<RollTable.Implementation | undefined>;
893
897
 
894
898
  static override fromImport(
895
899
  source: RollTable.Source,
896
- context?: Document.FromImportContext<RollTable.Parent>,
900
+ context?: Document.FromImportContext<RollTable.Parent> | null,
897
901
  ): Promise<RollTable.Implementation>;
902
+
903
+ override _onClickDocumentLink(event: MouseEvent): ClientDocument.OnClickDocumentLinkReturn;
898
904
  }
899
905
 
900
906
  /**
@@ -1,4 +1,4 @@
1
- import type { InterfaceToObject, Merge } from "../../../../utils/index.d.mts";
1
+ import type { AnyObject, InterfaceToObject, Merge } from "#utils";
2
2
  import type Document from "../../../common/abstract/document.d.mts";
3
3
  import type { DataSchema } from "../../../common/data/fields.d.mts";
4
4
  import type { fields, TextureData } from "../../../common/data/module.d.mts";
@@ -100,7 +100,7 @@ declare global {
100
100
  type Collection = never;
101
101
 
102
102
  /**
103
- * An instance of `TileDocument` that comes from the database but failed validation meaining that
103
+ * An instance of `TileDocument` that comes from the database but failed validation meaning that
104
104
  * its `system` and `_source` could theoretically be anything.
105
105
  */
106
106
  interface Invalid extends Document.Invalid<TileDocument.Implementation> {}
@@ -495,23 +495,29 @@ declare global {
495
495
 
496
496
  // Descendant Document operations have been left out because Tile does not have any descendant documents.
497
497
 
498
- static override defaultName(context: Document.DefaultNameContext<"base", NonNullable<TileDocument.Parent>>): string;
498
+ static override defaultName(
499
+ context?: Document.DefaultNameContext<"Tile", NonNullable<TileDocument.Parent>>,
500
+ ): string;
499
501
 
502
+ /** @remarks `context.parent` is required as creation requires one */
500
503
  static override createDialog(
501
- data: Document.CreateDialogData<TileDocument.CreateData>,
502
- context: Document.CreateDialogContext<string, NonNullable<TileDocument.Parent>>,
504
+ data: Document.CreateDialogData<TileDocument.CreateData> | undefined,
505
+ context: Document.CreateDialogContext<"Tile", NonNullable<TileDocument.Parent>>,
503
506
  ): Promise<TileDocument.Stored | null | undefined>;
504
507
 
508
+ // options: not null (parameter default only)
505
509
  static override fromDropData(
506
510
  data: Document.DropData<TileDocument.Implementation>,
507
- options?: Document.FromDropDataOptions,
511
+ options?: AnyObject,
508
512
  ): Promise<TileDocument.Implementation | undefined>;
509
513
 
510
514
  static override fromImport(
511
515
  source: TileDocument.Source,
512
- context?: Document.FromImportContext<TileDocument.Parent>,
516
+ context?: Document.FromImportContext<TileDocument.Parent> | null,
513
517
  ): Promise<TileDocument.Implementation>;
514
518
 
519
+ override _onClickDocumentLink(event: MouseEvent): ClientDocument.OnClickDocumentLinkReturn;
520
+
515
521
  // Embedded document operations have been left out because Tile does not have any embedded documents.
516
522
  }
517
523
  }