obsidian-dev-utils 19.1.2-beta.2 → 19.1.2-beta.3

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 (275) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/lib/cjs/Debug.d.cts +1 -1
  3. package/dist/lib/cjs/Library.cjs +1 -1
  4. package/dist/lib/cjs/ScriptUtils/CliUtils.d.cts +1 -1
  5. package/dist/lib/cjs/ScriptUtils/ESLint/index.d.cts +2 -2
  6. package/dist/lib/cjs/ScriptUtils/Fs.d.cts +1 -1
  7. package/dist/lib/cjs/ScriptUtils/JSON.d.cts +1 -1
  8. package/dist/lib/cjs/ScriptUtils/Npm.d.cts +1 -1
  9. package/dist/lib/cjs/ScriptUtils/Root.d.cts +1 -1
  10. package/dist/lib/cjs/ScriptUtils/esbuild/ObsidianPluginBuilder.d.cts +1 -1
  11. package/dist/lib/cjs/ScriptUtils/esbuild/index.d.cts +9 -9
  12. package/dist/lib/cjs/ScriptUtils/index.d.cts +17 -17
  13. package/dist/lib/cjs/String.d.cts +1 -1
  14. package/dist/lib/cjs/Transformers/DateTransformer.d.cts +1 -1
  15. package/dist/lib/cjs/Transformers/DurationTransformer.d.cts +1 -1
  16. package/dist/lib/cjs/Transformers/GroupTransformer.d.cts +1 -1
  17. package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.d.cts +1 -1
  18. package/dist/lib/cjs/Transformers/TypedTransformer.d.cts +1 -1
  19. package/dist/lib/cjs/Transformers/index.d.cts +6 -6
  20. package/dist/lib/cjs/ValueProvider.d.cts +1 -1
  21. package/dist/lib/cjs/codemirror/index.d.cts +1 -1
  22. package/dist/lib/cjs/index.d.cts +20 -20
  23. package/dist/lib/cjs/obsidian/@types/Dataview/api/data-array.d.cts +1 -1
  24. package/dist/lib/cjs/obsidian/@types/Dataview/api/extensions.d.cts +1 -1
  25. package/dist/lib/cjs/obsidian/@types/Dataview/api/inline-api.d.cts +9 -9
  26. package/dist/lib/cjs/obsidian/@types/Dataview/api/plugin-api.d.cts +10 -10
  27. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/csv.d.cts +1 -1
  28. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/inline-field.d.cts +1 -1
  29. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/markdown-file.d.cts +3 -3
  30. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/persister.d.cts +1 -1
  31. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.cts +1 -1
  32. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/index.d.cts +5 -5
  33. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/resolver.d.cts +4 -4
  34. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/markdown.d.cts +4 -4
  35. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/serialized/markdown.d.cts +1 -1
  36. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/value.d.cts +1 -1
  37. package/dist/lib/cjs/obsidian/@types/Dataview/expression/binaryop.d.cts +4 -4
  38. package/dist/lib/cjs/obsidian/@types/Dataview/expression/context.d.cts +6 -6
  39. package/dist/lib/cjs/obsidian/@types/Dataview/expression/field.d.cts +1 -1
  40. package/dist/lib/cjs/obsidian/@types/Dataview/expression/functions.d.cts +3 -3
  41. package/dist/lib/cjs/obsidian/@types/Dataview/expression/parse.d.cts +4 -4
  42. package/dist/lib/cjs/obsidian/@types/Dataview/index.d.cts +11 -11
  43. package/dist/lib/cjs/obsidian/@types/Dataview/main.d.cts +4 -4
  44. package/dist/lib/cjs/obsidian/@types/Dataview/query/engine.d.cts +9 -9
  45. package/dist/lib/cjs/obsidian/@types/Dataview/query/parse.d.cts +3 -3
  46. package/dist/lib/cjs/obsidian/@types/Dataview/query/query.d.cts +2 -2
  47. package/dist/lib/cjs/obsidian/@types/Dataview/typings/obsidian-ex.d.cts +1 -1
  48. package/dist/lib/cjs/obsidian/@types/Dataview/ui/export/markdown.d.cts +3 -3
  49. package/dist/lib/cjs/obsidian/@types/Dataview/ui/lp-render.d.cts +3 -3
  50. package/dist/lib/cjs/obsidian/@types/Dataview/ui/markdown.d.cts +3 -3
  51. package/dist/lib/cjs/obsidian/@types/Dataview/ui/refreshable-view.d.cts +2 -2
  52. package/dist/lib/cjs/obsidian/@types/Dataview/ui/render.d.cts +2 -2
  53. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/calendar-view.d.cts +4 -4
  54. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.cts +2 -2
  55. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-view.d.cts +4 -4
  56. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/js-view.d.cts +2 -2
  57. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/list-view.d.cts +3 -3
  58. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/table-view.d.cts +3 -3
  59. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/task-view.d.cts +4 -4
  60. package/dist/lib/cjs/obsidian/@types/Dataview/util/media.d.cts +1 -1
  61. package/dist/lib/cjs/obsidian/@types/Dataview/util/normalize.d.cts +2 -2
  62. package/dist/lib/cjs/obsidian/AttachmentPath.d.cts +1 -1
  63. package/dist/lib/cjs/obsidian/Backlink.d.cts +2 -2
  64. package/dist/lib/cjs/obsidian/Callout.d.cts +2 -2
  65. package/dist/lib/cjs/obsidian/Components/DateComponent.d.cts +1 -1
  66. package/dist/lib/cjs/obsidian/Components/DateTimeComponent.d.cts +1 -1
  67. package/dist/lib/cjs/obsidian/Components/EmailComponent.d.cts +1 -1
  68. package/dist/lib/cjs/obsidian/Components/FileComponent.d.cts +1 -1
  69. package/dist/lib/cjs/obsidian/Components/MonthComponent.d.cts +1 -1
  70. package/dist/lib/cjs/obsidian/Components/MultipleDropdownComponent.d.cts +4 -4
  71. package/dist/lib/cjs/obsidian/Components/MultipleEmailComponent.d.cts +1 -1
  72. package/dist/lib/cjs/obsidian/Components/MultipleFileComponent.d.cts +1 -1
  73. package/dist/lib/cjs/obsidian/Components/MultipleTextComponent.d.cts +4 -4
  74. package/dist/lib/cjs/obsidian/Components/NumberComponent.d.cts +1 -1
  75. package/dist/lib/cjs/obsidian/Components/TimeComponent.d.cts +1 -1
  76. package/dist/lib/cjs/obsidian/Components/TypedRangeTextComponent.d.cts +1 -1
  77. package/dist/lib/cjs/obsidian/Components/TypedTextComponent.d.cts +5 -5
  78. package/dist/lib/cjs/obsidian/Components/UrlComponent.d.cts +1 -1
  79. package/dist/lib/cjs/obsidian/Components/ValidatorComponent.d.cts +1 -1
  80. package/dist/lib/cjs/obsidian/Components/ValueComponentWithChangeTracking.d.cts +1 -1
  81. package/dist/lib/cjs/obsidian/Components/WeekComponent.d.cts +1 -1
  82. package/dist/lib/cjs/obsidian/Components/index.d.cts +17 -17
  83. package/dist/lib/cjs/obsidian/Dataview.d.cts +6 -6
  84. package/dist/lib/cjs/obsidian/DataviewLink.d.cts +2 -2
  85. package/dist/lib/cjs/obsidian/FileChange.d.cts +3 -3
  86. package/dist/lib/cjs/obsidian/FileManager.d.cts +4 -4
  87. package/dist/lib/cjs/obsidian/Link.d.cts +3 -3
  88. package/dist/lib/cjs/obsidian/Logger.d.cts +1 -1
  89. package/dist/lib/cjs/obsidian/Loop.d.cts +1 -1
  90. package/dist/lib/cjs/obsidian/MarkdownCodeBlockProcessor.d.cts +1 -1
  91. package/dist/lib/cjs/obsidian/MetadataCache.d.cts +3 -3
  92. package/dist/lib/cjs/obsidian/Modals/ModalBase.d.cts +1 -1
  93. package/dist/lib/cjs/obsidian/Modals/Prompt.d.cts +1 -1
  94. package/dist/lib/cjs/obsidian/Modals/index.d.cts +5 -5
  95. package/dist/lib/cjs/obsidian/Plugin/EmptySettings.d.cts +1 -1
  96. package/dist/lib/cjs/obsidian/Plugin/PluginBase.d.cts +3 -3
  97. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsBase.d.cts +1 -1
  98. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.d.cts +5 -5
  99. package/dist/lib/cjs/obsidian/Plugin/index.d.cts +8 -8
  100. package/dist/lib/cjs/obsidian/Queue.d.cts +1 -1
  101. package/dist/lib/cjs/obsidian/Reference.d.cts +1 -1
  102. package/dist/lib/cjs/obsidian/SettingEx.d.cts +13 -13
  103. package/dist/lib/cjs/obsidian/Vault.d.cts +3 -3
  104. package/dist/lib/cjs/obsidian/VaultEx.d.cts +1 -1
  105. package/dist/lib/cjs/obsidian/index.d.cts +29 -29
  106. package/dist/lib/esm/@types/debug.d.mts +16 -1
  107. package/dist/lib/esm/Async.d.mts +153 -1
  108. package/dist/lib/esm/Blob.d.mts +40 -1
  109. package/dist/lib/esm/CssClass.d.mts +97 -1
  110. package/dist/lib/esm/Debug.d.mts +41 -1
  111. package/dist/lib/esm/DebugController.d.mts +85 -1
  112. package/dist/lib/esm/Enum.d.mts +20 -1
  113. package/dist/lib/esm/Error.d.mts +45 -1
  114. package/dist/lib/esm/Function.d.mts +28 -1
  115. package/dist/lib/esm/HTMLElement.d.mts +49 -1
  116. package/dist/lib/esm/Library.d.mts +16 -1
  117. package/dist/lib/esm/Library.mjs +1 -1
  118. package/dist/lib/esm/Object.d.mts +211 -1
  119. package/dist/lib/esm/Path.d.mts +133 -1
  120. package/dist/lib/esm/RegExp.d.mts +18 -1
  121. package/dist/lib/esm/ScriptUtils/CliUtils.d.mts +70 -1
  122. package/dist/lib/esm/ScriptUtils/CodeGenerator.d.mts +12 -1
  123. package/dist/lib/esm/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.mts +13 -1
  124. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.mts +13 -1
  125. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.mts +13 -1
  126. package/dist/lib/esm/ScriptUtils/ESLint/ESLint.d.mts +13 -1
  127. package/dist/lib/esm/ScriptUtils/ESLint/eslint.config.d.mts +16 -1
  128. package/dist/lib/esm/ScriptUtils/ESLint/index.d.mts +2 -1
  129. package/dist/lib/esm/ScriptUtils/Exec.d.mts +83 -1
  130. package/dist/lib/esm/ScriptUtils/Fs.d.mts +72 -1
  131. package/dist/lib/esm/ScriptUtils/JSON.d.mts +64 -1
  132. package/dist/lib/esm/ScriptUtils/NodeModules.d.mts +14 -1
  133. package/dist/lib/esm/ScriptUtils/Npm.d.mts +151 -1
  134. package/dist/lib/esm/ScriptUtils/NpmPublish.d.mts +9 -1
  135. package/dist/lib/esm/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +106 -1
  136. package/dist/lib/esm/ScriptUtils/Root.d.mts +67 -1
  137. package/dist/lib/esm/ScriptUtils/build.d.mts +41 -1
  138. package/dist/lib/esm/ScriptUtils/cli.d.mts +14 -1
  139. package/dist/lib/esm/ScriptUtils/esbuild/Dependency.d.mts +18 -1
  140. package/dist/lib/esm/ScriptUtils/esbuild/ObsidianPluginBuilder.d.mts +53 -1
  141. package/dist/lib/esm/ScriptUtils/esbuild/changeExtensionPlugin.d.mts +12 -1
  142. package/dist/lib/esm/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.mts +18 -1
  143. package/dist/lib/esm/ScriptUtils/esbuild/fixEsmPlugin.d.mts +11 -1
  144. package/dist/lib/esm/ScriptUtils/esbuild/fixSourceMapsPlugin.d.mts +17 -1
  145. package/dist/lib/esm/ScriptUtils/esbuild/index.d.mts +9 -1
  146. package/dist/lib/esm/ScriptUtils/esbuild/preprocessPlugin.d.mts +23 -1
  147. package/dist/lib/esm/ScriptUtils/esbuild/renameCssPlugin.d.mts +8 -1
  148. package/dist/lib/esm/ScriptUtils/esbuild/svelteWrapperPlugin.d.mts +8 -1
  149. package/dist/lib/esm/ScriptUtils/format.d.mts +10 -1
  150. package/dist/lib/esm/ScriptUtils/index.d.mts +17 -1
  151. package/dist/lib/esm/ScriptUtils/spellcheck.d.mts +14 -1
  152. package/dist/lib/esm/ScriptUtils/version.d.mts +171 -1
  153. package/dist/lib/esm/String.d.mts +138 -1
  154. package/dist/lib/esm/Transformers/DateTransformer.d.mts +35 -1
  155. package/dist/lib/esm/Transformers/DurationTransformer.d.mts +34 -1
  156. package/dist/lib/esm/Transformers/GroupTransformer.d.mts +65 -1
  157. package/dist/lib/esm/Transformers/SkipPrivatePropertyTransformer.d.mts +32 -1
  158. package/dist/lib/esm/Transformers/Transformer.d.mts +67 -1
  159. package/dist/lib/esm/Transformers/TypedTransformer.d.mts +37 -1
  160. package/dist/lib/esm/Transformers/index.d.mts +6 -1
  161. package/dist/lib/esm/ValueProvider.d.mts +22 -1
  162. package/dist/lib/esm/codemirror/StateFieldSpec.d.mts +68 -1
  163. package/dist/lib/esm/codemirror/index.d.mts +1 -1
  164. package/dist/lib/esm/index.d.mts +20 -1
  165. package/dist/lib/esm/obsidian/@types/Dataview/api/data-array.d.mts +136 -1
  166. package/dist/lib/esm/obsidian/@types/Dataview/api/extensions.d.mts +15 -1
  167. package/dist/lib/esm/obsidian/@types/Dataview/api/inline-api.d.mts +186 -1
  168. package/dist/lib/esm/obsidian/@types/Dataview/api/plugin-api.d.mts +209 -1
  169. package/dist/lib/esm/obsidian/@types/Dataview/api/result.d.mts +38 -1
  170. package/dist/lib/esm/obsidian/@types/Dataview/data-import/common.d.mts +3 -1
  171. package/dist/lib/esm/obsidian/@types/Dataview/data-import/csv.d.mts +3 -1
  172. package/dist/lib/esm/obsidian/@types/Dataview/data-import/inline-field.d.mts +42 -1
  173. package/dist/lib/esm/obsidian/@types/Dataview/data-import/markdown-file.d.mts +52 -1
  174. package/dist/lib/esm/obsidian/@types/Dataview/data-import/persister.d.mts +32 -1
  175. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-entry.d.mts +1 -1
  176. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.mts +6 -1
  177. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.mts +37 -1
  178. package/dist/lib/esm/obsidian/@types/Dataview/data-index/index.d.mts +186 -1
  179. package/dist/lib/esm/obsidian/@types/Dataview/data-index/resolver.d.mts +23 -1
  180. package/dist/lib/esm/obsidian/@types/Dataview/data-index/source.d.mts +71 -1
  181. package/dist/lib/esm/obsidian/@types/Dataview/data-model/markdown.d.mts +115 -1
  182. package/dist/lib/esm/obsidian/@types/Dataview/data-model/serialized/markdown.d.mts +106 -1
  183. package/dist/lib/esm/obsidian/@types/Dataview/data-model/transferable.d.mts +7 -1
  184. package/dist/lib/esm/obsidian/@types/Dataview/data-model/value.d.mts +175 -1
  185. package/dist/lib/esm/obsidian/@types/Dataview/expression/binaryop.d.mts +43 -1
  186. package/dist/lib/esm/obsidian/@types/Dataview/expression/context.d.mts +49 -1
  187. package/dist/lib/esm/obsidian/@types/Dataview/expression/field.d.mts +82 -1
  188. package/dist/lib/esm/obsidian/@types/Dataview/expression/functions.d.mts +149 -1
  189. package/dist/lib/esm/obsidian/@types/Dataview/expression/parse.d.mts +163 -1
  190. package/dist/lib/esm/obsidian/@types/Dataview/index.d.mts +55 -1
  191. package/dist/lib/esm/obsidian/@types/Dataview/main.d.mts +52 -1
  192. package/dist/lib/esm/obsidian/@types/Dataview/query/engine.d.mts +103 -1
  193. package/dist/lib/esm/obsidian/@types/Dataview/query/parse.d.mts +44 -1
  194. package/dist/lib/esm/obsidian/@types/Dataview/query/query.d.mts +95 -1
  195. package/dist/lib/esm/obsidian/@types/Dataview/settings.d.mts +60 -1
  196. package/dist/lib/esm/obsidian/@types/Dataview/typings/obsidian-ex.d.mts +28 -1
  197. package/dist/lib/esm/obsidian/@types/Dataview/typings/workers.d.mts +4 -1
  198. package/dist/lib/esm/obsidian/@types/Dataview/ui/export/markdown.d.mts +15 -1
  199. package/dist/lib/esm/obsidian/@types/Dataview/ui/lp-render.d.mts +37 -1
  200. package/dist/lib/esm/obsidian/@types/Dataview/ui/markdown.d.mts +86 -1
  201. package/dist/lib/esm/obsidian/@types/Dataview/ui/refreshable-view.d.mts +18 -1
  202. package/dist/lib/esm/obsidian/@types/Dataview/ui/render.d.mts +33 -1
  203. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/calendar-view.d.mts +17 -1
  204. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.mts +42 -1
  205. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-view.d.mts +28 -1
  206. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/js-view.d.mts +23 -1
  207. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/list-view.d.mts +25 -1
  208. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/table-view.d.mts +28 -1
  209. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/task-view.d.mts +51 -1
  210. package/dist/lib/esm/obsidian/@types/Dataview/util/hash.d.mts +1 -1
  211. package/dist/lib/esm/obsidian/@types/Dataview/util/locale.d.mts +2 -1
  212. package/dist/lib/esm/obsidian/@types/Dataview/util/media.d.mts +6 -1
  213. package/dist/lib/esm/obsidian/@types/Dataview/util/normalize.d.mts +44 -1
  214. package/dist/lib/esm/obsidian/App.d.mts +30 -1
  215. package/dist/lib/esm/obsidian/AttachmentPath.d.mts +54 -1
  216. package/dist/lib/esm/obsidian/Backlink.d.mts +60 -1
  217. package/dist/lib/esm/obsidian/Callout.d.mts +55 -1
  218. package/dist/lib/esm/obsidian/Components/DateComponent.d.mts +36 -1
  219. package/dist/lib/esm/obsidian/Components/DateTimeComponent.d.mts +36 -1
  220. package/dist/lib/esm/obsidian/Components/EmailComponent.d.mts +29 -1
  221. package/dist/lib/esm/obsidian/Components/FileComponent.d.mts +41 -1
  222. package/dist/lib/esm/obsidian/Components/MonthComponent.d.mts +49 -1
  223. package/dist/lib/esm/obsidian/Components/MultipleDropdownComponent.d.mts +73 -1
  224. package/dist/lib/esm/obsidian/Components/MultipleEmailComponent.d.mts +36 -1
  225. package/dist/lib/esm/obsidian/Components/MultipleFileComponent.d.mts +41 -1
  226. package/dist/lib/esm/obsidian/Components/MultipleTextComponent.d.mts +67 -1
  227. package/dist/lib/esm/obsidian/Components/NumberComponent.d.mts +29 -1
  228. package/dist/lib/esm/obsidian/Components/TimeComponent.d.mts +37 -1
  229. package/dist/lib/esm/obsidian/Components/TypedRangeTextComponent.d.mts +31 -1
  230. package/dist/lib/esm/obsidian/Components/TypedTextComponent.d.mts +84 -1
  231. package/dist/lib/esm/obsidian/Components/UrlComponent.d.mts +29 -1
  232. package/dist/lib/esm/obsidian/Components/ValidatorComponent.d.mts +22 -1
  233. package/dist/lib/esm/obsidian/Components/ValueComponentWithChangeTracking.d.mts +17 -1
  234. package/dist/lib/esm/obsidian/Components/WeekComponent.d.mts +49 -1
  235. package/dist/lib/esm/obsidian/Components/index.d.mts +17 -1
  236. package/dist/lib/esm/obsidian/Dataview.d.mts +215 -1
  237. package/dist/lib/esm/obsidian/DataviewLink.d.mts +23 -1
  238. package/dist/lib/esm/obsidian/FileChange.d.mts +68 -1
  239. package/dist/lib/esm/obsidian/FileManager.d.mts +38 -1
  240. package/dist/lib/esm/obsidian/FileSystem.d.mts +185 -1
  241. package/dist/lib/esm/obsidian/Frontmatter.d.mts +69 -1
  242. package/dist/lib/esm/obsidian/Link.d.mts +366 -1
  243. package/dist/lib/esm/obsidian/Logger.d.mts +13 -1
  244. package/dist/lib/esm/obsidian/Loop.d.mts +36 -1
  245. package/dist/lib/esm/obsidian/Markdown.d.mts +24 -1
  246. package/dist/lib/esm/obsidian/MarkdownCodeBlockProcessor.d.mts +23 -1
  247. package/dist/lib/esm/obsidian/MarkdownView.d.mts +12 -1
  248. package/dist/lib/esm/obsidian/MetadataCache.d.mts +87 -1
  249. package/dist/lib/esm/obsidian/Modals/Alert.d.mts +39 -1
  250. package/dist/lib/esm/obsidian/Modals/Confirm.d.mts +43 -1
  251. package/dist/lib/esm/obsidian/Modals/ModalBase.d.mts +35 -1
  252. package/dist/lib/esm/obsidian/Modals/Prompt.d.mts +50 -1
  253. package/dist/lib/esm/obsidian/Modals/SelectItem.d.mts +41 -1
  254. package/dist/lib/esm/obsidian/Modals/index.d.mts +5 -1
  255. package/dist/lib/esm/obsidian/ObsidianSettings.d.mts +17 -1
  256. package/dist/lib/esm/obsidian/Pdf.d.mts +24 -1
  257. package/dist/lib/esm/obsidian/Plugin/EmptySettings.d.mts +14 -1
  258. package/dist/lib/esm/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +53 -1
  259. package/dist/lib/esm/obsidian/Plugin/Plugin.d.mts +21 -1
  260. package/dist/lib/esm/obsidian/Plugin/PluginBase.d.mts +108 -1
  261. package/dist/lib/esm/obsidian/Plugin/PluginContext.d.mts +12 -1
  262. package/dist/lib/esm/obsidian/Plugin/PluginId.d.mts +20 -1
  263. package/dist/lib/esm/obsidian/Plugin/PluginSettingsBase.d.mts +31 -1
  264. package/dist/lib/esm/obsidian/Plugin/PluginSettingsTabBase.d.mts +99 -1
  265. package/dist/lib/esm/obsidian/Plugin/index.d.mts +8 -1
  266. package/dist/lib/esm/obsidian/Queue.d.mts +30 -1
  267. package/dist/lib/esm/obsidian/Reference.d.mts +21 -1
  268. package/dist/lib/esm/obsidian/RenameDeleteHandler.d.mts +49 -1
  269. package/dist/lib/esm/obsidian/ResourceUrl.d.mts +14 -1
  270. package/dist/lib/esm/obsidian/SettingEx.d.mts +124 -1
  271. package/dist/lib/esm/obsidian/Vault.d.mts +130 -1
  272. package/dist/lib/esm/obsidian/VaultEx.d.mts +27 -1
  273. package/dist/lib/esm/obsidian/index.d.mts +29 -1
  274. package/dist/lib/esm/url.d.mts +11 -1
  275. package/package.json +1 -1
