/** * Sitemap endpoints — ported from the WordPress connector * (rest-routes.php: get_sitemap_index, get_sitemap_for_post_type, * build_sitemap_urls_for_post_type, resolve_sitemap_locs_for_post). * * PORTING NOTE: in WP a single post could emit MULTIPLE `loc`s — one per * nitrogen_template matching the post, each contributing its own `url_prefix` * (so a post served at both canonical and prefixed URLs appeared multiple * times). The TARGET (Payload) model has exactly one `routePattern` per * registered collection, so we emit ONE canonical URL per document via * `buildRelativePermalink`. Per-template prefix multiplexing is deferred. */ import type { Endpoint } from 'payload'; export declare const sitemapEndpoints: Endpoint[];