/**
 * Version mismatch detection for @agentuity/* packages.
 *
 * Detects when a project uses outdated v1 SDK packages while the CLI is v2,
 * and recommends running the migration tool.
 */
import type { Logger } from '../types';
export interface VersionInfo {
    name: string;
    version: string;
    major: number;
}
export interface VersionMismatchResult {
    /** CLI major version */
    cliMajor: number;
    /** All @agentuity/* packages found */
    packages: VersionInfo[];
    /** Packages with major version mismatch */
    mismatched: VersionInfo[];
    /** Packages that are v1 when CLI is v2+ */
    outdated: VersionInfo[];
    /** Whether any v1 packages were found */
    hasV1Packages: boolean;
    /** Whether there are major version mismatches across packages */
    hasMajorMismatches: boolean;
}
/**
 * Detect version mismatches in @agentuity/* packages.
 *
 * @param projectDir - Root directory of the user's project
 * @param logger - Logger instance
 * @returns Version mismatch detection result
 */
export declare function detectVersionMismatch(projectDir: string, logger: Logger): VersionMismatchResult;
/**
 * Format a warning message for version mismatches.
 */
export declare function formatVersionMismatchWarning(result: VersionMismatchResult): string;
//# sourceMappingURL=version-mismatch.d.ts.map