import type { CanonicalState } from "../types/index.js"; export type RepositoryLifecycle = "uninitialized" | "initialized" | "branch-created" | "promotion-proposed" | "promotion-approved" | "merged" | "released"; export type VersionStrategy = "semver" | "calver" | "build" | "custom"; export declare function getRepositoryLifecycle(state: CanonicalState): RepositoryLifecycle; export declare function inferVersionBump(state: CanonicalState): "major" | "minor" | "patch" | undefined; export declare function nextSemanticVersion(current: string, bump: "major" | "minor" | "patch"): string; export declare function validatePromotion(state: CanonicalState, from: string, to: string): { valid: boolean; errors: string[]; }; export declare function formatReleaseNotes(state: CanonicalState): string;