@lincoln504/pi-research 1.7.17 → 1.7.19

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 (538) hide show
  1. package/README.md +8 -3
  2. package/agent-skill/pi-research/SKILL.md +1 -1
  3. package/agent-skill/pi-research/scripts/run.mjs +122 -34
  4. package/dist/cli-bin.mjs +39 -7
  5. package/dist/host-resolve-hook.mjs +37 -0
  6. package/dist/host-roots.mjs +122 -0
  7. package/dist/thread-worker.mjs +8520 -59
  8. package/docs/ARCHITECTURE.md +3 -2
  9. package/docs/CHANGELOG.md +35 -0
  10. package/docs/THIRD-PARTY-NOTICES.md +16 -2
  11. package/node_modules/@lancedb/lancedb/AGENTS.md +13 -0
  12. package/node_modules/@lancedb/lancedb/CONTRIBUTING.md +78 -0
  13. package/node_modules/@lancedb/lancedb/NODEJS_THIRD_PARTY_LICENSES.md +668 -0
  14. package/node_modules/@lancedb/lancedb/README.md +37 -0
  15. package/node_modules/@lancedb/lancedb/RUST_THIRD_PARTY_LICENSES.html +14607 -0
  16. package/node_modules/@lancedb/lancedb/dist/arrow.d.ts +312 -0
  17. package/node_modules/@lancedb/lancedb/dist/arrow.js +1242 -0
  18. package/node_modules/@lancedb/lancedb/dist/arrow_type.d.ts +9 -0
  19. package/node_modules/@lancedb/lancedb/dist/arrow_type.js +29 -0
  20. package/node_modules/@lancedb/lancedb/dist/blob.d.ts +126 -0
  21. package/node_modules/@lancedb/lancedb/dist/blob.js +219 -0
  22. package/node_modules/@lancedb/lancedb/dist/catalog.d.ts +46 -0
  23. package/node_modules/@lancedb/lancedb/dist/catalog.js +63 -0
  24. package/node_modules/@lancedb/lancedb/dist/connection.d.ts +577 -0
  25. package/node_modules/@lancedb/lancedb/dist/connection.js +316 -0
  26. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.d.ts +103 -0
  27. package/node_modules/@lancedb/lancedb/dist/embedding/embedding_function.js +192 -0
  28. package/node_modules/@lancedb/lancedb/dist/embedding/index.d.ts +37 -0
  29. package/node_modules/@lancedb/lancedb/dist/embedding/index.js +108 -0
  30. package/node_modules/@lancedb/lancedb/dist/embedding/openai.d.ts +16 -0
  31. package/node_modules/@lancedb/lancedb/dist/embedding/openai.js +81 -0
  32. package/node_modules/@lancedb/lancedb/dist/embedding/registry.d.ts +94 -0
  33. package/node_modules/@lancedb/lancedb/dist/embedding/registry.js +221 -0
  34. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.d.ts +36 -0
  35. package/node_modules/@lancedb/lancedb/dist/embedding/transformers.js +110 -0
  36. package/node_modules/@lancedb/lancedb/dist/header.d.ts +162 -0
  37. package/node_modules/@lancedb/lancedb/dist/header.js +217 -0
  38. package/node_modules/@lancedb/lancedb/dist/index.d.ts +251 -0
  39. package/node_modules/@lancedb/lancedb/dist/index.js +187 -0
  40. package/node_modules/@lancedb/lancedb/dist/indices.d.ts +721 -0
  41. package/node_modules/@lancedb/lancedb/dist/indices.js +166 -0
  42. package/node_modules/@lancedb/lancedb/dist/job.d.ts +93 -0
  43. package/node_modules/@lancedb/lancedb/dist/job.js +163 -0
  44. package/node_modules/@lancedb/lancedb/dist/materialized_view.d.ts +74 -0
  45. package/node_modules/@lancedb/lancedb/dist/materialized_view.js +150 -0
  46. package/node_modules/@lancedb/lancedb/dist/merge.d.ts +104 -0
  47. package/node_modules/@lancedb/lancedb/dist/merge.js +120 -0
  48. package/node_modules/@lancedb/lancedb/dist/native.d.ts +1466 -0
  49. package/node_modules/@lancedb/lancedb/dist/native.js +691 -0
  50. package/node_modules/@lancedb/lancedb/dist/oauth.d.ts +271 -0
  51. package/node_modules/@lancedb/lancedb/dist/oauth.js +111 -0
  52. package/node_modules/@lancedb/lancedb/dist/otel.d.ts +26 -0
  53. package/node_modules/@lancedb/lancedb/dist/otel.js +114 -0
  54. package/node_modules/@lancedb/lancedb/dist/permutation.d.ts +143 -0
  55. package/node_modules/@lancedb/lancedb/dist/permutation.js +184 -0
  56. package/node_modules/@lancedb/lancedb/dist/query.d.ts +663 -0
  57. package/node_modules/@lancedb/lancedb/dist/query.js +966 -0
  58. package/node_modules/@lancedb/lancedb/dist/rerankers/index.d.ts +5 -0
  59. package/node_modules/@lancedb/lancedb/dist/rerankers/index.js +19 -0
  60. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.d.ts +14 -0
  61. package/node_modules/@lancedb/lancedb/dist/rerankers/rrf.js +28 -0
  62. package/node_modules/@lancedb/lancedb/dist/sanitize.d.ts +32 -0
  63. package/node_modules/@lancedb/lancedb/dist/sanitize.js +548 -0
  64. package/node_modules/@lancedb/lancedb/dist/scannable.d.ts +92 -0
  65. package/node_modules/@lancedb/lancedb/dist/scannable.js +200 -0
  66. package/node_modules/@lancedb/lancedb/dist/schema.d.ts +16 -0
  67. package/node_modules/@lancedb/lancedb/dist/schema.js +416 -0
  68. package/node_modules/@lancedb/lancedb/dist/table.d.ts +1141 -0
  69. package/node_modules/@lancedb/lancedb/dist/table.js +517 -0
  70. package/node_modules/@lancedb/lancedb/dist/util.d.ts +14 -0
  71. package/node_modules/@lancedb/lancedb/dist/util.js +86 -0
  72. package/node_modules/@lancedb/lancedb/dist/view.d.ts +32 -0
  73. package/node_modules/@lancedb/lancedb/dist/view.js +17 -0
  74. package/node_modules/@lancedb/lancedb/license_header.txt +2 -0
  75. package/node_modules/@lancedb/lancedb/package.json +130 -0
  76. package/node_modules/@lancedb/lancedb/pnpm-workspace.yaml +56 -0
  77. package/node_modules/@opentelemetry/api/LICENSE +201 -0
  78. package/node_modules/@opentelemetry/api/README.md +98 -0
  79. package/node_modules/@opentelemetry/api/dist/api/context.cjs +100 -0
  80. package/node_modules/@opentelemetry/api/dist/api/context.cjs.map +1 -0
  81. package/node_modules/@opentelemetry/api/dist/api/context.d.cts +74 -0
  82. package/node_modules/@opentelemetry/api/dist/api/context.d.cts.map +1 -0
  83. package/node_modules/@opentelemetry/api/dist/api/context.d.mts +74 -0
  84. package/node_modules/@opentelemetry/api/dist/api/context.d.mts.map +1 -0
  85. package/node_modules/@opentelemetry/api/dist/api/context.mjs +100 -0
  86. package/node_modules/@opentelemetry/api/dist/api/context.mjs.map +1 -0
  87. package/node_modules/@opentelemetry/api/dist/api/diag.cjs +68 -0
  88. package/node_modules/@opentelemetry/api/dist/api/diag.cjs.map +1 -0
  89. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts +35 -0
  90. package/node_modules/@opentelemetry/api/dist/api/diag.d.cts.map +1 -0
  91. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts +35 -0
  92. package/node_modules/@opentelemetry/api/dist/api/diag.d.mts.map +1 -0
  93. package/node_modules/@opentelemetry/api/dist/api/diag.mjs +68 -0
  94. package/node_modules/@opentelemetry/api/dist/api/diag.mjs.map +1 -0
  95. package/node_modules/@opentelemetry/api/dist/api/logs.cjs +59 -0
  96. package/node_modules/@opentelemetry/api/dist/api/logs.cjs.map +1 -0
  97. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts +43 -0
  98. package/node_modules/@opentelemetry/api/dist/api/logs.d.cts.map +1 -0
  99. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts +43 -0
  100. package/node_modules/@opentelemetry/api/dist/api/logs.d.mts.map +1 -0
  101. package/node_modules/@opentelemetry/api/dist/api/logs.mjs +59 -0
  102. package/node_modules/@opentelemetry/api/dist/api/logs.mjs.map +1 -0
  103. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs +46 -0
  104. package/node_modules/@opentelemetry/api/dist/api/metrics.cjs.map +1 -0
  105. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts +33 -0
  106. package/node_modules/@opentelemetry/api/dist/api/metrics.d.cts.map +1 -0
  107. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts +33 -0
  108. package/node_modules/@opentelemetry/api/dist/api/metrics.d.mts.map +1 -0
  109. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs +46 -0
  110. package/node_modules/@opentelemetry/api/dist/api/metrics.mjs.map +1 -0
  111. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs +74 -0
  112. package/node_modules/@opentelemetry/api/dist/api/propagation.cjs.map +1 -0
  113. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts +55 -0
  114. package/node_modules/@opentelemetry/api/dist/api/propagation.d.cts.map +1 -0
  115. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts +55 -0
  116. package/node_modules/@opentelemetry/api/dist/api/propagation.d.mts.map +1 -0
  117. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs +74 -0
  118. package/node_modules/@opentelemetry/api/dist/api/propagation.mjs.map +1 -0
  119. package/node_modules/@opentelemetry/api/dist/api/trace.cjs +62 -0
  120. package/node_modules/@opentelemetry/api/dist/api/trace.cjs.map +1 -0
  121. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts +46 -0
  122. package/node_modules/@opentelemetry/api/dist/api/trace.d.cts.map +1 -0
  123. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts +46 -0
  124. package/node_modules/@opentelemetry/api/dist/api/trace.d.mts.map +1 -0
  125. package/node_modules/@opentelemetry/api/dist/api/trace.mjs +62 -0
  126. package/node_modules/@opentelemetry/api/dist/api/trace.mjs.map +1 -0
  127. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs +48 -0
  128. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.cjs.map +1 -0
  129. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts +32 -0
  130. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.cts.map +1 -0
  131. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts +32 -0
  132. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.d.mts.map +1 -0
  133. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs +45 -0
  134. package/node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs.map +1 -0
  135. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs +36 -0
  136. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.cjs.map +1 -0
  137. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs +36 -0
  138. package/node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs.map +1 -0
  139. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs +9 -0
  140. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.cjs.map +1 -0
  141. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts +8 -0
  142. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.cts.map +1 -0
  143. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts +8 -0
  144. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.d.mts.map +1 -0
  145. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs +9 -0
  146. package/node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs.map +1 -0
  147. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts +70 -0
  148. package/node_modules/@opentelemetry/api/dist/baggage/types.d.cts.map +1 -0
  149. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts +70 -0
  150. package/node_modules/@opentelemetry/api/dist/baggage/types.d.mts.map +1 -0
  151. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs +37 -0
  152. package/node_modules/@opentelemetry/api/dist/baggage/utils.cjs.map +1 -0
  153. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts +19 -0
  154. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.cts.map +1 -0
  155. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts +19 -0
  156. package/node_modules/@opentelemetry/api/dist/baggage/utils.d.mts.map +1 -0
  157. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs +36 -0
  158. package/node_modules/@opentelemetry/api/dist/baggage/utils.mjs.map +1 -0
  159. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts +33 -0
  160. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.cts.map +1 -0
  161. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts +33 -0
  162. package/node_modules/@opentelemetry/api/dist/common/AnyValue.d.mts.map +1 -0
  163. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts +19 -0
  164. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.cts.map +1 -0
  165. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts +19 -0
  166. package/node_modules/@opentelemetry/api/dist/common/Attributes.d.mts.map +1 -0
  167. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts +30 -0
  168. package/node_modules/@opentelemetry/api/dist/common/Exception.d.cts.map +1 -0
  169. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts +30 -0
  170. package/node_modules/@opentelemetry/api/dist/common/Exception.d.mts.map +1 -0
  171. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts +27 -0
  172. package/node_modules/@opentelemetry/api/dist/common/Time.d.cts.map +1 -0
  173. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts +27 -0
  174. package/node_modules/@opentelemetry/api/dist/common/Time.d.mts.map +1 -0
  175. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs +27 -0
  176. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.cjs.map +1 -0
  177. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs +27 -0
  178. package/node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs.map +1 -0
  179. package/node_modules/@opentelemetry/api/dist/context/context.cjs +41 -0
  180. package/node_modules/@opentelemetry/api/dist/context/context.cjs.map +1 -0
  181. package/node_modules/@opentelemetry/api/dist/context/context.d.cts +17 -0
  182. package/node_modules/@opentelemetry/api/dist/context/context.d.cts.map +1 -0
  183. package/node_modules/@opentelemetry/api/dist/context/context.d.mts +17 -0
  184. package/node_modules/@opentelemetry/api/dist/context/context.d.mts.map +1 -0
  185. package/node_modules/@opentelemetry/api/dist/context/context.mjs +40 -0
  186. package/node_modules/@opentelemetry/api/dist/context/context.mjs.map +1 -0
  187. package/node_modules/@opentelemetry/api/dist/context/types.d.cts +92 -0
  188. package/node_modules/@opentelemetry/api/dist/context/types.d.cts.map +1 -0
  189. package/node_modules/@opentelemetry/api/dist/context/types.d.mts +92 -0
  190. package/node_modules/@opentelemetry/api/dist/context/types.d.mts.map +1 -0
  191. package/node_modules/@opentelemetry/api/dist/context-api.cjs +10 -0
  192. package/node_modules/@opentelemetry/api/dist/context-api.cjs.map +1 -0
  193. package/node_modules/@opentelemetry/api/dist/context-api.d.cts +10 -0
  194. package/node_modules/@opentelemetry/api/dist/context-api.d.cts.map +1 -0
  195. package/node_modules/@opentelemetry/api/dist/context-api.d.mts +10 -0
  196. package/node_modules/@opentelemetry/api/dist/context-api.d.mts.map +1 -0
  197. package/node_modules/@opentelemetry/api/dist/context-api.mjs +11 -0
  198. package/node_modules/@opentelemetry/api/dist/context-api.mjs.map +1 -0
  199. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs +40 -0
  200. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.cjs.map +1 -0
  201. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs +40 -0
  202. package/node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs.map +1 -0
  203. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs +62 -0
  204. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.cjs.map +1 -0
  205. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts +43 -0
  206. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.cts.map +1 -0
  207. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts +43 -0
  208. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.d.mts.map +1 -0
  209. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs +61 -0
  210. package/node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs.map +1 -0
  211. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs +23 -0
  212. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.cjs.map +1 -0
  213. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs +23 -0
  214. package/node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs.map +1 -0
  215. package/node_modules/@opentelemetry/api/dist/diag/types.cjs +32 -0
  216. package/node_modules/@opentelemetry/api/dist/diag/types.cjs.map +1 -0
  217. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts +115 -0
  218. package/node_modules/@opentelemetry/api/dist/diag/types.d.cts.map +1 -0
  219. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts +115 -0
  220. package/node_modules/@opentelemetry/api/dist/diag/types.d.mts.map +1 -0
  221. package/node_modules/@opentelemetry/api/dist/diag/types.mjs +32 -0
  222. package/node_modules/@opentelemetry/api/dist/diag/types.mjs.map +1 -0
  223. package/node_modules/@opentelemetry/api/dist/diag-api.cjs +14 -0
  224. package/node_modules/@opentelemetry/api/dist/diag-api.cjs.map +1 -0
  225. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts +14 -0
  226. package/node_modules/@opentelemetry/api/dist/diag-api.d.cts.map +1 -0
  227. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts +14 -0
  228. package/node_modules/@opentelemetry/api/dist/diag-api.d.mts.map +1 -0
  229. package/node_modules/@opentelemetry/api/dist/diag-api.mjs +15 -0
  230. package/node_modules/@opentelemetry/api/dist/diag-api.mjs.map +1 -0
  231. package/node_modules/@opentelemetry/api/dist/experimental/index.cjs +4 -0
  232. package/node_modules/@opentelemetry/api/dist/experimental/index.d.cts +3 -0
  233. package/node_modules/@opentelemetry/api/dist/experimental/index.d.mts +3 -0
  234. package/node_modules/@opentelemetry/api/dist/experimental/index.mjs +2 -0
  235. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts +17 -0
  236. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.cts.map +1 -0
  237. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts +17 -0
  238. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredOptions.d.mts.map +1 -0
  239. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs +88 -0
  240. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.cjs.map +1 -0
  241. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts +69 -0
  242. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.cts.map +1 -0
  243. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts +69 -0
  244. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.d.mts.map +1 -0
  245. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs +87 -0
  246. package/node_modules/@opentelemetry/api/dist/experimental/trace/SugaredTracer.mjs.map +1 -0
  247. package/node_modules/@opentelemetry/api/dist/index.cjs +71 -0
  248. package/node_modules/@opentelemetry/api/dist/index.cjs.map +1 -0
  249. package/node_modules/@opentelemetry/api/dist/index.d.cts +63 -0
  250. package/node_modules/@opentelemetry/api/dist/index.d.cts.map +1 -0
  251. package/node_modules/@opentelemetry/api/dist/index.d.mts +63 -0
  252. package/node_modules/@opentelemetry/api/dist/index.d.mts.map +1 -0
  253. package/node_modules/@opentelemetry/api/dist/index.mjs +37 -0
  254. package/node_modules/@opentelemetry/api/dist/index.mjs.map +1 -0
  255. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs +52 -0
  256. package/node_modules/@opentelemetry/api/dist/internal/global-utils.cjs.map +1 -0
  257. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs +50 -0
  258. package/node_modules/@opentelemetry/api/dist/internal/global-utils.mjs.map +1 -0
  259. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs +83 -0
  260. package/node_modules/@opentelemetry/api/dist/internal/semver.cjs.map +1 -0
  261. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs +82 -0
  262. package/node_modules/@opentelemetry/api/dist/internal/semver.mjs.map +1 -0
  263. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs +33 -0
  264. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.cjs.map +1 -0
  265. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts +75 -0
  266. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.cts.map +1 -0
  267. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts +75 -0
  268. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.d.mts.map +1 -0
  269. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs +33 -0
  270. package/node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs.map +1 -0
  271. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts +23 -0
  272. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.cts.map +1 -0
  273. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts +23 -0
  274. package/node_modules/@opentelemetry/api/dist/logs/Logger.d.mts.map +1 -0
  275. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts +22 -0
  276. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.cts.map +1 -0
  277. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts +22 -0
  278. package/node_modules/@opentelemetry/api/dist/logs/LoggerOptions.d.mts.map +1 -0
  279. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts +27 -0
  280. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.cts.map +1 -0
  281. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts +27 -0
  282. package/node_modules/@opentelemetry/api/dist/logs/LoggerProvider.d.mts.map +1 -0
  283. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs +20 -0
  284. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.cjs.map +1 -0
  285. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts +9 -0
  286. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.cts.map +1 -0
  287. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts +9 -0
  288. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.d.mts.map +1 -0
  289. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs +18 -0
  290. package/node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs.map +1 -0
  291. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs +13 -0
  292. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.cjs.map +1 -0
  293. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs +12 -0
  294. package/node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs.map +1 -0
  295. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs +36 -0
  296. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.cjs.map +1 -0
  297. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs +36 -0
  298. package/node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs.map +1 -0
  299. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs +36 -0
  300. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.cjs.map +1 -0
  301. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs +36 -0
  302. package/node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs.map +1 -0
  303. package/node_modules/@opentelemetry/api/dist/logs-api.cjs +11 -0
  304. package/node_modules/@opentelemetry/api/dist/logs-api.cjs.map +1 -0
  305. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts +11 -0
  306. package/node_modules/@opentelemetry/api/dist/logs-api.d.cts.map +1 -0
  307. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts +11 -0
  308. package/node_modules/@opentelemetry/api/dist/logs-api.d.mts.map +1 -0
  309. package/node_modules/@opentelemetry/api/dist/logs-api.mjs +12 -0
  310. package/node_modules/@opentelemetry/api/dist/logs-api.mjs.map +1 -0
  311. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts +119 -0
  312. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.cts.map +1 -0
  313. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts +119 -0
  314. package/node_modules/@opentelemetry/api/dist/metrics/Meter.d.mts.map +1 -0
  315. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts +22 -0
  316. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.cts.map +1 -0
  317. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts +22 -0
  318. package/node_modules/@opentelemetry/api/dist/metrics/MeterProvider.d.mts.map +1 -0
  319. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs +15 -0
  320. package/node_modules/@opentelemetry/api/dist/metrics/Metric.cjs.map +1 -0
  321. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts +188 -0
  322. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.cts.map +1 -0
  323. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts +188 -0
  324. package/node_modules/@opentelemetry/api/dist/metrics/Metric.d.mts.map +1 -0
  325. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs +15 -0
  326. package/node_modules/@opentelemetry/api/dist/metrics/Metric.mjs.map +1 -0
  327. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs +116 -0
  328. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.cjs.map +1 -0
  329. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts +11 -0
  330. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.cts.map +1 -0
  331. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts +11 -0
  332. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.d.mts.map +1 -0
  333. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs +98 -0
  334. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs.map +1 -0
  335. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs +17 -0
  336. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.cjs.map +1 -0
  337. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs +16 -0
  338. package/node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs.map +1 -0
  339. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs +11 -0
  340. package/node_modules/@opentelemetry/api/dist/metrics-api.cjs.map +1 -0
  341. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts +11 -0
  342. package/node_modules/@opentelemetry/api/dist/metrics-api.d.cts.map +1 -0
  343. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts +11 -0
  344. package/node_modules/@opentelemetry/api/dist/metrics-api.d.mts.map +1 -0
  345. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs +12 -0
  346. package/node_modules/@opentelemetry/api/dist/metrics-api.mjs.map +1 -0
  347. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs +19 -0
  348. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.cjs.map +1 -0
  349. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs +19 -0
  350. package/node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs.map +1 -0
  351. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs +26 -0
  352. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.cjs.map +1 -0
  353. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts +99 -0
  354. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.cts.map +1 -0
  355. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts +99 -0
  356. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.d.mts.map +1 -0
  357. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs +25 -0
  358. package/node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs.map +1 -0
  359. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs +11 -0
  360. package/node_modules/@opentelemetry/api/dist/propagation-api.cjs.map +1 -0
  361. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts +11 -0
  362. package/node_modules/@opentelemetry/api/dist/propagation-api.d.cts.map +1 -0
  363. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts +11 -0
  364. package/node_modules/@opentelemetry/api/dist/propagation-api.d.mts.map +1 -0
  365. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs +12 -0
  366. package/node_modules/@opentelemetry/api/dist/propagation-api.mjs.map +1 -0
  367. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs +45 -0
  368. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.cjs.map +1 -0
  369. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs +45 -0
  370. package/node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs.map +1 -0
  371. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs +44 -0
  372. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.cjs.map +1 -0
  373. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs +44 -0
  374. package/node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs.map +1 -0
  375. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs +17 -0
  376. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.cjs.map +1 -0
  377. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs +17 -0
  378. package/node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs.map +1 -0
  379. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs +37 -0
  380. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.cjs.map +1 -0
  381. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts +36 -0
  382. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.cts.map +1 -0
  383. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts +36 -0
  384. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.d.mts.map +1 -0
  385. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs +38 -0
  386. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs.map +1 -0
  387. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs +41 -0
  388. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.cjs.map +1 -0
  389. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts +31 -0
  390. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.cts.map +1 -0
  391. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts +31 -0
  392. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.d.mts.map +1 -0
  393. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs +42 -0
  394. package/node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs.map +1 -0
  395. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts +36 -0
  396. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.cts.map +1 -0
  397. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts +36 -0
  398. package/node_modules/@opentelemetry/api/dist/trace/Sampler.d.mts.map +1 -0
  399. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs +30 -0
  400. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.cjs.map +1 -0
  401. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts +58 -0
  402. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.cts.map +1 -0
  403. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts +58 -0
  404. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.d.mts.map +1 -0
  405. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs +30 -0
  406. package/node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs.map +1 -0
  407. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts +28 -0
  408. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.cts.map +1 -0
  409. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts +28 -0
  410. package/node_modules/@opentelemetry/api/dist/trace/SpanOptions.d.mts.map +1 -0
  411. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts +15 -0
  412. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.cts.map +1 -0
  413. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts +15 -0
  414. package/node_modules/@opentelemetry/api/dist/trace/attributes.d.mts.map +1 -0
  415. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs +67 -0
  416. package/node_modules/@opentelemetry/api/dist/trace/context-utils.cjs.map +1 -0
  417. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts +44 -0
  418. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.cts.map +1 -0
  419. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts +44 -0
  420. package/node_modules/@opentelemetry/api/dist/trace/context-utils.d.mts.map +1 -0
  421. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs +62 -0
  422. package/node_modules/@opentelemetry/api/dist/trace/context-utils.mjs.map +1 -0
  423. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs +77 -0
  424. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.cjs.map +1 -0
  425. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs +77 -0
  426. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs.map +1 -0
  427. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs +28 -0
  428. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.cjs.map +1 -0
  429. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs +27 -0
  430. package/node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs.map +1 -0
  431. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs +13 -0
  432. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.cjs.map +1 -0
  433. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts +10 -0
  434. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.cts.map +1 -0
  435. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts +10 -0
  436. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.d.mts.map +1 -0
  437. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs +13 -0
  438. package/node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs.map +1 -0
  439. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs +24 -0
  440. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.cjs.map +1 -0
  441. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts +17 -0
  442. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.cts.map +1 -0
  443. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts +17 -0
  444. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.d.mts.map +1 -0
  445. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs +22 -0
  446. package/node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs.map +1 -0
  447. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts +35 -0
  448. package/node_modules/@opentelemetry/api/dist/trace/link.d.cts.map +1 -0
  449. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts +35 -0
  450. package/node_modules/@opentelemetry/api/dist/trace/link.d.mts.map +1 -0
  451. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts +139 -0
  452. package/node_modules/@opentelemetry/api/dist/trace/span.d.cts.map +1 -0
  453. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts +139 -0
  454. package/node_modules/@opentelemetry/api/dist/trace/span.d.mts.map +1 -0
  455. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts +58 -0
  456. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.cts.map +1 -0
  457. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts +58 -0
  458. package/node_modules/@opentelemetry/api/dist/trace/span_context.d.mts.map +1 -0
  459. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs +35 -0
  460. package/node_modules/@opentelemetry/api/dist/trace/span_kind.cjs.map +1 -0
  461. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts +33 -0
  462. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.cts.map +1 -0
  463. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts +33 -0
  464. package/node_modules/@opentelemetry/api/dist/trace/span_kind.d.mts.map +1 -0
  465. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs +35 -0
  466. package/node_modules/@opentelemetry/api/dist/trace/span_kind.mjs.map +1 -0
  467. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs +151 -0
  468. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.cjs.map +1 -0
  469. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts +28 -0
  470. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.cts.map +1 -0
  471. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts +28 -0
  472. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.d.mts.map +1 -0
  473. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs +148 -0
  474. package/node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs.map +1 -0
  475. package/node_modules/@opentelemetry/api/dist/trace/status.cjs +26 -0
  476. package/node_modules/@opentelemetry/api/dist/trace/status.cjs.map +1 -0
  477. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts +33 -0
  478. package/node_modules/@opentelemetry/api/dist/trace/status.d.cts.map +1 -0
  479. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts +33 -0
  480. package/node_modules/@opentelemetry/api/dist/trace/status.d.mts.map +1 -0
  481. package/node_modules/@opentelemetry/api/dist/trace/status.mjs +26 -0
  482. package/node_modules/@opentelemetry/api/dist/trace/status.mjs.map +1 -0
  483. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs +15 -0
  484. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.cjs.map +1 -0
  485. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts +13 -0
  486. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.cts.map +1 -0
  487. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts +13 -0
  488. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.d.mts.map +1 -0
  489. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs +15 -0
  490. package/node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs.map +1 -0
  491. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts +44 -0
  492. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.cts.map +1 -0
  493. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts +44 -0
  494. package/node_modules/@opentelemetry/api/dist/trace/trace_state.d.mts.map +1 -0
  495. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts +81 -0
  496. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.cts.map +1 -0
  497. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts +81 -0
  498. package/node_modules/@opentelemetry/api/dist/trace/tracer.d.mts.map +1 -0
  499. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts +15 -0
  500. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.cts.map +1 -0
  501. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts +15 -0
  502. package/node_modules/@opentelemetry/api/dist/trace/tracer_options.d.mts.map +1 -0
  503. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts +26 -0
  504. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.cts.map +1 -0
  505. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts +26 -0
  506. package/node_modules/@opentelemetry/api/dist/trace/tracer_provider.d.mts.map +1 -0
  507. package/node_modules/@opentelemetry/api/dist/trace-api.cjs +11 -0
  508. package/node_modules/@opentelemetry/api/dist/trace-api.cjs.map +1 -0
  509. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts +11 -0
  510. package/node_modules/@opentelemetry/api/dist/trace-api.d.cts.map +1 -0
  511. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts +11 -0
  512. package/node_modules/@opentelemetry/api/dist/trace-api.d.mts.map +1 -0
  513. package/node_modules/@opentelemetry/api/dist/trace-api.mjs +12 -0
  514. package/node_modules/@opentelemetry/api/dist/trace-api.mjs.map +1 -0
  515. package/node_modules/@opentelemetry/api/dist/version.cjs +6 -0
  516. package/node_modules/@opentelemetry/api/dist/version.cjs.map +1 -0
  517. package/node_modules/@opentelemetry/api/dist/version.mjs +6 -0
  518. package/node_modules/@opentelemetry/api/dist/version.mjs.map +1 -0
  519. package/node_modules/@opentelemetry/api/package.json +94 -0
  520. package/node_modules/reflect-metadata/AUTHORS.md +5 -0
  521. package/node_modules/reflect-metadata/CopyrightNotice.txt +15 -0
  522. package/node_modules/reflect-metadata/LICENSE +55 -0
  523. package/node_modules/reflect-metadata/README.md +232 -0
  524. package/node_modules/reflect-metadata/Reflect.js +1415 -0
  525. package/node_modules/reflect-metadata/ReflectLite.js +1137 -0
  526. package/node_modules/reflect-metadata/ReflectNoConflict.js +1111 -0
  527. package/node_modules/reflect-metadata/index.d.ts +491 -0
  528. package/node_modules/reflect-metadata/no-conflict.d.ts +484 -0
  529. package/node_modules/reflect-metadata/package.json +68 -0
  530. package/node_modules/reflect-metadata/standalone.d.ts +485 -0
  531. package/package.json +22 -9
  532. package/scripts/bare-imports.cjs +61 -0
  533. package/scripts/build.cjs +16 -1
  534. package/src/cli-bin.mjs +39 -7
  535. package/src/host-resolve-hook.mjs +37 -0
  536. package/src/host-roots.d.mts +4 -0
  537. package/src/host-roots.mjs +122 -0
  538. package/src/infrastructure/browser/thread-worker.mjs +8520 -59
