/** * Agentic QE v3 - RuVector Integration * * RuVector provides ML-based code intelligence for QE. * This is an OPTIONAL dependency - all features work without it. * * Integration Points per ADR-017: * | RuVector Feature | QE Application | * |----------------------|-----------------------------------| * | Q-Learning Router | Route test tasks to optimal agents| * | AST Complexity | Prioritize tests by code complexity| * | Diff Risk Classification | Target tests at high-risk changes | * | Coverage Routing | Test coverage-aware agent selection| * | Graph Boundaries | Focus integration tests at module boundaries | * * @example * ```typescript * import { createRuVectorClient, RuVectorConfig } from '@agentic-qe/v3/integrations/ruvector'; * * // Create client with optional RuVector * const client = await createRuVectorClient({ * enabled: true, // Set to false for fallback-only mode * endpoint: 'http://localhost:8080', * fallbackEnabled: true, * }); * * // All methods work with or without RuVector * const router = client.getQLearningRouter(); * const result = await router.routeTask(task); // Uses ML or fallback * ``` */ export type { RuVectorConfig, RuVectorHealthResult, RuVectorConnectionStatus, RuVectorClient, QLearningRouter, QLearningState, QLearningAction, TestTask, AgentRoutingResult, ASTComplexityAnalyzer, FileComplexityResult, ComplexityMetrics, DiffRiskClassifier, RiskClassification, DiffContext, FileChange, CoverageRouter, CoverageRoutingResult, FileCoverage, CoverageGap, GraphBoundariesAnalyzer, GraphBoundariesResult, ModuleBoundary, BoundaryCrossing, ModuleDependency, } from './interfaces'; export { DEFAULT_RUVECTOR_CONFIG } from './interfaces'; export { RuVectorError, RuVectorUnavailableError, RuVectorTimeoutError, RuVectorConfigError, } from './interfaces'; export { createQLearningRouter } from './q-learning-router'; export { createASTComplexityAnalyzer } from './ast-complexity'; export { createDiffRiskClassifier } from './diff-risk-classifier'; export { createCoverageRouter } from './coverage-router'; export { createGraphBoundariesAnalyzer } from './graph-boundaries'; export { createFallbackComponents } from './fallback'; export { RuVectorQLearningRouter, type QLearningParams } from './q-learning-router'; export { RuVectorASTComplexityAnalyzer, type ComplexityThresholds } from './ast-complexity'; export { RuVectorDiffRiskClassifier, type RiskPatterns } from './diff-risk-classifier'; export { RuVectorCoverageRouter, type CoverageThresholds } from './coverage-router'; export { RuVectorGraphBoundariesAnalyzer, type GraphConfig } from './graph-boundaries'; export { FallbackQLearningRouter, FallbackASTComplexityAnalyzer, FallbackDiffRiskClassifier, FallbackCoverageRouter, FallbackGraphBoundariesAnalyzer, } from './fallback'; import type { RuVectorConfig, RuVectorClient } from './interfaces'; /** * Create a RuVector client with optional ML capabilities * * @example * ```typescript * // Full ML capabilities (when RuVector is available) * const client = await createRuVectorClient({ enabled: true }); * * // Fallback-only mode (no ML, rule-based logic) * const fallbackClient = await createRuVectorClient({ enabled: false }); * * // Both work the same way: * const router = client.getQLearningRouter(); * const result = await router.routeTask(task); * console.log(result.usedFallback); // true if RuVector unavailable * ``` */ export declare function createRuVectorClient(config?: Partial): Promise; /** * Create a RuVector client synchronously (must call initialize() manually) */ export declare function createRuVectorClientSync(config?: Partial): RuVectorClient; /** * Quick check if RuVector integration is available */ export declare function isRuVectorAvailable(config?: Partial): Promise; /** * Get RuVector status summary */ export declare function getRuVectorStatus(config?: Partial): Promise<{ available: boolean; mode: 'ml' | 'fallback'; features: string[]; }>; //# sourceMappingURL=index.d.ts.map