import { UserConfig } from 'vite';
import { I18nPrerenderOptions, PrerenderSitemapConfig, SitemapConfig } from './options';
export type PagesJson = {
    page: string;
    lastMod: string;
    changefreq?: string;
    priority?: string;
};
export declare function buildSitemap(config: UserConfig, sitemapConfig: SitemapConfig, routes: (string | undefined)[] | (() => Promise<(string | undefined)[]>), outputDir: string, routeSitemaps: Record<string, PrerenderSitemapConfig | (() => PrerenderSitemapConfig) | undefined>, i18nOptions?: I18nPrerenderOptions): Promise<void>;
/**
 * Generates hreflang alternate URLs for a given page URL.
 * For a URL like `https://example.com/fr/about`, it produces alternates
 * for all configured locales.
 */
export declare function getHreflangAlternates(pageUrl: string, host: string, i18n: I18nPrerenderOptions): {
    locale: string;
    href: string;
}[];
/**
 * Strips a locale prefix from a URL path.
 * E.g., '/fr/about' -> '/about', '/en' -> '/'
 */
export declare function stripLocalePrefix(path: string, locales: string[]): string;
