/**
 * Changelog generation
 *
 * Produces a Markdown changelog grouped by Conventional Commits type.
 * Follows "Keep a Changelog" (https://keepachangelog.com/) structure.
 */
import type { ClassifiedCommits, ParsedCommit } from './commits.js';
import { formatVersion } from './version.js';
export interface ChangelogSection {
    heading: string;
    commits: ParsedCommit[];
}
export interface ChangelogOptions {
    version: string;
    date: string;
    repoUrl?: string;
    compareUrl?: string;
    previousTag?: string;
}
export declare function generateChangelog(classified: ClassifiedCommits): ChangelogSection[];
export declare function renderChangelog(classified: ClassifiedCommits, options: ChangelogOptions): string;
export declare function renderChangelogDocument(classified: ClassifiedCommits, options: ChangelogOptions): string;
export { formatVersion };
//# sourceMappingURL=changelog.d.ts.map