import type { ChangelogEntry, ChangelogSource } from "../changelog"; import { type GeistdocsConfig } from "../config"; export interface ChangelogPageOptions { config: Pick; /** App-local data endpoint. Defaults to `${path}/data`. */ dataPath?: string; description?: string; /** App-local root Markdown endpoint. Omit when no Markdown route is installed. */ markdownPath?: string; pageSize?: number; path?: string; source: ChangelogSource; title?: string; } export interface ChangelogPageData { entries: ChangelogEntry[]; nextPage: number | null; page: number; pageSize: number; total: number; } export declare const parseChangelogPage: (value?: string) => number | null; export declare const getChangelogPage: ({ source, lang, page, pageSize, }: { source: ChangelogSource; lang: string; page?: number; pageSize?: number; }) => Promise; export declare const getChangelogEntryTitle: (entry: ChangelogEntry) => string; export declare const getChangelogPath: (config: ChangelogPageOptions["config"], path?: string, lang?: string) => string; export declare const getChangelogPagePath: (config: ChangelogPageOptions["config"], path?: string, lang?: string, page?: number) => string; export declare const getChangelogPageParams: (options: ChangelogPageOptions, lang?: string) => Promise<{ lang: string; page: string; }[]>; //# sourceMappingURL=changelog.d.ts.map