export interface ChangelogEntry {
    major: number;
    minor: number;
    patch: number;
    /** Intraday release suffix for date-based versions (e.g., -1, -2) */
    suffix: number;
    content: string;
}
/**
 * Parse a version string into components.
 * Handles both semver (x.y.z) and date-based versions (YYYY.M.D or YYYY.M.D-N).
 */
export declare function parseVersion(version: string): {
    major: number;
    minor: number;
    patch: number;
    suffix: number;
};
/**
 * 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: ChangelogEntry, v2: ChangelogEntry): number;
/**
 * Get entries newer than lastVersion
 */
export declare function getNewEntries(entries: ChangelogEntry[], lastVersion: string): ChangelogEntry[];
export { getChangelogPath } from "../config.js";
//# sourceMappingURL=changelog.d.ts.map