@@ -0,0 +1,1466 @@
1
+ /* auto-generated by NAPI-RS */
2
+ /* eslint-disable */
3
+ export declare class BlobFile {
4
+ size(): bigint
5
+ read(maxBytes?: bigint | undefined | null, signal?: AbortSignal | undefined | null): Promise<Buffer>
6
+ readRange(start: bigint, end: bigint, signal?: AbortSignal | undefined | null): Promise<Buffer>
7
+ readRanges(ranges: Array<BlobRange>, signal?: AbortSignal | undefined | null): Promise<Array<Buffer>>
8
+ seek(position: bigint): Promise<void>
9
+ tell(): Promise<bigint>
10
+ close(): Promise<void>
11
+ isClosed(): boolean
12
+ }
13
+
14
+ export declare class BranchContents {
15
+ parentBranch?: string
16
+ parentVersion: number
17
+ manifestSize: number
18
+ }
19
+
20
+ export declare class Branches {
21
+ list(): Promise<Record<string, BranchContents>>
22
+ create(name: string, fromRef?: string | undefined | null, fromVersion?: number | undefined | null): Promise<Table>
23
+ checkout(name: string, version?: number | undefined | null): Promise<Table>
24
+ delete(name: string): Promise<void>
25
+ diff(fromBranch: string): Promise<Record<string, unknown>>
26
+ cherryPick(fromBranch: string, dryRun?: boolean | undefined | null): Promise<Record<string, unknown>>
27
+ }
28
+
29
+ export declare class Catalog {
30
+ static new(endpoint: string, options: CatalogOptions, headerProvider?: JsHeaderProvider | undefined | null): Promise<Catalog>
31
+ get uri(): string
32
+ createDatabase(name: string, existOk?: boolean | undefined | null): Promise<Connection>
33
+ connectDatabase(name: string): Promise<Connection>
34
+ dropDatabase(name: string, ignoreMissing?: boolean | undefined | null): Promise<void>
35
+ listDatabases(limit?: number | undefined | null, pageToken?: string | undefined | null): Promise<ListDatabasesResponse>
36
+ }
37
+
38
+ export declare class Connection {
39
+ /** Create a new Connection instance from the given URI. */
40
+ static new(uri: string, options: ConnectionOptions, headerProvider?: JsHeaderProvider | undefined | null): Promise<Connection>
41
+ /** Create a new Connection instance backed by a namespace implementation. */
42
+ static newWithNamespace(implName: string, properties: Record<string, string>, options: ConnectNamespaceOptions): Promise<Connection>
43
+ display(): string
44
+ isOpen(): boolean
45
+ close(): void
46
+ /** List all tables in the dataset. */
47
+ tableNames(namespacePath?: Array<string> | undefined | null, startAfter?: string | undefined | null, limit?: number | undefined | null): Promise<Array<string>>
48
+ /** List a page of tables in the database. */
49
+ listTables(namespacePath?: Array<string> | undefined | null, pageToken?: string | undefined | null, limit?: number | undefined | null): Promise<ListTablesResponse>
50
+ /**
51
+ * Create table from a Apache Arrow IPC (file) buffer.
52
+ *
53
+ * Parameters:
54
+ * - name: The name of the table.
55
+ * - buf: The buffer containing the IPC file.
56
+ */
57
+ createTable(name: string, buf: Buffer, mode: string, namespacePath?: Array<string> | undefined | null, storageOptions?: Record<string, string> | undefined | null): Promise<Table>
58
+ createEmptyTable(name: string, schemaBuf: Buffer, mode: string, namespacePath?: Array<string> | undefined | null, storageOptions?: Record<string, string> | undefined | null): Promise<Table>
59
+ createMaterializedView(name: string, source: string, projections: Array<Array<string>> | undefined | null, filter: string | undefined | null, limit: number | undefined | null, withNoData: boolean): Promise<Table>
60
+ openMaterializedView(name: string): Promise<Table>
61
+ listMaterializedViews(): Promise<Array<string>>
62
+ /** Drop a materialized view. */
63
+ dropMaterializedView(name: string, namespacePath?: Array<string> | undefined | null): Promise<void>
64
+ /** Create a view: a named query planned on every read. */
65
+ createView(name: string, query: string, namespacePath?: Array<string> | undefined | null): Promise<ViewDescription>
66
+ /** What the database records about one view. */
67
+ describeView(name: string, namespacePath?: Array<string> | undefined | null): Promise<ViewDescription>
68
+ /**
69
+ * Drop a view and wait for its definition to be deleted. The tables it
70
+ * reads are untouched.
71
+ */
72
+ dropView(name: string, namespacePath?: Array<string> | undefined | null): Promise<void>
73
+ /** Start dropping a view and return the job deleting its definition. */
74
+ dropViewAsync(name: string, namespacePath?: Array<string> | undefined | null): Promise<Job>
75
+ /** The names of the views in one namespace. */
76
+ listViews(namespacePath?: Array<string> | undefined | null): Promise<Array<string>>
77
+ /** Start dropping a materialized view and return its cleanup job. */
78
+ dropMaterializedViewAsync(name: string, namespacePath?: Array<string> | undefined | null): Promise<Job>
79
+ openTable(name: string, namespacePath?: Array<string> | undefined | null, storageOptions?: Record<string, string> | undefined | null, indexCacheSize?: number | undefined | null): Promise<Table>
80
+ cloneTable(targetTableName: string, sourceUri: string, targetNamespacePath: Array<string> | undefined | null, sourceVersion: number | undefined | null, sourceTag: string | undefined | null, isShallow: boolean): Promise<Table>
81
+ /** Drop table with the name. Or raise an error if the table does not exist. */
82
+ dropTable(name: string, namespacePath?: Array<string> | undefined | null): Promise<void>
83
+ /** Start dropping a table and return its cleanup job. */
84
+ dropTableAsync(name: string, namespacePath?: Array<string> | undefined | null): Promise<Job>
85
+ dropAllTables(namespacePath?: Array<string> | undefined | null): Promise<void>
86
+ /**
87
+ * Open a server-side job by id, returning a handle with its record
88
+ * already populated. Rejects when the server has no such job.
89
+ *
90
+ * The returned handle answers for its own state, specification, result,
91
+ * failure and event history, so there is no separate connection-level
92
+ * call for any of them.
93
+ */
94
+ openJob(jobId: string): Promise<Job>
95
+ /** List server-side jobs across the database's tables. */
96
+ listJobs(): Promise<Array<JobInfo>>
97
+ /**
98
+ * Request cancellation of a server-side job by id. Returns true if the
99
+ * server accepted the cancellation, false if no such job exists.
100
+ */
101
+ cancelJob(jobId: string): Promise<boolean>
102
+ /**
103
+ * Pause a server-side job by id: its workers drain and it stays parked
104
+ * until resumed. Returns "pausing", "already_paused", or "committing".
105
+ */
106
+ pauseJob(jobId: string): Promise<string>
107
+ /**
108
+ * Resume a paused server-side job by id. Returns "resumed",
109
+ * "still_pausing", or "not_paused".
110
+ */
111
+ resumeJob(jobId: string): Promise<string>
112
+ /** Describe a namespace and return its properties. */
113
+ describeNamespace(namespacePath: Array<string>): Promise<DescribeNamespaceResponse>
114
+ /** List child namespaces under the given namespace path */
115
+ listNamespaces(namespacePath?: Array<string> | undefined | null, pageToken?: string | undefined | null, limit?: number | undefined | null): Promise<ListNamespacesResponse>
116
+ /** Create a new namespace with optional properties. */
117
+ createNamespace(namespacePath: Array<string>, mode?: string | undefined | null, properties?: Record<string, string> | undefined | null): Promise<CreateNamespaceResponse>
118
+ /** Drop a namespace. */
119
+ dropNamespace(namespacePath: Array<string>, mode?: string | undefined | null, behavior?: string | undefined | null): Promise<DropNamespaceResponse>
120
+ /**
121
+ * Rename a table. `current_namespace_path` and `new_namespace_path` default to
122
+ * the root namespace when omitted; the caller is expected to either pass both
123
+ * or pass neither.
124
+ */
125
+ renameTable(currentName: string, newName: string, currentNamespacePath?: Array<string> | undefined | null, newNamespacePath?: Array<string> | undefined | null): Promise<void>
126
+ }
127
+
128
+ export declare class Index {
129
+ static ivfPq(distanceType?: string | undefined | null, numPartitions?: number | undefined | null, numSubVectors?: number | undefined | null, numBits?: number | undefined | null, maxIterations?: number | undefined | null, sampleRate?: number | undefined | null): Index
130
+ static ivfRq(distanceType?: string | undefined | null, numPartitions?: number | undefined | null, numBits?: number | undefined | null, maxIterations?: number | undefined | null, sampleRate?: number | undefined | null): Index
131
+ static ivfFlat(distanceType?: string | undefined | null, numPartitions?: number | undefined | null, maxIterations?: number | undefined | null, sampleRate?: number | undefined | null): Index
132
+ static btree(): Index
133
+ static bitmap(): Index
134
+ static labelList(): Index
135
+ static fm(): Index
136
+ static fts(withPosition?: boolean | undefined | null, baseTokenizer?: string | undefined | null, language?: string | undefined | null, maxTokenLength?: number | undefined | null, lowerCase?: boolean | undefined | null, stem?: boolean | undefined | null, removeStopWords?: boolean | undefined | null, customStopWords?: Array<string> | undefined | null, asciiFolding?: boolean | undefined | null, ngramMinLength?: number | undefined | null, ngramMaxLength?: number | undefined | null, prefixOnly?: boolean | undefined | null, blockSize?: number | undefined | null): Index
137
+ static hnswPq(distanceType?: string | undefined | null, numPartitions?: number | undefined | null, numSubVectors?: number | undefined | null, maxIterations?: number | undefined | null, sampleRate?: number | undefined | null, m?: number | undefined | null, efConstruction?: number | undefined | null): Index
138
+ static hnswSq(distanceType?: string | undefined | null, numPartitions?: number | undefined | null, maxIterations?: number | undefined | null, sampleRate?: number | undefined | null, m?: number | undefined | null, efConstruction?: number | undefined | null): Index
139
+ }
140
+
141
+ /** A handle to an operation that may still be running. */
142
+ export declare class Job {
143
+ /**
144
+ * Identifies the operation on the server that is running it. Operations
145
+ * that run in this process have no server id. The value is opaque.
146
+ */
147
+ get id(): string | null
148
+ /**
149
+ * The operation's current lifecycle state: "running", "finished",
150
+ * "failed", or "cancelled".
151
+ *
152
+ * A point snapshot; unlike {@link Job.wait} it does not block or reject
153
+ * on a terminal failure state. States a newer server reports that this
154
+ * client version does not know pass through as-is.
155
+ */
156
+ status(): Promise<string>
157
+ /** Wait until the operation reaches a terminal state. */
158
+ wait(): Promise<void>
159
+ /** Request cancellation. Cancelling a finished operation is a no-op. */
160
+ cancel(): Promise<void>
161
+ /**
162
+ * Ask the backend for this job's current state, and for a server-side job
163
+ * its full record, then cache it for the getters below.
164
+ *
165
+ * They are all null until this runs, because submitting an operation
166
+ * returns only a job id. {@link Job.status} fetches the whole record too;
167
+ * {@link Job.wait} records only the terminal state it establishes.
168
+ */
169
+ refresh(): Promise<void>
170
+ /** The last observed lifecycle state, without contacting the backend. */
171
+ get state(): string | null
172
+ /**
173
+ * The job's type, as the server names it. Null for an in-process job,
174
+ * which has no server-side record.
175
+ */
176
+ get jobType(): string | null
177
+ /** When the job was created, in milliseconds since the epoch. */
178
+ get creationMs(): number | null
179
+ /** The job-type-specific specification as a JSON string, when present. */
180
+ get specJson(): string | null
181
+ /**
182
+ * The job-type-specific terminal result as a JSON string. Null until the
183
+ * job succeeds, so a job that never terminates reports its progress
184
+ * through {@link Job.events} instead.
185
+ */
186
+ get resultJson(): string | null
187
+ /** Why the job failed, when it failed and the server reports a reason. */
188
+ get failure(): JobFailureInfo | null
189
+ /**
190
+ * This job's recorded lifecycle events, as an Arrow IPC stream buffer.
191
+ * The TypeScript wrapper turns it into an Arrow table.
192
+ */
193
+ events(limit?: number | undefined | null, filter?: string | undefined | null): Promise<Buffer>
194
+ }
195
+
196
+ export declare class JsFullTextQuery {
197
+ static matchQuery(query: string, column: string, boost: number, fuzziness: number | undefined | null, maxExpansions: number, operator: string, prefixLength: number): JsFullTextQuery
198
+ static phraseQuery(query: string, column: string, slop: number): JsFullTextQuery
199
+ static boostQuery(positive: JsFullTextQuery, negative: JsFullTextQuery, negativeBoost?: number | undefined | null): JsFullTextQuery
200
+ static multiMatchQuery(query: string, columns: Array<string>, boosts: Array<number> | undefined | null, operator: string): JsFullTextQuery
201
+ static booleanQuery(queries: Array<[string, JsFullTextQuery]>): JsFullTextQuery
202
+ get queryType(): string
203
+ }
204
+
205
+ /**
206
+ * JavaScript HeaderProvider implementation that wraps a JavaScript callback.
207
+ * This is the only native header provider - all header provider implementations
208
+ * should provide a JavaScript function that returns headers.
209
+ */
210
+ export declare class JsHeaderProvider {
211
+ /** Create a new JsHeaderProvider from a JavaScript callback */
212
+ constructor(getHeadersCallback: () => Promise<Record<string, string>>)
213
+ }
214
+
215
+ /**
216
+ * A Rust-side view of a JS-constructed `Scannable`.
217
+ *
218
+ * Held in JS as the return value of the `Scannable` class constructor. When
219
+ * passed to a consumer that accepts `impl lancedb::data::scannable::Scannable`,
220
+ * the consumer invokes `scan_as_stream()` to pull batches through the JS
221
+ * callback.
222
+ */
223
+ export declare class NapiScannable {
224
+ /**
225
+ * Construct a new `NapiScannable`.
226
+ *
227
+ * - `schema_buf` — Arrow IPC File buffer carrying only the schema (no batches).
228
+ * - `num_rows` — optional row count hint; not validated against the stream.
229
+ * - `rescannable` — whether `get_next_batch` may be re-driven after the
230
+ * scan completes.
231
+ * - `get_next_batch` -- JS callback that yields the next batch as an Arrow
232
+ * IPC Stream message wrapped in a `Buffer`, or `null` at EOF. The
233
+ * `isStart` argument is `true` on the first call of each new scan;
234
+ * JS uses it to discard any cached iterator before pulling.
235
+ */
236
+ constructor(schemaBuf: Buffer, numRows: number | undefined | null, rescannable: boolean, getNextBatch: (arg: boolean) => Promise<Buffer | undefined | null>)
237
+ }
238
+
239
+ /** A builder used to create and run a merge insert operation */
240
+ export declare class NativeMergeInsertBuilder {
241
+ whenMatchedUpdateAll(condition?: string | undefined | null): NativeMergeInsertBuilder
242
+ whenNotMatchedInsertAll(): NativeMergeInsertBuilder
243
+ whenNotMatchedBySourceDelete(filter?: string | undefined | null): NativeMergeInsertBuilder
244
+ setTimeout(timeout: number): void
245
+ useIndex(useIndex: boolean): NativeMergeInsertBuilder
246
+ useLsm(enable: boolean): NativeMergeInsertBuilder
247
+ validateSingleShard(validateSingleShard: boolean): NativeMergeInsertBuilder
248
+ execute(buf: Buffer): Promise<MergeResult>
249
+ }
250
+
251
+ /**
252
+ * Explicit OAuth session lifecycle for the persistent token cache: eager
253
+ * `login`, non-secret `status`, and local `logout`.
254
+ *
255
+ * A session is built from the same `OAuthConfig` used to connect (including
256
+ * its `tokenCache` options). A connection created with the same
257
+ * configuration shares the cache, so logging in here prepares tokens for
258
+ * later processes without any database request.
259
+ */
260
+ export declare class OAuthSession {
261
+ /**
262
+ * Create a session manager for the given OAuth configuration.
263
+ *
264
+ * The configuration must enable `tokenCache` options and use a flow that
265
+ * supports persistent sessions (authorization code or device code).
266
+ */
267
+ constructor(config: OAuthConfig)
268
+ /**
269
+ * Eagerly run the configured authentication flow and store the session.
270
+ *
271
+ * A successful login always replaces any prior cached session for this
272
+ * identity; if the provider does not issue a refresh token (for example
273
+ * without `offline_access`), the previous record is removed and the
274
+ * status reports `refreshable == false`.
275
+ */
276
+ login(): Promise<SessionStatus>
277
+ /**
278
+ * Report whether a matching cached session exists, with safe metadata.
279
+ *
280
+ * This never contacts the identity provider and never exposes token
281
+ * values.
282
+ */
283
+ status(): Promise<SessionStatus>
284
+ /**
285
+ * Remove the matching local cached credential.
286
+ *
287
+ * This only deletes the local cache entry. It does not revoke the
288
+ * refresh token with the provider and does not sign out of a browser
289
+ * SSO session. Repeated calls succeed; `removed` reports whether a
290
+ * credential existed.
291
+ */
292
+ logout(): Promise<SessionLogout>
293
+ }
294
+
295
+ export declare class PermutationBuilder {
296
+ persist(connection: Connection, tableName: string): PermutationBuilder
297
+ /** Configure random splits */
298
+ splitRandom(options: SplitRandomOptions): PermutationBuilder
299
+ /** Configure hash-based splits */
300
+ splitHash(options: SplitHashOptions): PermutationBuilder
301
+ /** Configure sequential splits */
302
+ splitSequential(options: SplitSequentialOptions): PermutationBuilder
303
+ /** Configure calculated splits */
304
+ splitCalculated(options: SplitCalculatedOptions): PermutationBuilder
305
+ /** Configure shuffling */
306
+ shuffle(options: ShuffleOptions): PermutationBuilder
307
+ /** Configure filtering */
308
+ filter(filter: string): PermutationBuilder
309
+ /** Execute the permutation builder and create the table */
310
+ execute(): Promise<Table>
311
+ }
312
+
313
+ export declare class Query {
314
+ onlyIf(predicate: string): void
315
+ fullTextSearch(query: object): void
316
+ select(columns: Array<[string, string]>): void
317
+ selectColumns(columns: Array<string>): void
318
+ limit(limit: number): void
319
+ offset(offset: number): void
320
+ nearestTo(vector: Float32Array): VectorQuery
321
+ nearestToRaw(data: Uint8Array, dtype: string): VectorQuery
322
+ fastSearch(): void
323
+ withRowId(): void
324
+ useLsm(enable: boolean): void
325
+ orderBy(ordering?: Array<ColumnOrdering> | undefined | null): void
326
+ outputSchema(): Promise<Buffer>
327
+ execute(maxBatchLength?: number | undefined | null, timeoutMs?: number | undefined | null): Promise<RecordBatchIterator>
328
+ explainPlan(verbose: boolean): Promise<string>
329
+ analyzePlan(distributedMetrics?: string | undefined | null): Promise<string>
330
+ }
331
+
332
+ /** Typescript-style Async Iterator over RecordBatches */
333
+ export declare class RecordBatchIterator {
334
+ next(): Promise<Buffer | null>
335
+ }
336
+
337
+ /** Wrapper around rust RRFReranker */
338
+ export declare class RrfReranker {
339
+ static tryNew(k: Float32Array): Promise<RrfReranker>
340
+ rerankHybrid(query: string, vecResults: Buffer, ftsResults: Buffer): Promise<Buffer>
341
+ }
342
+ export type RRFReranker = RrfReranker
343
+
344
+ /**
345
+ * A session for managing caches and object stores across LanceDB operations.
346
+ *
347
+ * Sessions allow you to configure cache sizes for index and metadata caches,
348
+ * which can significantly impact memory use and performance. They can
349
+ * also be re-used across multiple connections to share the same cache state.
350
+ */
351
+ export declare class Session {
352
+ /**
353
+ * Create a new session with custom cache sizes.
354
+ *
355
+ * # Parameters
356
+ *
357
+ * - `index_cache_size_bytes`: The size of the index cache in bytes.
358
+ * Index data is stored in memory in this cache to speed up queries.
359
+ * Defaults to 6GB if not specified.
360
+ * - `metadata_cache_size_bytes`: The size of the metadata cache in bytes.
361
+ * The metadata cache stores file metadata and schema information in memory.
362
+ * This cache improves scan and write performance.
363
+ * Defaults to 1GB if not specified.
364
+ */
365
+ constructor(indexCacheSizeBytes?: bigint | undefined | null, metadataCacheSizeBytes?: bigint | undefined | null)
366
+ /**
367
+ * Create a session with default cache sizes.
368
+ *
369
+ * This is equivalent to creating a session with 6GB index cache
370
+ * and 1GB metadata cache.
371
+ */
372
+ static default(): Session
373
+ /** Get the current size of the session caches in bytes. */
374
+ sizeBytes(): bigint
375
+ /** Get the approximate number of items cached in the session. */
376
+ approxNumItems(): number
377
+ }
378
+
379
+ export declare class Table {
380
+ name: string
381
+ display(): string
382
+ isOpen(): boolean
383
+ close(): void
384
+ /** Return Schema as empty Arrow IPC file. */
385
+ schema(): Promise<Buffer>
386
+ add(buf: Buffer, mode: string, progressCallback?: (progress: WriteProgressInfo) => void, allowExternalBlobOutsideBases?: boolean): Promise<AddResult>
387
+ countRows(filter?: string | undefined | null): Promise<number>
388
+ delete(predicate: string): Promise<DeleteResult>
389
+ createIndex(index: Index | undefined | null, column: string, replace?: boolean | undefined | null, waitTimeoutS?: number | undefined | null, name?: string | undefined | null, train?: boolean | undefined | null): Promise<void>
390
+ createIndexAsync(index: Index | undefined | null, column: string, replace?: boolean | undefined | null, waitTimeoutS?: number | undefined | null, name?: string | undefined | null, train?: boolean | undefined | null): Promise<Job>
391
+ dropIndex(indexName: string): Promise<void>
392
+ prewarmIndex(indexName: string): Promise<void>
393
+ prewarmData(columns?: Array<string> | undefined | null): Promise<void>
394
+ waitForIndex(indexNames: Array<string>, timeoutS: number): Promise<void>
395
+ stats(): Promise<TableStatistics>
396
+ initialStorageOptions(): Promise<Record<string, string> | null>
397
+ latestStorageOptions(): Promise<Record<string, string> | null>
398
+ update(onlyIf: string | undefined | null, columns: Array<[string, string]>): Promise<UpdateResult>
399
+ query(): Query
400
+ /** Return a read-only table handle pinned to the current query revision. */
401
+ querySnapshot(): Promise<Table>
402
+ takeOffsets(offsets: Array<number>): TakeQuery
403
+ takeRowIds(rowIds: Array<bigint>): TakeQuery
404
+ blobColumns(): Promise<Array<string>>
405
+ fetchBlobs(column: string, rowIds: Array<bigint>, signal?: AbortSignal | undefined | null): Promise<Array<Buffer | undefined | null>>
406
+ fetchBlobFiles(column: string, rowIds: Array<bigint>, signal?: AbortSignal | undefined | null): Promise<Array<BlobFile | undefined | null>>
407
+ vectorSearch(vector: Float32Array): VectorQuery
408
+ addColumns(transforms: Array<AddColumnsSql>): Promise<AddColumnsResult>
409
+ addComputedColumns(columns: Array<AddColumnsSql>): Promise<AddColumnsResult>
410
+ refreshColumn(column: string): Promise<RefreshColumnResult>
411
+ refreshColumnAsync(column: string): Promise<Job>
412
+ functionErrors(options?: FunctionErrorsOptions | undefined | null): Promise<FunctionErrors>
413
+ refreshMaterializedView(full?: boolean | undefined | null, sourceVersion?: number | undefined | null): Promise<RefreshMaterializedViewResult>
414
+ materializedViewDefinition(): Promise<string>
415
+ addColumnsWithSchema(schemaBuf: Buffer): Promise<AddColumnsResult>
416
+ alterColumns(alterations: Array<ColumnAlteration>): Promise<AlterColumnsResult>
417
+ updateFieldMetadata(updates: Array<FieldMetadataUpdate>): Promise<UpdateFieldMetadataResult>
418
+ dropColumns(columns: Array<string>): Promise<DropColumnsResult>
419
+ setUnenforcedPrimaryKey(columns: Array<string>): Promise<void>
420
+ setLsmWriteSpec(spec: LsmWriteSpec): Promise<void>
421
+ unsetLsmWriteSpec(): Promise<void>
422
+ getLsmWriteSpec(): Promise<LsmWriteSpec | null>
423
+ closeLsmWriters(): Promise<void>
424
+ flushLsm(): Promise<void>
425
+ compactLsm(): Promise<void>
426
+ checkpointLsm(): Promise<void>
427
+ getLsmStats(includeGenerationRows: boolean): Promise<LsmStats | null>
428
+ version(): Promise<number>
429
+ checkoutCurrent(): Promise<Table>
430
+ checkout(version: number): Promise<void>
431
+ checkoutTag(tag: string): Promise<void>
432
+ checkoutLatest(): Promise<void>
433
+ listVersions(): Promise<Array<Version>>
434
+ restore(): Promise<void>
435
+ tags(): Promise<Tags>
436
+ branches(): Promise<Branches>
437
+ /** The branch this handle is scoped to, or `null` for the main branch. */
438
+ currentBranch(): string | null
439
+ optimize(beforeTimestampMs?: number | undefined | null, deleteUnverified?: boolean | undefined | null): Promise<OptimizeStats>
440
+ listIndices(): Promise<Array<IndexConfig>>
441
+ tokenize(query: string, column?: string | undefined | null, indexName?: string | undefined | null): Promise<Array<FtsToken>>
442
+ indexStats(indexName: string): Promise<IndexStatistics | null>
443
+ mergeInsert(on: Array<string>): NativeMergeInsertBuilder
444
+ usesV2ManifestPaths(): Promise<boolean>
445
+ migrateManifestPathsV2(): Promise<void>
446
+ }
447
+
448
+ export declare class TagContents {
449
+ version: number
450
+ manifestSize: number
451
+ }
452
+
453
+ export declare class Tags {
454
+ list(): Promise<Record<string, TagContents>>
455
+ getVersion(tag: string): Promise<number>
456
+ create(tag: string, version: number): Promise<void>
457
+ delete(tag: string): Promise<void>
458
+ update(tag: string, version: number): Promise<void>
459
+ }
460
+
461
+ export declare class TakeQuery {
462
+ select(columns: Array<[string, string]>): void
463
+ selectColumns(columns: Array<string>): void
464
+ withRowId(): void
465
+ useLsm(enable: boolean): void
466
+ outputSchema(): Promise<Buffer>
467
+ execute(maxBatchLength?: number | undefined | null, timeoutMs?: number | undefined | null): Promise<RecordBatchIterator>
468
+ explainPlan(verbose: boolean): Promise<string>
469
+ analyzePlan(distributedMetrics?: string | undefined | null): Promise<string>
470
+ }
471
+
472
+ export declare class VectorQuery {
473
+ column(column: string): void
474
+ addQueryVector(vector: Float32Array): void
475
+ addQueryVectorRaw(data: Uint8Array, dtype: string): void
476
+ distanceType(distanceType: string): void
477
+ postfilter(): void
478
+ refineFactor(refineFactor: number): void
479
+ nprobes(nprobe: number): void
480
+ minimumNprobes(minimumNprobe: number): void
481
+ maximumNprobes(maximumNprobes: number): void
482
+ distanceRange(lowerBound?: number | undefined | null, upperBound?: number | undefined | null): void
483
+ ef(ef: number): void
484
+ bypassVectorIndex(): void
485
+ onlyIf(predicate: string): void
486
+ fullTextSearch(query: object): void
487
+ select(columns: Array<[string, string]>): void
488
+ selectColumns(columns: Array<string>): void
489
+ limit(limit: number): void
490
+ offset(offset: number): void
491
+ fastSearch(): void
492
+ withRowId(): void
493
+ useLsm(enable: boolean): void
494
+ rerank(rerankHybrid: (arg: RerankHybridCallbackArgs) => Promise<Buffer>): void
495
+ orderBy(ordering?: Array<ColumnOrdering> | undefined | null): void
496
+ outputSchema(): Promise<Buffer>
497
+ execute(maxBatchLength?: number | undefined | null, timeoutMs?: number | undefined | null): Promise<RecordBatchIterator>
498
+ explainPlan(verbose: boolean): Promise<string>
499
+ analyzePlan(distributedMetrics?: string | undefined | null): Promise<string>
500
+ }
501
+
502
+ export interface AddColumnsResult {
503
+ version: number
504
+ }
505
+
506
+ /** A definition of a new column to add to a table. */
507
+ export interface AddColumnsSql {
508
+ /** The name of the new column. */
509
+ name: string
510
+ /**
511
+ * The values to populate the new column with, as a SQL expression.
512
+ * The expression can reference other columns in the table.
513
+ */
514
+ valueSql: string
515
+ }
516
+
517
+ export interface AddResult {
518
+ version: number
519
+ }
520
+
521
+ export interface AlterColumnsResult {
522
+ version: number
523
+ }
524
+
525
+ export interface BlobRange {
526
+ start: bigint
527
+ end: bigint
528
+ }
529
+
530
+ /**
531
+ * Live state of one bucket. A table is N buckets on one node; flattening to a
532
+ * single number hides the one hot bucket that is usually why someone opened
533
+ * this endpoint.
534
+ */
535
+ export interface BucketStats {
536
+ /** The shard this bucket writes. */
537
+ shardId: string
538
+ /** `"Active"` or `"Sealed"` (drop-table 2PC in flight). */
539
+ status: string
540
+ /** Epoch of the writer that currently owns the shard. */
541
+ writerEpoch: number
542
+ /** Version of the shard manifest these numbers were read from. */
543
+ manifestVersion: number
544
+ /** The generation the active memtable will become. */
545
+ currentGeneration: number
546
+ /** WAL position replay resumes from. */
547
+ replayAfterWalEntryPosition: number
548
+ /**
549
+ * Highest WAL position the writer has seen. The difference against
550
+ * `replayAfterWalEntryPosition` is the WAL lag.
551
+ */
552
+ walEntryPositionLastSeen: number
553
+ /** Flushed L0 generations not yet merged into the base table. */
554
+ generations: Array<GenerationStats>
555
+ /**
556
+ * Whether a pass owns this bucket's compaction latch right now. Says *a*
557
+ * driver is running, not *whose*, and the latch is held from dispatch —
558
+ * including while the pass queues for a pod-wide compactor permit. Read it
559
+ * as "do not pile on", never as "mine is progressing".
560
+ */
561
+ compacting: boolean
562
+ /**
563
+ * Oldest first, active last. Absent for a `"Sealed"` bucket, whose
564
+ * in-memory state is torn down.
565
+ */
566
+ memtables?: Array<MemtableStats>
567
+ }
568
+
569
+ export interface CatalogOptions {
570
+ apiKey?: string
571
+ clientConfig?: ClientConfig
572
+ /** SQL service endpoint inherited by database connections. */
573
+ sqlHostOverride?: string
574
+ readConsistencyInterval?: number
575
+ oauthConfig?: OAuthConfig
576
+ }
577
+
578
+ export interface ClientConfig {
579
+ userAgent?: string
580
+ retryConfig?: RetryConfig
581
+ timeoutConfig?: TimeoutConfig
582
+ extraHeaders?: Record<string, string>
583
+ /**
584
+ * The delimiter joining a namespace path and a name into one object
585
+ * identifier. `"$"` is the only supported value, and leaving this unset is
586
+ * how to get it; anything else is rejected when the connection is created.
587
+ */
588
+ idDelimiter?: string
589
+ tlsConfig?: TlsConfig
590
+ /**
591
+ * User identifier for tracking purposes.
592
+ *
593
+ * This is sent as the `x-lancedb-user-id` header in requests to LanceDB Cloud/Enterprise.
594
+ * It can be set directly, or via the `LANCEDB_USER_ID` environment variable.
595
+ * Alternatively, set `LANCEDB_USER_ID_ENV_KEY` to specify another environment
596
+ * variable that contains the user ID value.
597
+ */
598
+ userId?: string
599
+ }
600
+
601
+ /**
602
+ * A definition of a column alteration. The alteration changes the column at
603
+ * `path` to have the new name `name`, to be nullable if `nullable` is true,
604
+ * and to have the data type `data_type`. At least one of `rename` or `nullable`
605
+ * must be provided.
606
+ */
607
+ export interface ColumnAlteration {
608
+ /**
609
+ * The path to the column to alter. This is a dot-separated path to the column.
610
+ * If it is a top-level column then it is just the name of the column. If it is
611
+ * a nested column then it is the path to the column, e.g. "a.b.c" for a column
612
+ * `c` nested inside a column `b` nested inside a column `a`.
613
+ */
614
+ path: string
615
+ /**
616
+ * The new name of the column. If not provided then the name will not be changed.
617
+ * This must be distinct from the names of all other columns in the table.
618
+ */
619
+ rename?: string
620
+ /**
621
+ * A new data type for the column. If not provided then the data type will not be changed.
622
+ * Changing data types is limited to casting to the same general type. For example, these
623
+ * changes are valid:
624
+ * * `int32` -> `int64` (integers)
625
+ * * `double` -> `float` (floats)
626
+ * * `string` -> `large_string` (strings)
627
+ * But these changes are not:
628
+ * * `int32` -> `double` (mix integers and floats)
629
+ * * `string` -> `int32` (mix strings and integers)
630
+ */
631
+ dataType?: string
632
+ /** Set the new nullability. Note that a nullable column cannot be made non-nullable. */
633
+ nullable?: boolean
634
+ }
635
+
636
+ export interface ColumnOrdering {
637
+ ascending: boolean
638
+ nullsFirst: boolean
639
+ columnName: string
640
+ }
641
+
642
+ /** Statistics about a compaction operation. */
643
+ export interface CompactionStats {
644
+ /** The number of fragments removed */
645
+ fragmentsRemoved: number
646
+ /** The number of new, compacted fragments added */
647
+ fragmentsAdded: number
648
+ /** The number of data files removed */
649
+ filesRemoved: number
650
+ /** The number of new, compacted data files added */
651
+ filesAdded: number
652
+ }
653
+
654
+ export interface ConnectionOptions {
655
+ /**
656
+ * The interval, in seconds, at which to check for updates to the table
657
+ * from other processes. If None, then consistency is not checked. For
658
+ * performance reasons, this is the default. For strong consistency, set
659
+ * this to zero seconds. Then every read will check for updates from other
660
+ * processes. As a compromise, you can set this to a non-zero value for
661
+ * eventual consistency. If more than that interval has passed since the
662
+ * last check, then the table will be checked for updates. Note: this
663
+ * consistency only applies to read operations. Write operations are
664
+ * always consistent.
665
+ *
666
+ * Stronger consistency is not free. The smaller the interval, the more
667
+ * often each read pays the cost of checking for updates against object
668
+ * storage, raising per-read latency and cost.
669
+ */
670
+ readConsistencyInterval?: number
671
+ /**
672
+ * (For LanceDB OSS only): configuration for object storage.
673
+ *
674
+ * The available options are described at https://docs.lancedb.com/storage/
675
+ */
676
+ storageOptions?: Record<string, string>
677
+ /**
678
+ * (For LanceDB OSS only): use directory namespace manifests as the source
679
+ * of truth for table metadata. Existing directory-listed root tables are
680
+ * migrated into the manifest on access.
681
+ */
682
+ manifestEnabled?: boolean
683
+ /**
684
+ * (For LanceDB OSS only): extra properties for the backing namespace
685
+ * client used by manifest-enabled native connections.
686
+ */
687
+ namespaceClientProperties?: Record<string, string>
688
+ /**
689
+ * (For LanceDB OSS only): the session to use for this connection. Holds
690
+ * shared caches and other session-specific state.
691
+ */
692
+ session?: Session
693
+ /** (For LanceDB cloud only): configuration for the remote HTTP client. */
694
+ clientConfig?: ClientConfig
695
+ /**
696
+ * (For LanceDB cloud only): the API key to use with LanceDB Cloud.
697
+ *
698
+ * Can also be set via the environment variable `LANCEDB_API_KEY`.
699
+ */
700
+ apiKey?: string
701
+ /**
702
+ * (For LanceDB cloud only): the region to use for LanceDB cloud.
703
+ * Defaults to 'us-east-1'.
704
+ */
705
+ region?: string
706
+ /**
707
+ * (For LanceDB cloud only): the host to use for LanceDB cloud. Used
708
+ * for testing purposes.
709
+ */
710
+ hostOverride?: string
711
+ /**
712
+ * (For LanceDB cloud only): OAuth configuration for IdP-based
713
+ * authentication (e.g., Azure Entra ID). When set, token acquisition
714
+ * and refresh are handled entirely in Rust. TypeScript users should pass
715
+ * the public `OAuthConfig` type exported from `@lancedb/lancedb`.
716
+ */
717
+ oauthConfig?: OAuthConfig
718
+ }
719
+
720
+ export interface ConnectNamespaceOptions {
721
+ /**
722
+ * The interval, in seconds, at which to check for updates to the table
723
+ * from other processes. If None, then consistency is not checked. For
724
+ * performance reasons, this is the default. For strong consistency, set
725
+ * this to zero seconds. Then every read will check for updates from other
726
+ * processes. As a compromise, you can set this to a non-zero value for
727
+ * eventual consistency.
728
+ */
729
+ readConsistencyInterval?: number
730
+ /**
731
+ * Configuration for object storage. The available options are described
732
+ * at https://docs.lancedb.com/storage/
733
+ */
734
+ storageOptions?: Record<string, string>
735
+ /** Extra properties for the backing namespace client. */
736
+ namespaceClientProperties?: Record<string, string>
737
+ /**
738
+ * The session to use for this connection. Holds shared caches and other
739
+ * session-specific state.
740
+ */
741
+ session?: Session
742
+ }
743
+
744
+ export interface CreateNamespaceResponse {
745
+ properties?: Record<string, string>
746
+ transactionId?: string
747
+ }
748
+
749
+ export interface DeleteResult {
750
+ numDeletedRows: number
751
+ version: number
752
+ }
753
+
754
+ export interface DescribeNamespaceResponse {
755
+ properties?: Record<string, string>
756
+ }
757
+
758
+ export interface DropColumnsResult {
759
+ version: number
760
+ }
761
+
762
+ export interface DropNamespaceResponse {
763
+ properties?: Record<string, string>
764
+ transactionId?: Array<string>
765
+ }
766
+
767
+ /**
768
+ * A per-field metadata update, addressed by dot-path. Merges into the field's
769
+ * existing metadata by default; a `null` value deletes a key, and `replace`
770
+ * swaps the field's entire metadata map.
771
+ */
772
+ export interface FieldMetadataUpdate {
773
+ /** Dot-separated path to the field (e.g. "embedding" or "a.b.c"). */
774
+ path: string
775
+ /** Metadata keys to set; a `null` value deletes that key. */
776
+ metadata: Record<string, string | undefined | null>
777
+ /** If true, replace the field's entire metadata map instead of merging. */
778
+ replace?: boolean
779
+ }
780
+
781
+ export interface FragmentStatistics {
782
+ /** The number of fragments in the table */
783
+ numFragments: number
784
+ /** The number of uncompacted fragments in the table */
785
+ numSmallFragments: number
786
+ /** Statistics on the number of rows in the table fragments */
787
+ lengths: FragmentSummaryStats
788
+ }
789
+
790
+ export interface FragmentSummaryStats {
791
+ /** The number of rows in the fragment with the fewest rows */
792
+ min: number
793
+ /** The number of rows in the fragment with the most rows */
794
+ max: number
795
+ /** The mean number of rows in the fragments */
796
+ mean: number
797
+ /** The 25th percentile of number of rows in the fragments */
798
+ p25: number
799
+ /** The 50th percentile of number of rows in the fragments */
800
+ p50: number
801
+ /** The 75th percentile of number of rows in the fragments */
802
+ p75: number
803
+ /** The 99th percentile of number of rows in the fragments */
804
+ p99: number
805
+ }
806
+
807
+ /** A token produced by the tokenizer configured on a full-text search index. */
808
+ export interface FtsToken {
809
+ /** The token text after the index tokenizer has applied its filters. */
810
+ text: string
811
+ /** The token position used by full-text query matching. */
812
+ position: number
813
+ }
814
+
815
+ /**
816
+ * A fragment whose per-row error detail was capped: `rowsSkipped` rows
817
+ * failed, of which only `rowsRecorded` have a record of their own.
818
+ */
819
+ export interface FunctionErrorFragment {
820
+ jobId: string
821
+ fragmentId: number
822
+ rowsSkipped: number
823
+ rowsRecorded: number
824
+ }
825
+
826
+ /** One row a Function refresh skipped, as the server recorded it. */
827
+ export interface FunctionErrorRecord {
828
+ jobId: string
829
+ fragmentId: number
830
+ /**
831
+ * The row's offset within the fragment; absent when the fragment's
832
+ * detail was capped.
833
+ */
834
+ rowOffset?: number
835
+ column: string
836
+ function: string
837
+ functionVersion: string
838
+ tableVersion: number
839
+ errorType: string
840
+ errorMessage: string
841
+ createdAtMillis: number
842
+ }
843
+
844
+ /** A table's per-row Function errors. */
845
+ export interface FunctionErrors {
846
+ /** The recorded rows, newest job first. */
847
+ records: Array<FunctionErrorRecord>
848
+ /** Fragments whose detail was capped. */
849
+ fragments: Array<FunctionErrorFragment>
850
+ /** Whether the listing stopped at its limit. */
851
+ truncated: boolean
852
+ }
853
+
854
+ /** Which per-row Function errors to list; every filter is optional. */
855
+ export interface FunctionErrorsOptions {
856
+ /** Only errors recorded by this job. */
857
+ jobId?: string
858
+ /** Only errors on this column. */
859
+ column?: string
860
+ /** At most this many records (server default 10000, cap 100000). */
861
+ limit?: number
862
+ }
863
+
864
+ /** One flushed L0 generation. */
865
+ export interface GenerationStats {
866
+ /** The generation number. Increases as memtables are sealed into L0. */
867
+ generation: number
868
+ /** On-disk size of the generation. */
869
+ bytes: number
870
+ /**
871
+ * Present only when `includeGenerationRows` was requested. Off by default
872
+ * because each count opens an uncached Lance dataset.
873
+ */
874
+ rows?: number
875
+ }
876
+
877
+ /** A description of an index currently configured on a column */
878
+ export interface IndexConfig {
879
+ /** The name of the index */
880
+ name: string
881
+ /** The type of the index */
882
+ indexType: string
883
+ /**
884
+ * The columns in the index
885
+ *
886
+ * Currently this is always an array of size 1. In the future there may
887
+ * be more columns to represent composite indices.
888
+ */
889
+ columns: Array<string>
890
+ /**
891
+ * The UUID of the first segment of the index.
892
+ *
893
+ * `undefined` for remote tables, which do not yet surface this.
894
+ */
895
+ indexUuid?: string
896
+ /**
897
+ * The protobuf type URL, a precise type identifier for the index.
898
+ *
899
+ * `undefined` for remote tables.
900
+ */
901
+ typeUrl?: string
902
+ /**
903
+ * When the index was created.
904
+ *
905
+ * `undefined` for remote tables or indices created before timestamps were tracked.
906
+ */
907
+ createdAt?: Date
908
+ /**
909
+ * The number of rows indexed, across all segments.
910
+ *
911
+ * `undefined` for remote tables.
912
+ */
913
+ numIndexedRows?: number
914
+ /**
915
+ * The number of rows not yet covered by this index.
916
+ *
917
+ * `undefined` for remote tables.
918
+ */
919
+ numUnindexedRows?: number
920
+ /**
921
+ * The total size in bytes of all index files across all segments.
922
+ *
923
+ * `undefined` for remote tables or indices without size tracking.
924
+ */
925
+ sizeBytes?: number
926
+ /**
927
+ * The number of segments that make up the index.
928
+ *
929
+ * `undefined` for remote tables.
930
+ */
931
+ numSegments?: number
932
+ /**
933
+ * The on-disk index format version.
934
+ *
935
+ * `undefined` for remote tables.
936
+ */
937
+ indexVersion?: number
938
+ /**
939
+ * Index-type-specific details parsed as a JavaScript object.
940
+ *
941
+ * Falls back to a raw string if JSON parsing fails. `undefined` for
942
+ * remote tables or when details are unavailable.
943
+ */
944
+ indexDetails?: any
945
+ }
946
+
947
+ export interface IndexStatistics {
948
+ /** The number of rows indexed by the index */
949
+ numIndexedRows: number
950
+ /** The number of rows not indexed */
951
+ numUnindexedRows: number
952
+ /** The type of the index */
953
+ indexType: string
954
+ /**
955
+ * The type of the distance function used by the index. This is only
956
+ * present for vector indices. Scalar and full text search indices do
957
+ * not have a distance function.
958
+ */
959
+ distanceType?: string
960
+ /** The number of parts this index is split into. */
961
+ numIndices?: number
962
+ }
963
+
964
+ /** The server's account of why a job failed. */
965
+ export interface JobFailureInfo {
966
+ phase?: string
967
+ message?: string
968
+ retryable?: boolean
969
+ }
970
+
971
+ /** A row from `Connection.listJobs`: one server-side job. */
972
+ export interface JobInfo {
973
+ /**
974
+ * The job id -- what `Connection.openJob` and `Connection.cancelJob`
975
+ * accept.
976
+ */
977
+ jobId: string
978
+ /** The table the job runs against, without URI or namespace. */
979
+ table: string
980
+ jobType: string
981
+ /** Lifecycle state: "running", "finished", "failed", or "cancelled". */
982
+ state: string
983
+ /** When the job was created, in milliseconds since the epoch. */
984
+ createdAtMillis: number
985
+ }
986
+
987
+ /** The catalog of described LanceDB metrics. Empty until the recorder is installed. */
988
+ export declare function lancedbMetricsCatalog(): Array<MetricDescription>
989
+
990
+ export interface ListDatabasesResponse {
991
+ databases: Array<string>
992
+ pageToken?: string
993
+ }
994
+
995
+ export interface ListNamespacesResponse {
996
+ namespaces: Array<string>
997
+ pageToken?: string
998
+ }
999
+
1000
+ export interface ListTablesResponse {
1001
+ tables: Array<string>
1002
+ pageToken?: string
1003
+ }
1004
+
1005
+ /**
1006
+ * Live per-bucket LSM state, as returned by `Table#getLsmStats`.
1007
+ *
1008
+ * Nothing here is derived: sums and differences (total L0 bytes, WAL lag) are
1009
+ * the caller's to compute.
1010
+ */
1011
+ export interface LsmStats {
1012
+ /** One entry per bucket backing this table. */
1013
+ buckets: Array<BucketStats>
1014
+ }
1015
+
1016
+ /**
1017
+ * Specification selecting Lance's MemWAL LSM-style write path for
1018
+ * `mergeInsert`.
1019
+ *
1020
+ * `specType` must be `"bucket"`, `"identity"`, or `"unsharded"`. For
1021
+ * `"bucket"`, `column` and `numBuckets` are required; for `"identity"`,
1022
+ * `column` is required.
1023
+ */
1024
+ export interface LsmWriteSpec {
1025
+ /** One of `"bucket"`, `"identity"`, or `"unsharded"`. */
1026
+ specType: string
1027
+ /** Bucket and identity variants: the sharding column. */
1028
+ column?: string
1029
+ /** Bucket variant: the number of buckets, in `[1, 1024]`. */
1030
+ numBuckets?: number
1031
+ /**
1032
+ * Indexes the MemWAL keeps up to date. Omitted resolves every
1033
+ * maintainable index on install; an empty array means none.
1034
+ */
1035
+ maintainedIndexes?: Array<string>
1036
+ /** Default `ShardWriter` configuration recorded in the MemWAL index. */
1037
+ writerConfigDefaults?: Record<string, string>
1038
+ }
1039
+
1040
+ /** One in-memory memtable. */
1041
+ export interface MemtableStats {
1042
+ /** The generation this memtable will become once sealed. */
1043
+ generation: number
1044
+ /** Rows currently buffered. */
1045
+ rows: number
1046
+ /** Estimated in-memory size. */
1047
+ bytes: number
1048
+ /** Record batches currently buffered. */
1049
+ batches: number
1050
+ /**
1051
+ * Names of the indexes this memtable carries. An absent name is the whole
1052
+ * answer to "why is my fresh-tier search on that column brute-force".
1053
+ */
1054
+ indexes: Array<string>
1055
+ }
1056
+
1057
+ export interface MergeResult {
1058
+ version: number
1059
+ numInsertedRows: number
1060
+ numUpdatedRows: number
1061
+ numDeletedRows: number
1062
+ numAttempts: number
1063
+ numRows: number
1064
+ }
1065
+
1066
+ /** One cumulative histogram bucket: all samples with value `<= le`. */
1067
+ export interface MetricBucket {
1068
+ /** The inclusive upper bound of the bucket, or `"+Inf"` for the final bucket. */
1069
+ le: string
1070
+ /** Cumulative number of samples less than or equal to `le`. */
1071
+ cumulativeCount: number
1072
+ }
1073
+
1074
+ /** A described metric, used by the JavaScript layer to create instruments up front. */
1075
+ export interface MetricDescription {
1076
+ name: string
1077
+ kind: string
1078
+ unit?: string
1079
+ description: string
1080
+ }
1081
+
1082
+ /**
1083
+ * One aggregated metric data point. For counters and gauges only `value` is
1084
+ * set; for histograms `buckets` (cumulative `le` counts), `count`, and `sum`
1085
+ * are set.
1086
+ */
1087
+ export interface MetricPoint {
1088
+ name: string
1089
+ kind: string
1090
+ attributes: Record<string, string>
1091
+ value?: number
1092
+ buckets?: Array<MetricBucket>
1093
+ count?: number
1094
+ sum?: number
1095
+ }
1096
+
1097
+ /**
1098
+ * OAuth configuration for LanceDB authentication.
1099
+ *
1100
+ * This is the generated napi-rs binding shape. TypeScript users should prefer
1101
+ * the public `OAuthConfig` type exported from `@lancedb/lancedb`.
1102
+ *
1103
+ * All token acquisition and refresh is handled in the Rust layer.
1104
+ */
1105
+ export interface OAuthConfig {
1106
+ /**
1107
+ * OIDC issuer URL or OAuth authority URL.
1108
+ * For Azure: `https://login.microsoftonline.com/{tenant_id}/v2.0`
1109
+ */
1110
+ issuerUrl: string
1111
+ /** Application / Client ID. */
1112
+ clientId: string
1113
+ /**
1114
+ * OAuth scopes to request. For Azure managed identity, exactly one scope
1115
+ * or resource is required. For example: `["api://{app_id}/.default"]`
1116
+ */
1117
+ scopes: Array<string>
1118
+ /** Optional resource indicator for authorization and token requests. */
1119
+ resource?: string
1120
+ /** Optional provider-specific audience for authorization and token requests. */
1121
+ audience?: string
1122
+ /**
1123
+ * Authentication flow: "client_credentials", "authorization_code",
1124
+ * "device_code", or "azure_managed_identity"
1125
+ */
1126
+ flow?: string
1127
+ /** Client secret (required for client_credentials). */
1128
+ clientSecret?: string
1129
+ /**
1130
+ * How the client authenticates to the token endpoint: "none",
1131
+ * "client_secret_basic", or "client_secret_post". Defaults to
1132
+ * "client_secret_basic" when a client secret is set, and "none" for
1133
+ * public clients.
1134
+ */
1135
+ clientAuthMethod?: string
1136
+ /** Loopback redirect URI for authorization_code. */
1137
+ redirectUri?: string
1138
+ /** Port for the authorization_code loopback callback server. */
1139
+ callbackPort?: number
1140
+ /** Whether authorization_code uses S256 PKCE (default: true). */
1141
+ usePkce?: boolean
1142
+ /** Client ID for user-assigned managed identity (azure_managed_identity). */
1143
+ managedIdentityClientId?: string
1144
+ /**
1145
+ * Seconds before expiry to trigger proactive refresh (default: 300).
1146
+ * Keep this well below the token TTL; if it is greater than or equal to
1147
+ * the TTL, each request refreshes the token.
1148
+ */
1149
+ refreshBufferSecs?: number
1150
+ /**
1151
+ * Opt in to the persistent token cache so short-lived processes reuse
1152
+ * one session. Only refresh tokens are persisted.
1153
+ */
1154
+ tokenCache?: TokenCacheOptions
1155
+ }
1156
+
1157
+ export interface OpenTableOptions {
1158
+ storageOptions?: Record<string, string>
1159
+ }
1160
+
1161
+ /** Statistics about an optimize operation */
1162
+ export interface OptimizeStats {
1163
+ /** Statistics about the compaction operation */
1164
+ compaction: CompactionStats
1165
+ /** Statistics about the removal operation */
1166
+ prune: RemovalStats
1167
+ }
1168
+
1169
+ /** Create a permutation builder for the given table */
1170
+ export declare function permutationBuilder(table: Table): PermutationBuilder
1171
+
1172
+ export interface RefreshColumnResult {
1173
+ rowsFilled: number
1174
+ version: number
1175
+ }
1176
+
1177
+ export interface RefreshMaterializedViewResult {
1178
+ /** How the view was brought up to date: "rebuild", "incremental" or "no_op". */
1179
+ mode: string
1180
+ rowsWritten: number
1181
+ sourceVersion: number
1182
+ version: number
1183
+ }
1184
+
1185
+ /**
1186
+ * Install the LanceDB metrics recorder as the process-global `metrics` recorder.
1187
+ *
1188
+ * Returns `true` if the recorder is installed (now or previously). Returns
1189
+ * `false` if a *different* recorder is already installed — `metrics` allows
1190
+ * only one global recorder per process, so LanceDB cannot coexist with another.
1191
+ */
1192
+ export declare function registerLancedbMetricsRecorder(): boolean
1193
+
1194
+ /** Statistics about a cleanup operation */
1195
+ export interface RemovalStats {
1196
+ /** The number of bytes removed */
1197
+ bytesRemoved: number
1198
+ /** The number of old versions removed */
1199
+ oldVersionsRemoved: number
1200
+ }
1201
+
1202
+ export interface RerankHybridCallbackArgs {
1203
+ query: string
1204
+ vecResults: Buffer
1205
+ ftsResults: Buffer
1206
+ }
1207
+
1208
+ /** Retry configuration for the remote HTTP client. */
1209
+ export interface RetryConfig {
1210
+ /**
1211
+ * The maximum number of retries for a request. Default is 3. You can also
1212
+ * set this via the environment variable `LANCE_CLIENT_MAX_RETRIES`.
1213
+ */
1214
+ retries?: number
1215
+ /**
1216
+ * The maximum number of retries for connection errors. Default is 3. You
1217
+ * can also set this via the environment variable `LANCE_CLIENT_CONNECT_RETRIES`.
1218
+ */
1219
+ connectRetries?: number
1220
+ /**
1221
+ * The maximum number of retries for read errors. Default is 3. You can also
1222
+ * set this via the environment variable `LANCE_CLIENT_READ_RETRIES`.
1223
+ */
1224
+ readRetries?: number
1225
+ /**
1226
+ * The backoff factor to apply between retries. Default is 0.25. Between each retry
1227
+ * the client will wait for the amount of seconds:
1228
+ * `{backoff factor} * (2 ** ({number of previous retries}))`. So for the default
1229
+ * of 0.25, the first retry will wait 0.25 seconds, the second retry will wait 0.5
1230
+ * seconds, the third retry will wait 1 second, etc.
1231
+ *
1232
+ * You can also set this via the environment variable
1233
+ * `LANCE_CLIENT_RETRY_BACKOFF_FACTOR`.
1234
+ */
1235
+ backoffFactor?: number
1236
+ /**
1237
+ * The jitter to apply to the backoff factor, in seconds. Default is 0.25.
1238
+ *
1239
+ * A random value between 0 and `backoff_jitter` will be added to the backoff
1240
+ * factor in seconds. So for the default of 0.25 seconds, between 0 and 250
1241
+ * milliseconds will be added to the sleep between each retry.
1242
+ *
1243
+ * You can also set this via the environment variable
1244
+ * `LANCE_CLIENT_RETRY_BACKOFF_JITTER`.
1245
+ */
1246
+ backoffJitter?: number
1247
+ /**
1248
+ * The HTTP status codes for which to retry the request. Default is
1249
+ * [429, 500, 502, 503].
1250
+ *
1251
+ * You can also set this via the environment variable
1252
+ * `LANCE_CLIENT_RETRY_STATUSES`. Use a comma-separated list of integers.
1253
+ */
1254
+ statuses?: Array<number>
1255
+ }
1256
+
1257
+ /** Result of `OAuthSession.logout()`. */
1258
+ export interface SessionLogout {
1259
+ /**
1260
+ * Whether a cached credential was removed. `false` means no matching
1261
+ * session was cached; logout is idempotent.
1262
+ */
1263
+ removed: boolean
1264
+ }
1265
+
1266
+ /**
1267
+ * Safe, non-secret view of a cached OAuth session, returned by
1268
+ * `OAuthSession.status()` and `OAuthSession.login()`.
1269
+ */
1270
+ export interface SessionStatus {
1271
+ /**
1272
+ * Whether a cached session exists that can obtain tokens without
1273
+ * interactive authentication.
1274
+ */
1275
+ refreshable: boolean
1276
+ /** Canonical issuer URL of the cached session. */
1277
+ issuerUrl: string
1278
+ /** Client ID of the cached session. */
1279
+ clientId: string
1280
+ /** Canonical (sorted, de-duplicated) scopes of the cached session. */
1281
+ scopes: Array<string>
1282
+ /** Optional resource indicator for authorization and token requests. */
1283
+ resource?: string
1284
+ /** Optional provider-specific audience for authorization and token requests. */
1285
+ audience?: string
1286
+ /** Flow that produced the cached session. */
1287
+ flow: string
1288
+ /** When the cached session was obtained, as Unix seconds. */
1289
+ obtainedAt?: number
1290
+ }
1291
+
1292
+ export interface ShuffleOptions {
1293
+ seed?: number
1294
+ clumpSize?: number
1295
+ }
1296
+
1297
+ /**
1298
+ * A point-in-time snapshot of every recorded metric. Empty until the recorder
1299
+ * is installed.
1300
+ */
1301
+ export declare function snapshotLancedbMetrics(): Array<MetricPoint>
1302
+
1303
+ export interface SplitCalculatedOptions {
1304
+ calculation: string
1305
+ splitNames?: Array<string>
1306
+ }
1307
+
1308
+ export interface SplitHashOptions {
1309
+ columns: Array<string>
1310
+ splitWeights: Array<number>
1311
+ discardWeight?: number
1312
+ splitNames?: Array<string>
1313
+ }
1314
+
1315
+ export interface SplitRandomOptions {
1316
+ ratios?: Array<number>
1317
+ counts?: Array<number>
1318
+ fixed?: number
1319
+ seed?: number
1320
+ clumpSize?: number
1321
+ splitNames?: Array<string>
1322
+ }
1323
+
1324
+ export interface SplitSequentialOptions {
1325
+ ratios?: Array<number>
1326
+ counts?: Array<number>
1327
+ fixed?: number
1328
+ splitNames?: Array<string>
1329
+ }
1330
+
1331
+ export interface TableStatistics {
1332
+ /**
1333
+ * The total size, in bytes, of the table's data files, index files, and
1334
+ * overlay files
1335
+ *
1336
+ * Read from the manifest, so this excludes deletion files and manifests.
1337
+ */
1338
+ totalBytes: number
1339
+ /** The number of rows in the table */
1340
+ numRows: number
1341
+ /** The number of indices in the table */
1342
+ numIndices: number
1343
+ /** Statistics on table fragments */
1344
+ fragmentStats: FragmentStatistics
1345
+ }
1346
+
1347
+ /** Timeout configuration for remote HTTP client. */
1348
+ export interface TimeoutConfig {
1349
+ /**
1350
+ * The overall timeout for the entire request in seconds. This includes
1351
+ * connection, send, and read time. If the entire request doesn't complete
1352
+ * within this time, it will fail. Default is None (no overall timeout).
1353
+ * This can also be set via the environment variable `LANCE_CLIENT_TIMEOUT`,
1354
+ * as an integer number of seconds.
1355
+ */
1356
+ timeout?: number
1357
+ /**
1358
+ * The timeout for establishing a connection in seconds. Default is 120
1359
+ * seconds (2 minutes). This can also be set via the environment variable
1360
+ * `LANCE_CLIENT_CONNECT_TIMEOUT`, as an integer number of seconds.
1361
+ */
1362
+ connectTimeout?: number
1363
+ /**
1364
+ * The timeout for reading data from the server in seconds. Default is 300
1365
+ * seconds (5 minutes). This can also be set via the environment variable
1366
+ * `LANCE_CLIENT_READ_TIMEOUT`, as an integer number of seconds.
1367
+ */
1368
+ readTimeout?: number
1369
+ /**
1370
+ * The timeout for keeping idle connections in the connection pool in seconds.
1371
+ * Default is 300 seconds (5 minutes). This can also be set via the
1372
+ * environment variable `LANCE_CLIENT_CONNECTION_TIMEOUT`, as an integer
1373
+ * number of seconds.
1374
+ */
1375
+ poolIdleTimeout?: number
1376
+ }
1377
+
1378
+ /** TLS/mTLS configuration for the remote HTTP client. */
1379
+ export interface TlsConfig {
1380
+ /** Path to the client certificate file (PEM format) for mTLS authentication. */
1381
+ certFile?: string
1382
+ /** Path to the client private key file (PEM format) for mTLS authentication. */
1383
+ keyFile?: string
1384
+ /** Path to the CA certificate file (PEM format) for server verification. */
1385
+ sslCaCert?: string
1386
+ /** Whether to verify the hostname in the server's certificate. */
1387
+ assertHostname?: boolean
1388
+ }
1389
+
1390
+ /**
1391
+ * Options for the persistent OAuth token cache.
1392
+ *
1393
+ * The cache is opt-in: it is only used when set as `tokenCache` on
1394
+ * `OAuthConfig`. Only refresh tokens are persisted, in a private directory
1395
+ * with owner-only permissions, so short-lived processes can reuse an
1396
+ * authenticated session instead of re-prompting on every start.
1397
+ */
1398
+ export interface TokenCacheOptions {
1399
+ /**
1400
+ * Directory that holds cached credentials. Defaults to
1401
+ * `$XDG_CACHE_HOME/lancedb/oauth`, `$HOME/.cache/lancedb/oauth` on Unix,
1402
+ * or `%LOCALAPPDATA%\lancedb\oauth` on Windows. The directory is created
1403
+ * with owner-only permissions (`0700`) when missing.
1404
+ */
1405
+ cacheDir?: string
1406
+ /**
1407
+ * How long to wait for the cross-process refresh lock before failing,
1408
+ * in seconds (default: 30).
1409
+ */
1410
+ lockTimeoutSecs?: number
1411
+ }
1412
+
1413
+ export declare function tokenize(query: string, baseTokenizer?: string | undefined | null, language?: string | undefined | null, maxTokenLength?: number | undefined | null, lowerCase?: boolean | undefined | null, stem?: boolean | undefined | null, removeStopWords?: boolean | undefined | null, customStopWords?: Array<string> | undefined | null, asciiFolding?: boolean | undefined | null, ngramMinLength?: number | undefined | null, ngramMaxLength?: number | undefined | null, prefixOnly?: boolean | undefined | null): Array<FtsToken>
1414
+
1415
+ export interface UpdateFieldMetadataResult {
1416
+ version: number
1417
+ }
1418
+
1419
+ export interface UpdateResult {
1420
+ rowsUpdated: number
1421
+ version: number
1422
+ }
1423
+
1424
+ export interface Version {
1425
+ version: number
1426
+ timestamp: number
1427
+ metadata: Record<string, string>
1428
+ }
1429
+
1430
+ /** What a database records about one view. */
1431
+ export interface ViewDescription {
1432
+ name: string
1433
+ namespacePath: Array<string>
1434
+ query: string
1435
+ defaultDatabase: string
1436
+ defaultNamespacePath: Array<string>
1437
+ /**
1438
+ * The view's schema as an empty Arrow IPC file, the way a table reports
1439
+ * its own.
1440
+ */
1441
+ schema: Buffer
1442
+ }
1443
+
1444
+ /**
1445
+ * Progress snapshot for a write operation, delivered to the JS callback
1446
+ * passed to `Table.add`.
1447
+ */
1448
+ export interface WriteProgressInfo {
1449
+ /** Number of rows written so far. */
1450
+ outputRows: number
1451
+ /** Number of bytes written so far. */
1452
+ outputBytes: number
1453
+ /**
1454
+ * Total rows expected, if the input source reports it.
1455
+ * Always set on the final callback (where `done` is `true`).
1456
+ */
1457
+ totalRows?: number
1458
+ /** Wall-clock seconds since monitoring started. */
1459
+ elapsedSeconds: number
1460
+ /** Number of parallel write tasks currently in flight. */
1461
+ activeTasks: number
1462
+ /** Total number of parallel write tasks (the write parallelism). */
1463
+ totalTasks: number
1464
+ /** `true` for the final callback; `false` otherwise. */
1465
+ done: boolean
1466
+ }