@@ -1 +1,97 @@
1
- export * from '../cjs/CssClass.cjs';
1
+ /**
2
+ * @packageDocumentation CssClass
3
+ * CSS classes used by the `obsidian-dev-utils` library.
4
+ */
5
+ /**
6
+ * CSS classes used by the `obsidian-dev-utils` library.
7
+ */
8
+ export declare enum CssClass {
9
+ /**
10
+ * The CSS class for the alert modal.
11
+ */
12
+ AlertModal = "alert-modal",
13
+ /**
14
+ * The CSS class for the cancel button.
15
+ */
16
+ CancelButton = "cancel-button",
17
+ /**
18
+ * The CSS class for the confirm modal.
19
+ */
20
+ ConfirmModal = "confirm-modal",
21
+ /**
22
+ * The CSS class for the date component.
23
+ */
24
+ DateComponent = "date-component",
25
+ /**
26
+ * The CSS class for the date and time component.
27
+ */
28
+ DateTimeComponent = "datetime-component",
29
+ /**
30
+ * The CSS class for the email component.
31
+ */
32
+ EmailComponent = "email-component",
33
+ /**
34
+ * The CSS class for the file component.
35
+ */
36
+ FileComponent = "file-component",
37
+ /**
38
+ * The CSS class for the library name.
39
+ */
40
+ LibraryName = "obsidian-dev-utils",
41
+ /**
42
+ * The CSS class for the month component.
43
+ */
44
+ MonthComponent = "month-component",
45
+ /**
46
+ * The CSS class for the multiple dropdown component.
47
+ */
48
+ MultipleDropdownComponent = "multiple-dropdown-component",
49
+ /**
50
+ * The CSS class for the multiple email component.
51
+ */
52
+ MultipleEmailComponent = "multiple-email-component",
53
+ /**
54
+ * The CSS class for the multiple file component.
55
+ */
56
+ MultipleFileComponent = "multiple-file-component",
57
+ /**
58
+ * The CSS class for the multiple text component.
59
+ */
60
+ MultipleTextComponent = "multiple-text-component",
61
+ /**
62
+ * The CSS class for the number component.
63
+ */
64
+ NumberComponent = "number-component",
65
+ /**
66
+ * The CSS class for the ok button.
67
+ */
68
+ OkButton = "ok-button",
69
+ /**
70
+ * The CSS class for the plugin settings tab.
71
+ */
72
+ PluginSettingsTab = "plugin-settings-tab",
73
+ /**
74
+ * The CSS class for the prompt modal.
75
+ */
76
+ PromptModal = "prompt-modal",
77
+ /**
78
+ * The CSS class for the select item modal.
79
+ */
80
+ SelectItemModal = "select-item-modal",
81
+ /**
82
+ * The CSS class for the text box.
83
+ */
84
+ TextBox = "text-box",
85
+ /**
86
+ * The CSS class for the time component.
87
+ */
88
+ TimeComponent = "time-component",
89
+ /**
90
+ * The CSS class for the url component.
91
+ */
92
+ UrlComponent = "url-component",
93
+ /**
94
+ * The CSS class for the week component.
95
+ */
96
+ WeekComponent = "week-component"
97
+ }
@@ -1 +1,41 @@
1
- export * from '../cjs/Debug.cjs';
1
+ /**
2
+ * @packageDocumentation Debug
3
+ * Contains utility functions for debugging.
4
+ */
5
+ import type { Debugger } from 'debug';
6
+ import type { DebugController } from './DebugController.d.mts';
7
+ interface DebuggerEx extends Debugger {
8
+ printStackTrace(stackTrace: string, title?: string): void;
9
+ }
10
+ /**
11
+ * Enables the debuggers for the `obsidian-dev-utils` library.
12
+ */
13
+ export declare function enableLibraryDebuggers(): void;
14
+ /**
15
+ * Returns a debug controller.
16
+ *
17
+ * @returns A debug controller.
18
+ */
19
+ export declare function getDebugController(): DebugController;
20
+ /**
21
+ * Returns a debugger instance with a log function that includes the caller's file name and line number.
22
+ *
23
+ * @param namespace - The namespace for the debugger instance.
24
+ * @param framesToSkip - The number of frames to skip in the stack trace.
25
+ * @returns A debugger instance with a log function that includes the caller's file name and line number.
26
+ */
27
+ export declare function getDebugger(namespace: string, framesToSkip?: number): DebuggerEx;
28
+ /**
29
+ * Returns a debugger instance for the `obsidian-dev-utils` library.
30
+ *
31
+ * @param namespace - The namespace for the debugger instance.
32
+ * @returns A debugger instance for the `obsidian-dev-utils` library.
33
+ */
34
+ export declare function getLibDebugger(namespace: string): DebuggerEx;
35
+ /**
36
+ * Shows an initial debug message.
37
+ *
38
+ * @param pluginId - The plugin ID.
39
+ */
40
+ export declare function showInitialDebugMessage(pluginId: string): void;
41
+ export {};
@@ -1 +1,85 @@
1
- export * from '../cjs/DebugController.cjs';
1
+ /**
2
+ * @packageDocumentation
3
+ * Provides the interface for controlling debug output through namespace management.
4
+ *
5
+ * Debug namespaces follow the pattern 'lorem', `lorem:ipsum`, `lorem:ipsum:dolor`, etc, and can use wildcards (`*`).
6
+ *
7
+ * @example
8
+ * - `lorem:*` matches all submodules of 'lorem'
9
+ * - `*:ipsum` matches all plugins' `ipsum` submodules
10
+ * - `*` matches everything
11
+ *
12
+ * Special syntax:
13
+ * - Namespaces prefixed with '-' are explicitly disabled
14
+ * - Multiple namespaces can be combined with commas: `lorem,-lorem:ipsum,dolor:*`
15
+ *
16
+ * @see {@link https://github.com/mnaoumov/obsidian-dev-utils/?tab=readme-ov-file#debugging}
17
+ */
18
+ /**
19
+ * Controls debug output by managing debug namespaces.
20
+ * Exposed globally as `window.DEBUG`.
21
+ *
22
+ * @remarks
23
+ * Debug settings persist across plugin reloads in localStorage.
24
+ */
25
+ export interface DebugController {
26
+ /**
27
+ * Disable specific debug namespaces. Disabled namespaces take precedence
28
+ * over enabled ones when there's a conflict.
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * window.DEBUG.disable('foo-bar'); // hide all debug messages from the `foo-bar` plugin
33
+ * window.DEBUG.disable('foo-bar:*'); // hide all debug messages from the `foo-bar` plugin submodules
34
+ * window.DEBUG.disable(['foo-bar', 'baz-qux']); // disable multiple namespaces
35
+ * window.DEBUG.disable('foo-bar,baz-qux'); // disable multiple namespaces using comma-separated string
36
+ * window.DEBUG.disable('*'); // disable all debug messages
37
+ * ```
38
+ *
39
+ * @param namespaces - Single namespace string or array of namespace strings to disable
40
+ */
41
+ disable(namespaces: string | string[]): void;
42
+ /**
43
+ * Enable specific debug namespaces. Note that explicitly disabled
44
+ * namespaces (prefixed with '-') will remain disabled.
45
+ *
46
+ * @example
47
+ * ```typescript
48
+ * window.DEBUG.enable('foo-bar'); // show all debug messages from the `foo-bar` plugin
49
+ * window.DEBUG.enable('foo-bar:obsidian-dev-utils:*'); // show all debug messages from the `obsidian-dev-utils` library within the `foo-bar` plugin
50
+ * window.DEBUG.enable('foo-bar:*'); // show all debug messages from the `foo-bar` plugin and its submodules
51
+ * window.DEBUG.enable('*:obsidian-dev-utils:*'); // show all debug messages for the `obsidian-dev-utils` library within any plugin
52
+ * window.DEBUG.enable(['foo-bar', 'baz-qux']); // enable multiple namespaces
53
+ * window.DEBUG.enable('foo-bar,baz-qux'); // enable multiple namespaces using comma-separated string
54
+ * window.DEBUG.enable('*'); // show all debug messages
55
+ * ```
56
+ *
57
+ * @param namespaces - Single namespace string or array of namespace strings to enable
58
+ */
59
+ enable(namespaces: string | string[]): void;
60
+ /**
61
+ * Get currently configured debug namespaces.
62
+ *
63
+ * @example
64
+ * ```typescript
65
+ * window.DEBUG.get(); // returns ['foo-bar', 'baz-qux:*', '-lorem-ipsum']
66
+ * ```
67
+ *
68
+ * @returns Array of enabled and disabled (prefixed with `-`) debug namespaces
69
+ */
70
+ get(): string[];
71
+ /**
72
+ * Set debug namespaces, replacing all previous configurations.
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * window.DEBUG.set(['foo-bar', 'baz-qux:*', '-lorem-ipsum']); // Enable 'foo-bar' and 'baz-qux:*', explicitly disable 'lorem-ipsum'
77
+ * window.DEBUG.set('foo-bar,baz-qux:*,-lorem-ipsum'); // Same thing using comma-separated string
78
+ * window.DEBUG.set('*'); // Enable all debug messages
79
+ * window.DEBUG.set(''); // Disable all debug messages
80
+ * ```
81
+ *
82
+ * @param namespaces - String or array of namespace patterns
83
+ */
84
+ set(namespaces: string | string[]): void;
85
+ }
@@ -1 +1,20 @@
1
- export * from '../cjs/Enum.cjs';
1
+ /**
2
+ * @packageDocumentation Enum
3
+ * Contains utility functions for enums.
4
+ */
5
+ /**
6
+ * Get the key of an enum value.
7
+ *
8
+ * @param enumType - The enum type.
9
+ * @param value - The value to get the key of.
10
+ * @returns The key of the enum value.
11
+ */
12
+ export declare function getEnumKey<T extends Record<string, string>>(enumType: T, value: T[keyof T]): keyof T;
13
+ /**
14
+ * Get the value of an enum key.
15
+ *
16
+ * @param enumType - The enum type.
17
+ * @param key - The key to get the value of.
18
+ * @returns The value of the enum key.
19
+ */
20
+ export declare function getEnumValue<T extends Record<string, string>>(enumType: T, key: string): T[keyof T];
@@ -1 +1,45 @@
1
- export * from '../cjs/Error.cjs';
1
+ /**
2
+ * @packageDocumentation Error
3
+ * Contains utility functions for error handling.
4
+ */
5
+ /**
6
+ * Emits an asynchronous error event.
7
+ *
8
+ * @param asyncError - The error to emit as an asynchronous error event.
9
+ */
10
+ export declare function emitAsyncErrorEvent(asyncError: unknown): void;
11
+ /**
12
+ * Converts an error to a string representation, including nested causes with indentation.
13
+ *
14
+ * @param error - The error to convert to a string.
15
+ * @returns The string representation of the error.
16
+ */
17
+ export declare function errorToString(error: unknown): string;
18
+ /**
19
+ * Gets the current stack trace as a string, excluding the current function call.
20
+ *
21
+ * @param framesToSkip - The number of frames to skip in the stack trace.
22
+ * @returns A string representation of the current stack trace, excluding the current function call.
23
+ */
24
+ export declare function getStackTrace(framesToSkip?: number): string;
25
+ /**
26
+ * Prints an error to the console, including nested causes and optional ANSI sequence clearing.
27
+ *
28
+ * @param error - The error to print.
29
+ * @param console - The console to print to (default: `globalThis.console`).
30
+ */
31
+ export declare function printError(error: unknown, console?: Console): void;
32
+ /**
33
+ * Registers an event handler for asynchronous errors.
34
+ *
35
+ * @param handler - The handler function to be called when an asynchronous error event occurs.
36
+ * @returns A function to unregister the handler.
37
+ */
38
+ export declare function registerAsyncErrorEventHandler(handler: (asyncError: unknown) => void): () => void;
39
+ /**
40
+ * Throws an error with the specified message.
41
+ *
42
+ * @param error - The error to throw.
43
+ * @returns A never-returning function.
44
+ */
45
+ export declare function throwExpression(error: unknown): never;
@@ -1 +1,28 @@
1
- export * from '../cjs/Function.cjs';
1
+ /**
2
+ * @packageDocumentation Function
3
+ * Contains utility functions for working with functions.
4
+ */
5
+ /**
6
+ * A function that does nothing.
7
+ */
8
+ export declare function noop(): void;
9
+ /**
10
+ * A function that does nothing.
11
+ */
12
+ export declare function noopAsync(): Promise<void>;
13
+ /**
14
+ * Makes an async function that calls the original async function with the provided arguments and omits the return value.
15
+ *
16
+ * @typeParam Args - Arguments to be passed to the function.
17
+ * @param fn - Function to be called.
18
+ * @returns An async function that calls the original function with the provided arguments and omits the return value.
19
+ */
20
+ export declare function omitAsyncReturnType<Args extends unknown[]>(fn: (...args: Args) => Promise<unknown>): (...args: Args) => Promise<void>;
21
+ /**
22
+ * Makes a function that calls the original function with the provided arguments and omits the return value.
23
+ *
24
+ * @typeParam Args - Arguments to be passed to the function.
25
+ * @param fn - Function to be called.
26
+ * @returns A function that calls the original function with the provided arguments and omits the return value.
27
+ */
28
+ export declare function omitReturnType<Args extends unknown[]>(fn: (...args: Args) => unknown): (...args: Args) => void;
@@ -1 +1,49 @@
1
- export * from '../cjs/HTMLElement.cjs';
1
+ /**
2
+ * @packageDocumentation HTMLElement
3
+ * Helpers for working with HTML elements.
4
+ */
5
+ /**
6
+ * A HTML element that can be validated.
7
+ */
8
+ export interface ValidatorElement extends HTMLElement {
9
+ /**
10
+ * Checks the validity of the element.
11
+ *
12
+ * @returns True if the element is valid, false otherwise.
13
+ */
14
+ checkValidity(): boolean;
15
+ /**
16
+ * Reports the validity of the element.
17
+ */
18
+ reportValidity(): boolean;
19
+ /**
20
+ * Sets a custom error message on the element.
21
+ * @param error - The error message to set on the element.
22
+ */
23
+ setCustomValidity(error: string): void;
24
+ /**
25
+ * The error message of the element.
26
+ */
27
+ readonly validationMessage: string;
28
+ }
29
+ /**
30
+ * Appends a code block to the given DocumentFragment or HTMLElement.
31
+ *
32
+ * @param el - The DocumentFragment or HTMLElement to append the code block to.
33
+ * @param code - The code to be displayed in the code block.
34
+ */
35
+ export declare function appendCodeBlock(el: DocumentFragment | HTMLElement, code: string): void;
36
+ /**
37
+ * Ensures that the given element is loaded.
38
+ *
39
+ * @param el - The element to ensure is loaded.
40
+ * @returns A promise that resolves when the element is loaded.
41
+ */
42
+ export declare function ensureLoaded(el: Element): Promise<void>;
43
+ /**
44
+ * Checks if the element is loaded.
45
+ *
46
+ * @param el - The element to check.
47
+ * @returns True if the element is loaded, false otherwise.
48
+ */
49
+ export declare function isLoaded(el: Element): boolean;
@@ -1 +1,16 @@
1
- export * from '../cjs/Library.cjs';
1
+ /**
2
+ * @packageDocumentation Library
3
+ * Helpers for working with the `obsidian-dev-utils` library.
4
+ */
5
+ /**
6
+ * The version of the `obsidian-dev-utils` library.
7
+ */
8
+ export declare const LIBRARY_VERSION = "$(LIBRARY_VERSION)";
9
+ /**
10
+ * The name of the `obsidian-dev-utils` library.
11
+ */
12
+ export declare const LIBRARY_NAME = "obsidian-dev-utils";
13
+ /**
14
+ * The styles of the `obsidian-dev-utils` library.
15
+ */
16
+ export declare const LIBRARY_STYLES = "$(LIBRARY_STYLES)";
@@ -5,7 +5,7 @@ if you want to view the source, please visit the github repository of this plugi
5
5
 
