import type { RepoMetrics } from "#ai-utils";
import type { DevToolsSys } from "../types";
/**
 * Validate if a version string is an exact version (not a range or constraint).
 * Returns true only for exact versions like "18.0.0", "3.10", "1.21", "stable", "nightly".
 * Returns false for semver ranges like ">=18.0.0", "^18.0.0", "~18.0.0", "16.x", "*", etc.
 *
 * @param version - The version string to validate
 * @returns true if the version is exact, false otherwise
 */
export declare function isExactVersion(version: string | undefined): boolean;
/**
 * Collect comprehensive repository metrics
 * @param sys - DevTools system interface
 * @param basePath - Absolute path to the repository root
 * @param rootPath - Relative path within the repository to analyze (default: "/" for entire repo)
 */
export declare function collectRepoMetrics(sys: DevToolsSys, basePath: string): Promise<RepoMetrics>;
