import { MultiDbManager } from '../core/multi-db-manager'; import { ReasonCode } from '../models/reason-codes'; import { ActionHint } from '../models/action-hint'; /** * Vector backend status information. */ export interface VectorBackendStatus { /** Type of backend (chromadb, vss, or fallback) */ backend: 'chromadb' | 'vss' | 'fallback' | 'none'; /** Mode (expected backend for this platform) */ mode: 'chromadb' | 'vss' | 'fallback'; /** Whether the expected backend is available */ expected_available: boolean; /** Whether the backend is reachable */ reachable: boolean; /** Whether fallback is active */ fallback: boolean; /** Reason code for the current status */ reason_code: ReasonCode; /** Human-readable description */ description: string; /** Action hints for resolving issues (if any) */ action_hints?: ActionHint[]; /** Platform information */ platform: string; } /** * Vector backend healthcheck result. */ export interface VectorBackendHealthcheck { /** Whether the healthcheck passed */ healthy: boolean; /** Reason code */ reason_code: ReasonCode; /** Latency in milliseconds (if measurable) */ latency_ms?: number; /** Error code (if any) */ error_code?: string; /** Human-readable description */ description: string; /** Action hints for resolving issues (if any) */ action_hints?: ActionHint[]; } /** * API for checking vector backend status and health. */ export declare class VectorBackendStatusApi { private dbManager; constructor(dbManager: MultiDbManager); /** * Gets the current vector backend status. * * @returns Promise that resolves to vector backend status */ getVectorBackendStatus(): Promise; /** * Performs a healthcheck on the vector backend. * Attempts to perform a simple query to verify the backend is responsive. * * @returns Promise that resolves to healthcheck result */ healthcheckVectorBackend(): Promise; /** * Gets action hints for a specific reason code. */ private getActionHintsForReason; } //# sourceMappingURL=vector-backend-status-api.d.ts.map