/**
 * SPEC Versioning - SPEC 버전 관리 및 Changelog 자동 생성
 */
/** SPEC 버전 정보 */
export interface SpecVersion {
    version: string;
    date: string;
    author?: string;
    changes: ChangeEntry[];
    gitTag?: string;
    gitCommit?: string;
}
/** 변경 항목 */
export interface ChangeEntry {
    type: 'added' | 'changed' | 'removed' | 'fixed';
    description: string;
    section?: string;
    requirementId?: string;
}
/** 버전 히스토리 */
export interface VersionHistory {
    featureName: string;
    currentVersion: string;
    versions: SpecVersion[];
}
/** 버전 범프 타입 */
export type BumpType = 'major' | 'minor' | 'patch';
/**
 * SPEC 버전 범프
 */
export declare function bumpSpecVersion(specPath: string, bumpType: BumpType, changes: ChangeEntry[]): SpecVersion;
/**
 * 버전 추출
 */
export declare function extractVersion(content: string): string | null;
/**
 * 버전 증가
 */
export declare function incrementVersion(version: string, bumpType: BumpType): string;
/**
 * Changelog 생성
 */
export declare function generateChangelog(history: VersionHistory): string;
/**
 * Git 태그 생성
 */
export declare function createGitTag(featureName: string, version: string, message?: string): {
    success: boolean;
    tag: string;
    error?: string;
};
/**
 * SPEC 변경사항 감지 (Git diff 기반)
 */
export declare function detectSpecChanges(specPath: string, baseRef?: string): ChangeEntry[];
/**
 * 최신 SPEC 커밋 조회
 */
export declare function getLatestSpecCommit(specPath: string): string | null;
/**
 * SPEC 버전 히스토리 로드
 */
export declare function loadVersionHistory(specDir: string, featureName: string): VersionHistory;
/**
 * SPEC 버전 히스토리 저장
 */
export declare function saveVersionHistory(specDir: string, history: VersionHistory): void;
/**
 * Baseline 태깅 (릴리즈 준비 완료 표시)
 */
export declare function createBaseline(featureName: string, specPath: string): {
    success: boolean;
    baselineName: string;
    error?: string;
};
//# sourceMappingURL=specVersioning.d.ts.map