import type { MetadataRoute } from 'next';
import type { RiverbankSiteConfig } from '../config/types';
import type { RiverbankClient } from '../client/types';
export type SitemapEntry = MetadataRoute.Sitemap[number];
export type CreateSitemapOptions = {
    getClient: () => RiverbankClient;
    config: RiverbankSiteConfig;
    siteUrl?: string;
    exclude?: (url: string) => boolean;
    include?: string[];
    transform?: (entry: SitemapEntry) => SitemapEntry;
    split?: {
        maxUrlsPerFile: number;
    };
};
export type SitemapGenerator = ((props?: {
    id?: number;
}) => Promise<MetadataRoute.Sitemap>) & {
    generateSitemaps: () => Promise<Array<{
        id: number;
    }>>;
};
export declare function createSitemap(options: CreateSitemapOptions): SitemapGenerator;
