/**
 * `/site-pages` route mount.
 *
 * - `GET /site-pages` with `?format=json` → index of all public site pages.
 * - `GET /site-pages/<route-slug>` with `?format=json` → single site page payload.
 *
 * Route-slug lookup matches by public route path (e.g. `/faq` is fetched via
 * `/site-pages/faq?format=json`). Nested routes use slashes (`primitives/entities`).
 *
 * This serves the same structural role as `/docs` but for public site pages
 * whose source of truth is canonical markdown in `docs/site/pages/<locale>/*.md`.
 *
 * Security:
 *   - Slug uses the same charset restriction as `/docs`.
 *   - Public read-only route; no auth required.
 *
 * Determinism: ordering is a pure function of (locale → nav_order → path).
 */
import type express from "express";
import { type SitePageIndex } from "./site_page_index_builder.js";
import type { SitePageLocale } from "./site_page_frontmatter.js";
import type { VisibilityEnv } from "./visibility.js";
export interface SitePagesRoutesOptions {
    repoRoot?: string;
    envSource?: VisibilityEnv;
}
export declare function getSitePagesIndex(opts: {
    repoRoot?: string;
    envSource?: VisibilityEnv;
    locale?: SitePageLocale;
}): SitePageIndex;
export declare function mountSitePagesRoutes(app: express.Express, opts?: SitePagesRoutesOptions): void;
//# sourceMappingURL=site_pages_route.d.ts.map