UNPKG

@astrojs/sitemap

Version:
14 lines (13 loc) 510 B
import type { AstroConfig } from 'astro'; import type { SitemapItem } from './index.js'; type WriteSitemapConfig = { hostname: string; sitemapHostname?: string; sourceData: SitemapItem[]; destinationDir: string; publicBasePath?: string; limit?: number; xslURL?: string; }; export declare function writeSitemap({ hostname, sitemapHostname, sourceData, destinationDir, limit, publicBasePath, xslURL: xslUrl, }: WriteSitemapConfig, astroConfig: AstroConfig): Promise<void>; export {};