/** * CLI Version Detection * * Detects Claude CLI version and feature support. */ import type { CLIVersionInfo } from './types.js'; export declare class CLIVersionDetector { private cachedVersion?; /** * Detect CLI version and capabilities. */ detect(): Promise; /** * Check if CLI is installed. */ isInstalled(): Promise; /** * Get cached version info (throws if not detected yet). */ getCachedVersion(): CLIVersionInfo | undefined; /** * Clear cached version. */ clearCache(): void; /** * Build appropriate arguments based on version capabilities. */ buildArgs(options: { prompt: string; outputFormat?: string; }): string[]; /** * Compare two semver versions. * Returns: -1 if a < b, 0 if a == b, 1 if a > b */ private compareVersions; } /** * Get or create the CLI version detector. */ export declare function getCLIVersionDetector(): CLIVersionDetector; /** * Detect CLI version (convenience function). */ export declare function detectCLIVersion(): Promise; /** * Check if CLI is installed (convenience function). */ export declare function isCLIInstalled(): Promise; //# sourceMappingURL=cli-version.d.ts.map