/** Version of the spec.md schema/template.
 * '0.x' means legacy — spec was authored before SPEC-717 and has no explicit format version. */
export type SpecFormatVersion = '0.x' | '1.0';
/** Kind of change recorded in a history entry. */
export type HistoryEntryKind = 'amended' | 'superseded' | 'reopened' | 'version-bumped' | 'format-migrated';
/** A single entry in a spec's version history. */
export interface SpecHistoryEntry {
    /** ISO-8601 timestamp. */
    at: string;
    kind: HistoryEntryKind;
    /** SemVer of spec_version before this entry. Null only for the very first 'format-migrated' from 0.x. */
    spec_version_from: string | null;
    /** SemVer of spec_version after this entry. Required. */
    spec_version_to: string;
    /** Identifier of the actor: session id, plugin id, username. */
    by: string;
    /** Free-text reason. Min 5 chars. */
    reason: string;
}
/** The three dimensions of a SemVer bump. */
export type SemverBumpKind = 'patch' | 'minor' | 'major';
/** Input for the bump_spec_version MCP tool. */
export interface BumpSpecVersionInput {
    projectPath?: string;
    specId: string;
    kind: SemverBumpKind;
    reason: string;
    /** Override `by` field — defaults to a runtime-derived session identifier. */
    by?: string;
}
/** Result returned by bump_spec_version. */
export interface BumpSpecVersionResult {
    specId: string;
    previous: string;
    next: string;
    entry: SpecHistoryEntry;
}
//# sourceMappingURL=versioning.d.ts.map