/**
 * @fileoverview Central version management module for DeepSource MCP Server
 *
 * This module provides a single source of truth for version information,
 * reading from package.json at build time with fallback support for runtime.
 */
/**
 * Interface representing parsed version information
 */
export interface VersionInfo {
    /** Full version string (e.g., "1.5.0") */
    version: string;
    /** Major version number */
    major: number;
    /** Minor version number */
    minor: number;
    /** Patch version number */
    patch: number;
    /** Pre-release version (e.g., "beta.1") */
    prerelease?: string;
    /** Build metadata (e.g., "20240101") */
    build?: string;
}
/**
 * Parse a semver version string into components
 * @param versionString - The version string to parse
 * @returns Parsed version information or null if invalid
 */
export declare function parseVersion(versionString: string): VersionInfo | null;
/**
 * Validate if a string is a valid semver version
 * @param versionString - The version string to validate
 * @returns True if valid semver format
 */
export declare function validateVersion(versionString: string): boolean;
/**
 * Compare two semver versions
 * @param v1 - First version
 * @param v2 - Second version
 * @returns -1 if v1 < v2, 0 if v1 === v2, 1 if v1 > v2
 */
export declare function compareVersions(v1: string, v2: string): number;
declare const VERSION: string;
/**
 * The current version of the DeepSource MCP Server
 * @constant
 */
export { VERSION };
/**
 * Get the current version of the DeepSource MCP Server
 * @returns The current version string
 */
export declare function getVersion(): string;
/**
 * Get detailed version information
 * @returns Parsed version information
 */
export declare function getVersionInfo(): VersionInfo;
/**
 * Get a formatted version string for display
 * @param includePrerelease - Whether to include prerelease info
 * @param includeBuild - Whether to include build metadata
 * @returns Formatted version string
 */
export declare function getFormattedVersion(includePrerelease?: boolean, includeBuild?: boolean): string;
