import type { BumpSpecVersionInput, BumpSpecVersionResult, SemverBumpKind } from '../../types/index.js';
import { migrateFrontmatterToCurrentFormat } from './migrate-format.js';
/**
 * Compute the next SemVer string from a current version and a bump kind.
 *
 * @throws if `current` is not a valid "MAJOR.MINOR.PATCH" string.
 */
export declare function bumpSemver(current: string, kind: SemverBumpKind): string;
/**
 * Read the spec.md at `specPath`, bump `spec_version`, append a history entry,
 * and write the file atomically via a .tmp sibling.
 *
 * @throws if the spec is in format 0.x (must be migrated first via a write operation).
 */
export declare function bumpSpecVersion(input: BumpSpecVersionInput & {
    specPath: string;
}): Promise<BumpSpecVersionResult>;
export { migrateFrontmatterToCurrentFormat };
//# sourceMappingURL=bump-version.d.ts.map