next-sitemap
Version:
Sitemap generator for next.js
19 lines (18 loc) • 462 B
TypeScript
import type { IConfig, IRuntimePaths } from '../interface.js';
/**
* Return absolute path from path segments
* @param pathSegment
* @returns
*/
export declare const getPath: (...pathSegment: string[]) => string;
/**
* Return all runtime paths
* @param config
* @returns
*/
export declare const getRuntimePaths: (config: IConfig) => IRuntimePaths;
/**
* Get config file path
* @returns
*/
export declare const getConfigFilePath: () => Promise<string>;