import type { BunextGenerateSitemapParams, BunextSitemapEntry } from "../types"; /** * Protocol limits for a single sitemap file * https://www.sitemaps.org/protocol.html#index */ export declare const SitemapMaxUrlsPerFile = 50000; export declare const SitemapMaxBytesPerFile: number; export declare const SitemapDefaultChunkSize = 10000; export type SitemapChunkFile = { file_name: string; xml: string; url_count: number; }; export type SitemapFiles = { /** * A `` when everything fits in one file, otherwise a * `` referencing `chunks`. */ sitemap: string; chunks: SitemapChunkFile[]; url_count: number; }; /** * # 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`. Always returns a * single ``; `bunext sitemap` splits large sitemaps into chunks. */ export default function generateSitemap(params?: BunextGenerateSitemapParams): Promise; /** * # Generate sitemap.xml, split into chunk files when needed * Chunks hold at most `chunk_size` URLs and 50MB each. `chunks_url_path` * is the public URL path the chunk files are served from. */ export declare function generateSitemapFiles({ chunk_size, chunks_url_path, ...params }: BunextGenerateSitemapParams & { chunk_size?: number; chunks_url_path: string; }): Promise; export declare function grabSitemapEntries(params?: BunextGenerateSitemapParams): Promise;