import { MetadataRoute } from 'next'; /** * Returns an async function that generates a sitemap using the provided domain and dynamic values. * It fetches all composition nodes from Uniform Project Map, resolves their paths, * and returns sitemap entries with fully substituted URLs. * * @param domain - The base domain to prepend to each generated path (e.g., https://example.com). * @param dynamicValues - A record of dynamic variables and their possible values. * @returns A function that resolves to an array of MetadataRoute.Sitemap entries. * * @example * export default generateSitemap('https://example.com', { * locale: ['en', 'fr'], * category: ['tech', 'health'], * }); * // sitemap will contain all path combinations for provided dynamic values and your Project Map nodes */ declare const generateSitemap: (domain: string, dynamicValues?: Record) => () => Promise; export { generateSitemap };