mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
13 lines
473 B
TypeScript
13 lines
473 B
TypeScript
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;
|
|
};
|
|
export declare function writeSitemap({ hostname, sitemapHostname, sourceData, destinationDir, limit, publicBasePath, }: WriteSitemapConfig, astroConfig: AstroConfig): Promise<void>;
|
|
export {};
|