export interface VersionParts {
    major: number;
    minor: number;
    patch: number;
    prerelease: number | null;
}
export interface ChangelogEntry extends VersionParts {
    version: string;
    content: string;
}
/**
 * Parse changelog entries from CHANGELOG.md
 * Scans for ## lines and collects content until next ## or EOF
 */
export declare function parseChangelog(changelogPath: string): ChangelogEntry[];
/**
 * Compare versions. Returns: -1 if v1 < v2, 0 if v1 === v2, 1 if v1 > v2
 */
export declare function compareVersions(v1: VersionParts, v2: VersionParts): number;
export declare function getNewEntries(entries: ChangelogEntry[], lastVersion: string, currentVersion?: string): ChangelogEntry[];
export declare function getEntriesForVersion(entries: ChangelogEntry[], version: string): ChangelogEntry[];
export { getChangelogPath } from "../config.js";
//# sourceMappingURL=changelog.d.ts.map