import type { H3Event } from 'h3'; export interface SitemapUrl { loc: string; lastmod?: string; } export interface SitemapConfig { name: string; route: string; } /** * Get list of sitemaps from @nuxtjs/sitemap runtime config * Returns empty array if sitemap module not configured */ export declare function getSitemapsFromConfig(event?: H3Event): SitemapConfig[]; /** * Check if site has multiple sitemaps configured */ export declare function hasMultipleSitemaps(event: H3Event): boolean; /** * Fetch and parse a single sitemap by route * Supports both request context (event.$fetch) and cron context (ASSETS.fetch or globalThis.$fetch) */ export declare function fetchSitemapByRoute(event: H3Event | undefined, route: string, depth?: number): Promise<{ urls: SitemapUrl[]; error?: string; }>; /** * Fetch all URLs from all sitemaps (or single sitemap if not multi-sitemap) * Used for backwards compatibility and llms.txt generation */ export declare function fetchSitemapUrls(event: H3Event): Promise;