6
6
  (function initEsm(){if(globalThis.process){return}const browserProcess={browser:true,cwd:__name(()=>"/","cwd"),env:{},platform:"android"};globalThis.process=browserProcess})();
7
7
 
8
- const LIBRARY_VERSION = "19.1.2-beta.2";
8
+ const LIBRARY_VERSION = "19.1.2-beta.3";
9
9
  const LIBRARY_NAME = "obsidian-dev-utils";
10
10
  const LIBRARY_STYLES = ".obsidian-dev-utils :invalid {\n box-shadow: 0 0 0 2px var(--text-error);\n}\n.obsidian-dev-utils.modal-container .ok-button {\n margin-right: 10px;\n margin-top: 20px;\n}\n.obsidian-dev-utils .multiple-dropdown-component select,\n.obsidian-dev-utils .multiple-dropdown-component select:focus,\n.obsidian-dev-utils .multiple-dropdown-component .dropdown {\n height: auto;\n}\n.obsidian-dev-utils .multiple-dropdown-component select option:checked,\n.obsidian-dev-utils .multiple-dropdown-component select:focus option:checked,\n.obsidian-dev-utils .multiple-dropdown-component .dropdown option:checked {\n background-color: #1967d2;\n color: #fff;\n}\n.obsidian-dev-utils.prompt-modal .text-box {\n width: 100%;\n}\n\n/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22../src/styles/main.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AACE;EACE;;AAIA;EACE;EACA;;AAKF;AAAA;AAAA;EAGE;;AAEA;AAAA;AAAA;EACE;EACA;;AAMJ;EACE%22,%22file%22:%22styles.css%22,%22sourcesContent%22:%5B%22.obsidian-dev-utils%20%7B%5Cn%20%20:invalid%20%7B%5Cn%20%20%20%20box-shadow:%200%200%200%202px%20var(--text-error);%5Cn%20%20%7D%5Cn%5Cn%20%20&.modal-container%20%7B%5Cn%20%20%20%20.ok-button%20%7B%5Cn%20%20%20%20%20%20margin-right:%2010px;%5Cn%20%20%20%20%20%20margin-top:%2020px;%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%5Cn%20%20.multiple-dropdown-component%20%7B%5Cn%20%20%20%20select,%5Cn%20%20%20%20select:focus,%5Cn%20%20%20%20.dropdown%20%7B%5Cn%20%20%20%20%20%20height:%20auto;%5Cn%5Cn%20%20%20%20%20%20option:checked%20%7B%5Cn%20%20%20%20%20%20%20%20background-color:%20%231967d2;%5Cn%20%20%20%20%20%20%20%20color:%20%23fff;%5Cn%20%20%20%20%20%20%7D%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%5Cn%20%20&.prompt-modal%20%7B%5Cn%20%20%20%20.text-box%20%7B%5Cn%20%20%20%20%20%20width:%20100%25;%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%5Cn%22%5D%7D */\n";
