/**
 * Install-runtime loader for bundled docs.
 *
 * Looks for the `docs-bundled/` mirror that `scripts/copy_docs_bundle.js`
 * placed alongside the compiled JS during `npm run build:server`. Falls back
 * to the repo's `docs/product/` source when running from `src/` (tests,
 * `tsx watch`, etc.) so the same module works in both layouts without an env
 * flag.
 */
import type { DocSource } from "../docs_bundle/types.js";
/**
 * Resolve the bundled docs root. Order:
 *
 *   1. `NEOTOMA_DOCS_BUNDLE_DIR` env (escape hatch for tests/CI).
 *   2. `dist/docs-bundled/` next to this compiled file.
 *   3. `docs/product/` at the repo root (source-tree fallback).
 *
 * Returns null when none of the candidates exist (bundled docs feature is
 * effectively disabled at install).
 */
export declare function resolveDocsRootDir(env?: NodeJS.ProcessEnv): string | null;
export declare function listInstalledDocSlugs(env?: NodeJS.ProcessEnv): string[];
export declare function loadInstalledDoc(slug: string, env?: NodeJS.ProcessEnv): DocSource | null;
export declare function loadAllInstalledDocs(env?: NodeJS.ProcessEnv): DocSource[];
//# sourceMappingURL=loader.d.ts.map