@statsmcp/core 0.4.1 → 0.6.0

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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { a as UrlSnapshotReaderOptions, c as readSnapshot, d as writeSnapshot, i as SnapshotReader, l as snapshotKey, n as Snapshot, o as bucketSnapshotReader, r as SnapshotBucket, s as firstSnapshot, t as SNAPSHOT_VERSION, u as urlSnapshotReader } from "./snapshot-DwtIVsqx.js";
1
+ import { a as UrlSnapshotReaderOptions, c as readSnapshot, d as writeSnapshot, i as SnapshotReader, l as snapshotKey, n as Snapshot, o as bucketSnapshotReader, r as SnapshotBucket, s as firstSnapshot, t as SNAPSHOT_VERSION, u as urlSnapshotReader } from "./snapshot-BCJSa_1e.js";
2
2
  import { McpServer } from "@modelcontextprotocol/server";
3
3
  import { z } from "zod";
4
+ import { AsPlainObject } from "minisearch";
4
5
  interface Cache {
5
6
  get(key: string): Promise<string | undefined>;
6
7
  set(key: string, value: string, ttlSeconds: number): Promise<void>;
@@ -81,6 +82,8 @@ interface TableVariable {
81
82
  eliminable: boolean;
82
83
  isTime: boolean;
83
84
  periodsIncomplete?: boolean;
85
+ /** The API's "top" filter does not pick the newest periods, so `latest` selects the newest codes. */
86
+ latestByCode?: boolean;
84
87
  }
85
88
  interface TableMetadata {
86
89
  title: string;
@@ -115,6 +118,8 @@ interface PxwebClientOptions {
115
118
  timeoutMs?: number;
116
119
  /** Clock for search ranking; defaults to the system time. */
117
120
  now?: () => Date;
121
+ /** Time variables that the API does not flag with `time: true`. */
122
+ timeVariables?: readonly string[];
118
123
  /** Builds the table id from a search hit; defaults to `path/id`. */
119
124
  tableIdFromHit?: (hit: SearchHit) => string;
120
125
  /** True when the office keeps the table in its archive, for example by its path. */
@@ -147,15 +152,15 @@ interface PxwebPreset {
147
152
  * (the language is a parameter), use the API table ids as they are and ignore
148
153
  * `database` and `tableIdFromHit`.
149
154
  */
150
- api?: 'pxweb-v1' | 'pxweb-v2' | 'statbank-dk' | 'cbs-odata' | 'eurostat' | 'statcan-wds' | 'singstat' | 'cso-pxstat' | 'sdmx';
155
+ api?: 'pxweb-v1' | 'pxweb-v2' | 'statbank-dk' | 'cbs-odata' | 'eurostat' | 'statcan-wds' | 'singstat' | 'cso-pxstat' | 'ine-es' | 'ine-pt' | 'insee' | 'ons' | 'statbel' | 'czso' | 'ibge' | 'bdl' | 'osp' | 'sdmx';
151
156
  /** SDMX agency id, for example "ABS". Required when `api` is "sdmx". */
152
157
  sdmxAgency?: string;
153
158
  /**
154
159
  * Search strategy for APIs that offer both: "api" uses the API's own search,
155
160
  * "index" lists every table and searches locally (better on the golden sets).
156
161
  * PxWeb v2 lists the tables itself. PxWeb v1 reads the crawled snapshot from the
157
- * server's `tableSnapshots` option. PxStat ("cso-pxstat") always reads the
158
- * snapshot. Other API types always search an index.
162
+ * server's `tableSnapshots` option. PxStat ("cso-pxstat"), the INE clients
163
+ * ("ine-es", "ine-pt") and INSEE ("insee") always read the snapshot. ONS ("ons") always uses the API search. Other API types always search an index.
159
164
  */
160
165
  search?: 'api' | 'index';
161
166
  /**
@@ -164,6 +169,8 @@ interface PxwebPreset {
164
169
  * A database that fails is left out of the results; search fails only if all fail.
165
170
  */
166
171
  database?: string | readonly [string, ...string[]];
172
+ /** pxweb-v1: time variables that the API does not flag with `time: true`. */
173
+ timeVariables?: readonly string[];
167
174
  languages: readonly [string, ...string[]];
168
175
  /** Appended to every tool result. Most statistics offices require it. */
169
176
  attribution: (lang: string) => string;
@@ -188,9 +195,12 @@ interface PresetServerOptions {
188
195
  userAgent?: string;
189
196
  /** Crawled table lists, used when a source's live table list fails. */
190
197
  tableSnapshots?: SnapshotReader;
198
+ /** API key for an office that takes one; BDL sends it as `X-ClientId`. */
199
+ clientId?: string;
191
200
  }
192
- export declare function createPresetClient(preset: PxwebPreset, options: Pick<PresetServerOptions, 'cache' | 'fetch' | 'tableSnapshots'> & {
201
+ export declare function createPresetClient(preset: PxwebPreset, options: Pick<PresetServerOptions, 'cache' | 'fetch' | 'tableSnapshots' | 'clientId'> & {
193
202
  userAgent: string;
203
+ timeoutMs?: number;
194
204
  }): PxwebClient;
195
205
  export declare function createPresetServer(preset: PxwebPreset, options?: PresetServerOptions): McpServer;
196
206
  interface SelectionInput {
@@ -234,6 +244,19 @@ interface TableIndexOptions {
234
244
  */
235
245
  currentYear?: number;
236
246
  }
247
+ /** Bump when the index fields or the MiniSearch version change; term processing is checked by its fingerprint. */
248
+ export declare const SEARCH_INDEX_VERSION = 1;
249
+ /** A search index built ahead of time, for example by the crawler. */
250
+ interface PrebuiltSearchIndex {
251
+ version: number;
252
+ /** How the language's terms were processed; a change to normalization or stop words rebuilds. */
253
+ terms?: string;
254
+ index: AsPlainObject;
255
+ }
256
+ /** The prebuilt index stored in a snapshot, if it has the expected shape. */
257
+ export declare function asPrebuiltIndex(value: unknown): PrebuiltSearchIndex | undefined;
258
+ /** Builds the search index of a table list, to store with the list. */
259
+ export declare function buildSearchIndex(docs: readonly TableDoc[], lang: string): PrebuiltSearchIndex;
237
260
  /**
238
261
  * Keyword search over a source's table catalogue, for APIs whose own search is
239
262
  * missing, broken or weak. It fuses two rankings: BM25 over titles (three times)
@@ -244,6 +267,8 @@ export declare function createTableIndex(docs: readonly TableDoc[], lang: string
244
267
  interface TableListOptions {
245
268
  /** Tables to use when the live table list fails, for example a crawled snapshot. */
246
269
  listFallback?: (lang: string) => Promise<readonly TableDoc[] | undefined>;
270
+ /** Tables to use before the live table list, for example a crawled snapshot. */
271
+ crawledList?: (lang: string) => Promise<readonly TableDoc[] | undefined>;
247
272
  }
248
273
  interface TableIndexLoaderOptions {
249
274
  /** How long a built index stays fresh. */
@@ -273,6 +298,237 @@ interface PxstatClientOptions extends HttpOptions {
273
298
  now?: () => Date;
274
299
  }
275
300
  export declare function createPxstatClient(options: PxstatClientOptions): PxwebClient;
301
+ interface IneEsClientOptions extends HttpOptions {
302
+ /** Tempus3 JSON root, for example "https://servicios.ine.es/wstempus/js". */
303
+ baseUrl: string;
304
+ /** Full table list (the crawled snapshot); Tempus3 has no search. */
305
+ tableList?: (lang: string) => Promise<readonly TableDoc[]>;
306
+ /** Clock for search ranking; defaults to the system time. */
307
+ now?: () => Date;
308
+ }
309
+ export declare function createIneEsClient(options: IneEsClientOptions): Required<PxwebClient>;
310
+ interface InePtClientOptions extends HttpOptions {
311
+ /** Root of the INE web services, for example "https://www.ine.pt/ine". */
312
+ baseUrl: string;
313
+ /** Full table list (the crawled snapshot); INE has no search. */
314
+ tableList?: (lang: string) => Promise<readonly TableDoc[]>;
315
+ /** Refuses larger queries before the request. Default 1,000,000 (the API limit). */
316
+ maxCells?: number;
317
+ /** Clock for search ranking; defaults to the system time. */
318
+ now?: () => Date;
319
+ }
320
+ export declare function createInePtClient(options: InePtClientOptions): PxwebClient & Required<Pick<PxwebClient, 'listTables'>>;
321
+ interface InseeClientOptions extends HttpOptions {
322
+ /** Melodi root, for example "https://api.insee.fr/melodi". */
323
+ baseUrl: string;
324
+ /** Full dataset list (the crawled snapshot); Melodi has no search. */
325
+ tableList?: (lang: string) => Promise<readonly TableDoc[]>;
326
+ /** Upper limit of observations in one data request. */
327
+ maxCells?: number;
328
+ /** Clock for search ranking; defaults to the system time. */
329
+ now?: () => Date;
330
+ }
331
+ export declare function createInseeClient(options: InseeClientOptions): Required<PxwebClient>;
332
+ interface CzsoClientOptions extends HttpOptions, TableListOptions {
333
+ /** DataStat API root, for example "https://data.csu.gov.cz/api". */
334
+ baseUrl: string;
335
+ /** Upper limit of cells in one data request. */
336
+ maxCells?: number;
337
+ /** Clock for search ranking; defaults to the system time. */
338
+ now?: () => Date;
339
+ }
340
+ /**
341
+ * Client for DataStat, the CZSO (Czech Statistical Office) API, in Czech and English.
342
+ *
343
+ * - Table id: the dataset code (`kod`, for example "CEN0101H").
344
+ * - Search: a local index over the live catalogue (`katalog/v1/sady`, per language) and
345
+ * the content list (`dotaz/v1/metadata/sady/seznam`, for the data update date and
346
+ * last period), both cached for an hour. No crawled snapshot is needed; `listFallback`
347
+ * is used when the live catalogue fails.
348
+ * - Metadata: the dataset detail gives the indicators and the dimension variants. A
349
+ * dataset can have several variants of one dimension type (years, quarters, or years
350
+ * and quarters; regions or districts), and a query can use only one, so each type
351
+ * exposes its default variant, else the one with the most levels, then the most items.
352
+ * Items come from the variant's code list; time items are cut to the data range of the
353
+ * dataset content metadata and ordered by the code list order. A dimension with a
354
+ * total item is eliminable: DataStat returns the total when it is left out.
355
+ * - Query: one GET custom selection (`data/sady/{kod}/vlastni`, JSON-stat 2.0) with one
356
+ * parameter per selected dimension. `latest` gives the newest periods of each time level.
357
+ * The cell limit is checked before the request. Predefined selections (`data/vybery`)
358
+ * are not used: they cover one variant each and cost the same single request.
359
+ * - Caching: catalogue and code lists in the shared cache; the parsed table in memory for
360
+ * an hour, so new periods appear soon after a release.
361
+ */
362
+ export declare function createCzsoClient(options: CzsoClientOptions): Required<PxwebClient>;
363
+ interface IbgeClientOptions extends HttpOptions, TableListOptions {
364
+ /** Aggregates API root, for example "https://servicodados.ibge.gov.br/api/v3/agregados". */
365
+ baseUrl: string;
366
+ /** SIDRA values API root; defaults to "https://apisidra.ibge.gov.br/values". */
367
+ sidraUrl?: string;
368
+ /** Upper limit of cells in one data request. */
369
+ maxCells?: number;
370
+ /** Clock for search ranking; defaults to the system time. */
371
+ now?: () => Date;
372
+ }
373
+ /**
374
+ * Client for IBGE (Instituto Brasileiro de Geografia e Estatística), in Portuguese.
375
+ *
376
+ * - Table id: the aggregate id, which is also the SIDRA table number (for example "1737").
377
+ * - Search: a local index over the aggregates catalogue (`/agregados`, one 2 MB call
378
+ * cached for an hour); the survey group is the path. The catalogue has no dates, so
379
+ * there is no recency ranking. Aggregates are marked discontinued when the title
380
+ * says "série encerrada" (or "descontinuada", "suspensa"), ends with a closed range
381
+ * ("… até dezembro/2019)") or the survey ended long ago (`DISCONTINUED_GROUPS`).
382
+ * - Metadata: `/agregados/{id}/metadados`, `/periodos` and `/localidades/{levels}`.
383
+ * Variables: `variavel` (the IBGE variables, with the unit in the label), one `c{id}`
384
+ * per classification (eliminable when IBGE sums it, which gives the total category
385
+ * when it is left out), `localidade` (codes "N1:1", "N3:35", "N6:3550308"; levels
386
+ * Brazil, regions, states and municipalities; eliminable when Brazil is offered) and
387
+ * `periodo` (ordered oldest first).
388
+ * - Query: one SIDRA values request (`/t/{id}/n…/v/…/p/…/c…`), because SIDRA answers a
389
+ * refused selection with HTTP 400 and a message, where the aggregates API answers 500.
390
+ * The cell limit is checked first. SIDRA orders the columns as the request does
391
+ * (locality, variable, period, then classifications) and adds the left-out
392
+ * classifications after them, so only the requested ones become columns.
393
+ * - Not found: the aggregates API answers HTTP 500 for an unknown id, so a failed
394
+ * metadata call is checked against the catalogue.
395
+ * - Caching: catalogue, metadata and localities in the shared cache; the parsed table in
396
+ * memory for an hour.
397
+ */
398
+ export declare function createIbgeClient(options: IbgeClientOptions): Required<PxwebClient>;
399
+ interface BdlClientOptions extends HttpOptions, TableListOptions {
400
+ /** API root, for example "https://bdl.stat.gov.pl/api/v1". */
401
+ baseUrl: string;
402
+ /** Free BDL API key, sent as `X-ClientId`; it raises the request limits tenfold. */
403
+ clientId?: string;
404
+ /** Upper limit of cells in one data request. */
405
+ maxCells?: number;
406
+ /** Clock for search ranking; defaults to the system time. */
407
+ now?: () => Date;
408
+ }
409
+ /**
410
+ * Client for Statistics Poland (GUS), Local Data Bank (BDL) API, in Polish and English.
411
+ *
412
+ * - Table id: a BDL subgroup, the subject level that holds variables (for example "P2567").
413
+ * - Search: a local index over every subject. `subjects/search?name=%` matches all
414
+ * 2,700 subjects (28 pages of 100, the largest page size), which is far fewer calls
415
+ * than the K → G → P tree walk (about 300). Path is the subject's ancestors (domain,
416
+ * group); subjects under an "archival data" group are marked discontinued. The list
417
+ * has no years, so the docs have no `lastPeriod`.
418
+ * - Metadata: `subjects/{id}` (years, dimension names) and `variables?subject-id=…`
419
+ * (one call per 100 variables). A BDL variable is one series: its labels n1…n5 are
420
+ * the dimensions, named by the subject's `dimensions`. Each dimension becomes a
421
+ * variable `n1`…`n5` with ordinal value codes in API order (the same in both
422
+ * languages). `unit` offers Poland (eliminable, the default) and, when the series
423
+ * go down to level 2 or deeper, the 16 voivodeships. `year` is the subject's years.
424
+ * - Query: the selection picks the series whose labels match and the cell limit is
425
+ * checked on series × units × years. Data comes from `data/by-unit` (100 series per
426
+ * call for one unit) or `data/by-variable` (one series for Poland or all
427
+ * voivodeships per call), whichever needs fewer calls.
428
+ * - Limits: anonymous clients get 100 requests per 15 minutes; `clientId` raises it.
429
+ * HTTP 429 becomes a 503 error that says to try again later.
430
+ * - Caching: list pages, subjects and variables in the shared cache for a day, data
431
+ * for an hour; the parsed table in memory for an hour.
432
+ */
433
+ export declare function createBdlClient(options: BdlClientOptions): Required<PxwebClient>;
434
+ interface OspClientOptions extends HttpOptions, TableListOptions {
435
+ /** SDMX-ML root, for example "https://osp-rs.stat.gov.lt/ords/ipospp/ospp/rest_xml". */
436
+ baseUrl: string;
437
+ /** Upper limit of cells in one result. */
438
+ maxCells?: number;
439
+ /** Upper limit of observations downloaded for one result (every code of every dimension). */
440
+ maxDownloadObservations?: number;
441
+ /** Clock for search ranking; defaults to the system time. */
442
+ now?: () => Date;
443
+ }
444
+ /**
445
+ * Client for the Official Statistics Portal (OSP) of Statistics Lithuania (State
446
+ * Data Agency), an SDMX 2.1 REST service that answers only SDMX-ML, in Lithuanian
447
+ * and English (every message carries both).
448
+ *
449
+ * - Table id: the dataflow id, for example "S7R121_M2020103_1". One indicator
450
+ * ("S7R121") has one dataflow per breakdown, so the title adds the dimensions
451
+ * and the period range from the dataflow description.
452
+ * - Search: a local index over the full dataflow list (`dataflow/`, 7 MB, one call
453
+ * for both languages). The parsed list is kept in memory for an hour; it is too
454
+ * large for the shared cache. The description gives the update date, the last
455
+ * period and "not renewed" (discontinued) dataflows.
456
+ * - Metadata: `dataflow/LSD/{id}` and `datastructure/LSD/{dsd}` (code lists and
457
+ * concept names). Code lists come unordered and are sorted by code. A dimension is
458
+ * eliminable only when exactly one code is labelled as a total ("Total by age",
459
+ * "Republic of Lithuania", "Males and females" …); left out, it is filtered to that
460
+ * code. The structure lists no periods, so they are expanded from the range in the
461
+ * dataflow description.
462
+ * - Query: OSP supports only `startPeriod` and `endPeriod` (no key, no
463
+ * `lastNObservations`, so URLs stay far below its 1,000-character limit). Each
464
+ * run of adjacent chosen periods is one request (more than four runs become one
465
+ * span) with every code of every dimension; the message is streamed and filtered
466
+ * here, never held whole. `latest` picks the newest listed periods. The cell
467
+ * limit applies to the result, and a separate limit (60,000 observations, about
468
+ * 20 s) to the download. Errors and "no data" come as HTTP 200 with a footer.
469
+ * - Caching: dataflow and structure messages in the shared cache; the parsed table
470
+ * in memory for an hour (finished values only); the filtered result in the shared
471
+ * cache for an hour. Titles of results carry the data update and retrieval dates.
472
+ */
473
+ export declare function createOspClient(options: OspClientOptions): Required<PxwebClient>;
474
+ interface OnsClientOptions extends HttpOptions {
475
+ /** Search API root, for example "https://api.beta.ons.gov.uk/v1". */
476
+ baseUrl: string;
477
+ /** Upper limit of rows in one query result. */
478
+ maxCells?: number;
479
+ /** Clock for search ranking; defaults to the system time. */
480
+ now?: () => Date;
481
+ }
482
+ /** The series page after this process resolved the id, otherwise an ONS search for its CDID. */
483
+ export declare function onsTableUrl(tableId: string): string;
484
+ /**
485
+ * ONS time series client. One table is one time series, with the id
486
+ * `<DATASET>/<CDID>` in upper case, for example "MM23/D7G7" (CPI annual rate).
487
+ * Lower case input is accepted.
488
+ *
489
+ * - Search uses the live search API (`/search?content_type=timeseries`); there is
490
+ * no crawled index. Hits keep the API order, adjusted for release recency.
491
+ * - An id resolves to its page uri through a search for the CDID; the hit must
492
+ * match both the CDID and the dataset. The requester cache keeps the answer.
493
+ * - Metadata and data come from one request, `https://www.ons.gov.uk/<uri>/data`.
494
+ * The variables are "frequency" (A, Q, M; only those that the series has) and
495
+ * "period" (codes "2025", "2026-Q3", "2026-10"; labels as ONS gives them, for
496
+ * example "2026 JUL-SEP" for a rolling quarter). The title gives the dataset,
497
+ * the unit, the release date and the next release.
498
+ * - `latest` on "period" gives the newest N periods of each selected frequency.
499
+ * - The beta dataset API (`/v1/datasets`) is not used: it is out of date.
500
+ */
501
+ export declare function createOnsClient(options: OnsClientOptions): PxwebClient;
502
+ interface StatbelClientOptions extends HttpOptions, TableListOptions {
503
+ /** be.STAT API root, for example "https://bestat.statbel.fgov.be/bestat/api". */
504
+ baseUrl: string;
505
+ /** Upper limit of cells (rows × indicators) in one result. */
506
+ maxCells?: number;
507
+ /** Clock for search ranking; defaults to the system time. */
508
+ now?: () => Date;
509
+ }
510
+ /**
511
+ * Client for be.STAT, the open data API of Statbel (Belgium).
512
+ *
513
+ * - Table id = be.STAT view id (a UUID). A view exists in one language only, so the
514
+ * same table in another language has another id. Labels follow the view's language.
515
+ * - Search: a local index over `GET /views/` (all 1,377 views in one call) joined with
516
+ * `GET /datasources/` for the subject description (path) and the last data update.
517
+ * Both lists are one call each and cached for an hour, so no crawled snapshot is
518
+ * needed; `listFallback` can still supply one. The list is in no useful order, so
519
+ * the catalogue order is the last data update, newest first: an old copy of a view
520
+ * (same title, a data source that stopped) then ranks below the current one.
521
+ * "Inapplicable" views answer with an empty body and are marked discontinued.
522
+ * - Metadata and query read `GET /views/{id}/result/JSON`, a flat list of facts.
523
+ * String columns are dimensions, number columns are indicators (one variable).
524
+ * Value codes are the trimmed labels; a null cell is the total over that column
525
+ * (code "_T"), so a variable with totals is optional and a left-out optional
526
+ * variable keeps only its total rows when there are any. Time columns (Year, Month,
527
+ * Quarter, Semester in en/nl/fr/de) merge into one "period" variable with codes
528
+ * such as "2026", "2026M10", "2026Q2" and "2026S1".
529
+ * - The query filters the cached facts locally and returns one row per indicator.
530
+ */
531
+ export declare function createStatbelClient(options: StatbelClientOptions): Required<PxwebClient>;
276
532
  interface SingstatClientOptions extends HttpOptions {
277
533
  /** Table Builder API root, for example "https://tablebuilder.singstat.gov.sg/api/table". */
278
534
  baseUrl: string;
@@ -313,6 +569,8 @@ interface SdmxClientOptions extends HttpOptions, TableListOptions {
313
569
  baseUrl: string;
314
570
  /** Agency of the dataflows, for example "ABS". */
315
571
  agency: string;
572
+ /** Sent as Accept-Language, so names come back in each of these languages. */
573
+ languages?: readonly string[];
316
574
  /** Clock for search ranking; defaults to the system time. */
317
575
  now?: () => Date;
318
576
  }
@@ -374,4 +632,4 @@ interface PxwebV2ClientOptions extends HttpOptions, TableListOptions {
374
632
  }
375
633
  /** Client for the PxWeb API v2, with the same interface as the v1 client. */
376
634
  export declare function createPxwebV2Client(options: PxwebV2ClientOptions): PxwebClient;
377
- export { type ApiBaseUrl, type Cache, type CbsODataClientOptions, type EurostatClientOptions, type FlatTable, type JsonStatDataset, type MemoryCacheOptions, type MultiServerEntry, type MultiServerOptions, type PresetServerOptions, type PxstatClientOptions, type PxwebClient, type PxwebClientOptions, type PxwebPreset, type PxwebSelection, type PxwebV2ClientOptions, type QueryPlan, SNAPSHOT_VERSION, type SdmxClientOptions, type SearchAlias, type SearchHit, type SelectionInput, type SingstatClientOptions, type Snapshot, type SnapshotBucket, type SnapshotReader, type StatbankDkClientOptions, type StatcanClientOptions, type TableDoc, type TableIndex, type TableIndexLoaderOptions, type TableIndexOptions, type TableIndexSearchOptions, type TableListOptions, type TableMetadata, type TableSearchHit, type TableSearchOptions, type TableVariable, type UrlSnapshotReaderOptions, bucketSnapshotReader, firstSnapshot, readSnapshot, snapshotKey, urlSnapshotReader, writeSnapshot };
635
+ export { type ApiBaseUrl, type BdlClientOptions, type Cache, type CbsODataClientOptions, type CzsoClientOptions, type EurostatClientOptions, type FlatTable, type IbgeClientOptions, type IneEsClientOptions, type InePtClientOptions, type InseeClientOptions, type JsonStatDataset, type MemoryCacheOptions, type MultiServerEntry, type MultiServerOptions, type OnsClientOptions, type OspClientOptions, type PrebuiltSearchIndex, type PresetServerOptions, type PxstatClientOptions, type PxwebClient, type PxwebClientOptions, type PxwebPreset, type PxwebSelection, type PxwebV2ClientOptions, type QueryPlan, SNAPSHOT_VERSION, type SdmxClientOptions, type SearchAlias, type SearchHit, type SelectionInput, type SingstatClientOptions, type Snapshot, type SnapshotBucket, type SnapshotReader, type StatbankDkClientOptions, type StatbelClientOptions, type StatcanClientOptions, type TableDoc, type TableIndex, type TableIndexLoaderOptions, type TableIndexOptions, type TableIndexSearchOptions, type TableListOptions, type TableMetadata, type TableSearchHit, type TableSearchOptions, type TableVariable, type UrlSnapshotReaderOptions, bucketSnapshotReader, firstSnapshot, readSnapshot, snapshotKey, urlSnapshotReader, writeSnapshot };