/* * index.ts — the public API surface of @araharah/search (D-03, D-07). * ------------------------------------------------------------------- * Named exports ONLY (no default export). The package has NO exports / * main field (the @araharah/theme precedent), so consumers import the * EXPLICIT SUBPATH WITH EXTENSION — * import { createGazetteerSource } from "@araharah/search/src/index.ts"; * (both tsconfigs carry allowImportingTsExtensions + bundler resolution; * esbuild and Vite compile the .ts source; Node 24 type-stripping handles * the corpus runner's relative form). A bare "@araharah/search" specifier * resolves to NOTHING — never use it. * * The module reads NO environment, NO secrets, and NO network (D-04/D-15): * the whole search stack is V8-native and dependency-free (D-07). */ export type { GazetteerEntry, SearchQuery, SearchHit, SearchSource } from "./types.ts"; export { normalize } from "./normalize.ts"; export { TIER, FUZZY_ADMIT_SIMILARITY } from "./score.ts"; export { damerau } from "./distance.ts"; export { getEntries, getEntryById, getIndex } from "./gazetteer.ts"; export { createGazetteerSource, search } from "./source.ts";