next-sitemap
Version:
Sitemap generator for next.js
14 lines (13 loc) • 484 B
TypeScript
import type { INextManifest, IRuntimePaths, IConfig } from '../interface.js';
export declare class ManifestParser {
config: IConfig;
runtimePaths: IRuntimePaths;
constructor(config: IConfig, runtimePaths: IRuntimePaths);
/**
* Return paths of html files if config.output = "export"
* @param exportFolder
* @returns
*/
getStaticExportPages(config: IConfig, exportFolder: string): Promise<string[]>;
loadManifest(): Promise<INextManifest>;
}