import type { SitemapConfig } from '../../types/sitemap'; type AppRoute = { method: string; path: string; /** Runtime handler — `.toString()` is read to detect page handlers. */ handler?: unknown; /** Pre-extracted handler source. Set by the build-time route scanner * in place of `handler` so the page-handler heuristic and the * `sitemap: { ... }` metadata regex work without instantiating any * function. Either field is sufficient; if both are set, * `handlerSource` wins. */ handlerSource?: string; }; export type SitemapPipelineConfig = { angularDirectory?: string; reactDirectory?: string; svelteDirectory?: string; vueDirectory?: string; }; export declare const generateSitemap: (routes: AppRoute[], serverUrl: string, outDir: string, config?: SitemapConfig, pipelineConfig?: SitemapPipelineConfig) => Promise; export {};