import { SitemapChangeFreq } from './types.js'; /** * Resolved sitemap configuration. Read from node-config under the `sitemap` namespace with the * defaults below as fallback, so it works identically before and after P5 registers the module * defaults (`config.util.setModuleDefaults('sitemap', …)`) — a cold config (unit test, fresh * install) yields exactly these defaults. Read via the raw `config` package (not the typed * `getConfig`) until the `sitemap` key is added to `ConfigStructure` in P5. */ export interface SitemapConfig { enabled: boolean; schedule: string; maxUrlsPerFile: number; /** ms; force a full regenerate when the last one is older than this, regardless of fingerprint. */ maxAge: number; hreflang: boolean; staticPaths: string[]; changefreq: { product: SitemapChangeFreq; category: SitemapChangeFreq; cmsPage: SitemapChangeFreq; landingPage: SitemapChangeFreq; static: SitemapChangeFreq; }; priority: { product: number; category: number; cmsPage: number; landingPage: number; static: number; }; robots: { enabled: boolean; disallow: string[]; }; } export declare const SITEMAP_CONFIG_DEFAULTS: SitemapConfig; /** Resolve the effective sitemap config (defaults merged with any `sitemap.*` overrides). */ export declare function getSitemapConfig(): SitemapConfig;