9 lines
472 B
TypeScript
9 lines
472 B
TypeScript
import type { BunextGenerateSitemapParams, BunextSitemapEntry } from "../types";
|
|
/**
|
|
* # Generate a sitemap.xml string for all pages
|
|
* Dynamic routes are only included through a `sitemap` export in their
|
|
* `.server.ts` file, or through `additional_paths`.
|
|
*/
|
|
export default function generateSitemap(params?: BunextGenerateSitemapParams): Promise<string>;
|
|
export declare function grabSitemapEntries(params?: BunextGenerateSitemapParams): Promise<BunextSitemapEntry[]>;
|