export interface ChangelogSection { heading: string; items: string[]; } export interface ChangelogEntry { version: string; heading: string; sections: ChangelogSection[]; } export interface ChangelogGuardOptions { changelogPath?: string; version?: string; allowEmpty?: boolean; cwd?: string; } export interface ChangelogGuardResult { ok: boolean; version: string | null; entry: ChangelogEntry | null; entries: ChangelogEntry[]; reason?: string; } export declare function parseChangelog(content: string): ChangelogEntry[]; export declare function hasDocumentedChanges(entry: ChangelogEntry | null | undefined): boolean; export declare function selectChangelogEntry(entries: ChangelogEntry[], version?: string): ChangelogEntry | null; export declare function validateChangelog(content: string, options?: { version?: string; allowEmpty?: boolean; }): ChangelogGuardResult; export declare function checkChangelogFile(options?: ChangelogGuardOptions): Promise; //# sourceMappingURL=changelog-guard.d.ts.map