import { SitemapEntry, SitemapUrlRecord } from './types.js'; export interface ExpandLocalesOptions { /** Enabled storefront locales, default first (from `getEnabledLanguages()`). */ locales: string[]; /** The default/unprefixed locale (from `getStoreLanguage()`). */ defaultLocale: string; /** Absolute origin, no trailing slash (from `getBaseUrl()`). */ baseUrl: string; /** Emit `` alternates on multi-locale stores. Default true. */ hreflang?: boolean; } /** * Fan each canonical `SitemapEntry` out into one absolute, localized `SitemapUrlRecord` per * enabled locale (wiki/sitemap-design.md §3.4). * * EverShop serves every enabled locale on a shared slug via URL prefix — the default locale * unprefixed (`/shoes`), each non-default enabled locale prefixed (`/de/shoes`). Localization * REUSES the storefront's own `applyLocalePrefix`, so sitemap URLs can't drift from what the * router serves. On multi-locale stores (and unless `hreflang` is false) every record carries * the full self-referential hreflang set — one entry per enabled locale INCLUDING ITSELF, plus * `x-default` → the default-locale URL — which makes the reciprocity Google requires hold by * construction. Single-language stores emit one record per entry with no alternates. */ export declare function expandLocales(entries: SitemapEntry[], options: ExpandLocalesOptions): SitemapUrlRecord[];