/**
 * Version bump - config-driven version bumping across project files.
 *
 * Reads release.versionBump from .cleo/config.json and updates all
 * configured files with the new version. Supports strategies:
 *   plain - Overwrite entire file (e.g., VERSION)
 *   json  - Update a JSON field (e.g., package.json .version)
 *   toml  - Update a TOML key (e.g., Cargo.toml)
 *   sed   - Custom regex substitution
 *
 * @task T4454
 * @epic T4454
 */
/** Validate version format (semver X.Y.Z or CalVer YYYY.M.patch, with optional pre-release). */
export declare function validateVersionFormat(version: string): boolean;
/** Check if a version string is CalVer format. */
export declare function isCalVer(version: string): boolean;
/** Bump type for version calculation. */
export type BumpType = 'patch' | 'minor' | 'major';
/** Calculate new version from current + bump type. */
export declare function calculateNewVersion(current: string, bump: BumpType | string): string;
/** Version bump target config from .cleo/config.json. */
export interface VersionBumpTarget {
    file: string;
    strategy: 'plain' | 'json' | 'toml' | 'sed';
    field?: string;
    key?: string;
    section?: string;
    pattern?: string;
}
/** Get version bump configuration, mapping config field names to VersionBumpTarget. */
export declare function getVersionBumpConfig(cwd?: string): VersionBumpTarget[];
/** Check if version bump is configured. */
export declare function isVersionBumpConfigured(cwd?: string): boolean;
/** Bump result for a single file. */
export interface BumpResult {
    file: string;
    strategy: string;
    success: boolean;
    previousVersion?: string;
    newVersion?: string;
    error?: string;
}
/** Bump version in all configured files. */
export declare function bumpVersionFromConfig(newVersion: string, options?: {
    dryRun?: boolean;
}, cwd?: string): {
    results: BumpResult[];
    allSuccess: boolean;
};
//# sourceMappingURL=version-bump.d.ts.map