/**
 * Centralized version and package information.
 *
 * Reads `package.json` from disk at module load (once) so it works
 * under all our run configurations:
 *
 *   - `bun packages/cli/src/main.ts` (dev): reads
 *     `packages/cli/package.json` from the source tree.
 *   - `node packages/cli/dist/src/main.js` or installed
 *     `agentuity` (production): reads
 *     `<install-root>/package.json` from the published tarball.
 *
 * Both layouts have `package.json` two directories above this file
 * (`src/version.ts` -> `..` is the package root; from `dist/src/`
 * `..` is `dist/` which doesn't have `package.json`, so we walk one
 * more up from compiled output via the `dist/` parent).
 *
 * The simplest way to reach it from either location is to walk up
 * until we find a file named `package.json`. We bound the walk at 5
 * levels to fail fast if something is wrong.
 */
interface PackageJson {
    name?: string;
    version?: string;
}
export declare function getPackage(): PackageJson;
export declare function getVersion(): string;
export declare function getPackageName(): string;
export declare function getRevision(): string;
/**
 * Normalize a version string to a Git tag format (with 'v' prefix)
 */
export declare function toTag(version: string): string;
/**
 * Get the GitHub URL for comparing two versions
 * @param fromVersion - The current/old version
 * @param toVersion - The new/target version
 * @returns GitHub compare URL
 */
export declare function getCompareUrl(fromVersion: string, toVersion: string): string;
/**
 * Get the GitHub URL for a specific release
 * @param version - The version to get the release URL for
 * @returns GitHub release URL
 */
export declare function getReleaseUrl(version: string): string;
export {};
//# sourceMappingURL=version.d.ts.map