/**
 * src/skill-loop/versioning.ts
 *
 * Skill version management — semver bumping and version record type.
 *
 * Bump rules:
 *   - reflexion / ab_winner  → minor bump (1.0.0 → 1.1.0)
 *   - manual                 → major bump (1.0.0 → 2.0.0)
 *   - initial                → no-op (returns "1.0.0" baseline)
 *
 * @module skill-loop/versioning
 */
export interface SkillVersion {
    skillId: string;
    /** Semver string: "1.0.0", "1.1.0", etc. */
    version: string;
    parentSkillId: string | null;
    mutationType: "initial" | "reflexion" | "ab_winner" | "manual";
    /** SHA-256 of the source cycle trace. */
    replayRoot: string;
    createdAt: Date;
}
/**
 * Bump a semver string according to mutation type.
 *
 * - initial    → returns "1.0.0" (baseline, not a bump)
 * - reflexion  → minor bump
 * - ab_winner  → minor bump
 * - manual     → major bump
 *
 * @param current      - Current semver string e.g. "1.2.3".
 * @param mutationType - The kind of mutation that produced the new version.
 * @returns New semver string.
 */
export declare function bumpVersion(current: string, mutationType: SkillVersion["mutationType"]): string;
//# sourceMappingURL=versioning.d.ts.map