11
11
  export {
@@ -1 +1,211 @@
1
- export * from '../cjs/Object.cjs';
1
+ /**
2
+ * @packageDocumentation Object
3
+ * Contains utility functions for Objects.
4
+ */
5
+ import type { UndefinedOnPartialDeep } from 'type-fest';
6
+ /**
7
+ * Specifies how functions should be handled in the JSON output.
8
+ */
9
+ export declare enum FunctionHandlingMode {
10
+ /**
11
+ * Excludes functions from the JSON output.
12
+ */
13
+ Exclude = "exclude",
14
+ /**
15
+ * Includes the full function definition in the JSON output.
16
+ */
17
+ Full = "full",
18
+ /**
19
+ * Includes only the function name in the JSON output.
20
+ */
21
+ NameOnly = "nameOnly"
22
+ }
23
+ /**
24
+ * Represents a constructor type for a given class `T` with arguments `Args`.
25
+ *
26
+ * @typeParam Type - The type of the instance being constructed.
27
+ * @typeParam Args - The types of arguments the constructor accepts.
28
+ */
29
+ export type Constructor<Type, Args extends unknown[] = []> = new (...args: Args) => Type;
30
+ /**
31
+ * Extracts the keys of a given type `Type` that match a specific value type `Value`.
32
+ *
33
+ * @typeParam Type - The type from which to extract the keys.
34
+ * @typeParam Value - The value type to match against.
35
+ */
36
+ export type KeysMatching<Type, Value> = {
37
+ [Key in keyof Type]-?: Type[Key] extends Value ? Key : never;
38
+ }[keyof Type];
39
+ /**
40
+ * Options for converting an object to JSON.
41
+ */
42
+ export interface ToJsonOptions {
43
+ /**
44
+ * Specifies how functions should be handled in the JSON output (default: `exclude`).
45
+ */
46
+ functionHandlingMode: FunctionHandlingMode;
47
+ /**
48
+ * Specifies the maximum depth of nested objects to include in the JSON output.
49
+ * Use `-1` for no limit.
50
+ * Defaults to `-1`.
51
+ */
52
+ maxDepth: number;
53
+ /**
54
+ * Specifies whether to catch errors in `toJSON()` and replace them with a placeholder.
55
+ * Defaults to `false`.
56
+ */
57
+ shouldCatchToJSONErrors: boolean;
58
+ /**
59
+ * Specifies whether to handle circular references in the JSON output.
60
+ * Defaults to `false`.
61
+ */
62
+ shouldHandleCircularReferences: boolean;
63
+ /**
64
+ * Specifies whether to handle errors in the JSON output.
65
+ * Defaults to `false`.
66
+ */
67
+ shouldHandleErrors: boolean;
68
+ /**
69
+ * Specifies whether to handle undefined values in the JSON output.
70
+ * Defaults to `false`.
71
+ */
72
+ shouldHandleUndefined: boolean;
73
+ /**
74
+ * Specifies whether to sort the keys of the JSON output.
75
+ * Defaults to `false`.
76
+ */
77
+ shouldSortKeys: boolean;
78
+ /**
79
+ * Specifies the indentation of the JSON output. This can be a number of spaces or a string. Defaults to `2`.
80
+ */
81
+ space: number | string;
82
+ /**
83
+ * Specifies the substitutions to use in the JSON output.
84
+ */
85
+ tokenSubstitutions: Partial<TokenSubstitutions>;
86
+ }
87
+ interface TokenSubstitutions {
88
+ circularReference: string;
89
+ maxDepthLimitReached: string;
90
+ toJSONFailed: string;
91
+ }
92
+ /**
93
+ * Assigns properties from one or more source objects to a target object, including non-enumerable properties.
94
+ *
95
+ * @param target - The target object to assign properties to.
96
+ * @param source - The source object to assign properties from.
97
+ * @returns The target object with the assigned properties.
98
+ */
99
+ export declare function assignWithNonEnumerableProperties<T extends object, U>(target: T, source: U): T & U;
100
+ /**
101
+ * @param target - The target object to assign properties to.
102
+ * @param source1 - The first source object to assign properties from.
103
+ * @param source2 - The second source object to assign properties from.
104
+ * @returns The target object with the assigned properties.
105
+ */
106
+ export declare function assignWithNonEnumerableProperties<T extends object, U, V>(target: T, source1: U, source2: V): T & U & V;
107
+ /**
108
+ * Assigns properties from one or more source objects to a target object, including non-enumerable properties.
109
+ *
110
+ * @param target - The target object to assign properties to.
111
+ * @param source1 - The first source object to assign properties from.
112
+ * @param source2 - The second source object to assign properties from.
113
+ * @param source3 - The third source object to assign properties from.
114
+ * @returns The target object with the assigned properties.
115
+ */
116
+ export declare function assignWithNonEnumerableProperties<T extends object, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
117
+ /**
118
+ * Clones an object, including non-enumerable properties.
119
+ *
120
+ * @param obj - The object to clone.
121
+ * @returns A new object with the same properties as the original object, including non-enumerable properties.
122
+ */
123
+ export declare function cloneWithNonEnumerableProperties<T extends object>(obj: T): T;
124
+ /**
125
+ * Compares two values to determine if they are deeply equal.
126
+ *
127
+ * @param a - The first value to compare.
128
+ * @param b - The second value to compare.
129
+ * @returns `true` if the values are deeply equal, otherwise `false`.
130
+ */
131
+ export declare function deepEqual(a: unknown, b: unknown): boolean;
132
+ /**
133
+ * Deletes multiple properties from an object.
134
+ *
135
+ * @typeParam T - The type of the object.
136
+ * @param obj - The object to delete the properties from.
137
+ * @param propertyNames - The names of the properties to delete.
138
+ * @returns `true` if any of the properties were present, otherwise `false`.
139
+ */
140
+ export declare function deleteProperties<T extends object>(obj: T, propertyNames: (keyof T)[]): boolean;
141
+ /**
142
+ * Deletes a property from an object.
143
+ *
144
+ * @typeParam T - The type of the object.
145
+ * @param obj - The object to delete the property from.
146
+ * @param propertyName - The name of the property to delete.
147
+ * @returns `true` if the property was present, otherwise `false`.
148
+ */
149
+ export declare function deleteProperty<T extends object>(obj: T, propertyName: keyof T): boolean;
150
+ /**
151
+ * Gets the value of a nested property from an object.
152
+ *
153
+ * @param obj - The object to get the nested property value from.
154
+ * @param path - The path to the nested property.
155
+ * @returns The value of the nested property.
156
+ */
157
+ export declare function getNestedPropertyValue(obj: Record<string, unknown>, path: string): unknown;
158
+ /**
159
+ * Gets the prototype of the specified object.
160
+ *
161
+ * @typeParam T - The type of the object.
162
+ * @param instance - The object instance to retrieve the prototype of.
163
+ * @returns The prototype of the object.
164
+ */
165
+ export declare function getPrototypeOf<T>(instance: T): T;
166
+ /**
167
+ * Retrieves the name of a property of a given type `T`.
168
+ *
169
+ * @typeParam T - The type of the object containing the property.
170
+ * @param name - The name of the property as a string.
171
+ * @returns The name of the property.
172
+ */
173
+ export declare function nameof<T>(name: Extract<keyof T, string>): string;
174
+ /**
175
+ * Normalizes optional properties to allow `undefined` assignment in strict mode.
176
+ *
177
+ * This utility provides a workaround for the `exactOptionalPropertyTypes` TypeScript flag,
178
+ * which prohibits directly assigning `undefined` to optional properties when the type
179
+ * explicitly omits `undefined`.
180
+ *
181
+ * Example:
182
+ * ```typescript
183
+ * // With `exactOptionalPropertyTypes: true`
184
+ * const x: { prop?: string } = { prop: undefined }; // Compiler error
185
+ *
186
+ * // Using this utility:
187
+ * const y: { prop?: string } = normalizeOptionalProperties<{ prop?: string }>({ prop: undefined }); // Works
188
+ * ```
189
+ *
190
+ * @typeParam T - The target type with optional properties to normalize.
191
+ * @param obj - The object to normalize, allowing explicit `undefined` for optional properties.
192
+ * @returns The normalized object, compatible with `exactOptionalPropertyTypes`.
193
+ */
194
+ export declare function normalizeOptionalProperties<T>(obj: UndefinedOnPartialDeep<T>): T;
195
+ /**
196
+ * Sets the value of a nested property in an object.
197
+ *
198
+ * @param obj - The object to set the nested property value in.
199
+ * @param path - The path to the nested property.
200
+ * @param value - The value to set.
201
+ */
202
+ export declare function setNestedPropertyValue(obj: Record<string, unknown>, path: string, value: unknown): void;
203
+ /**
204
+ * Converts a given value to a JSON string.
205
+ *
206
+ * @param value - The value to be converted to JSON. This can be of any type.
207
+ * @param options - Options for customizing the JSON conversion process.
208
+ * @returns The JSON string representation of the input value.
209
+ */
210
+ export declare function toJson(value: unknown, options?: Partial<ToJsonOptions>): string;
211
+ export {};