/** * Agentic QE v3 - Ollama API Client * Client for Ollama embeddings API with retry logic */ import { OllamaHealthResponse } from './types'; /** * Client for Ollama API */ export declare class OllamaClient { private baseUrl; private maxRetries; private retryDelayMs; private timeoutMs; constructor(baseUrl?: string, maxRetries?: number, retryDelayMs?: number, timeoutMs?: number); /** * Check if Ollama is running and nomic-embed-text model is available */ healthCheck(): Promise; /** * Generate embedding for a single text prompt */ generateEmbedding(prompt: string): Promise; /** * Fetch with timeout support */ private fetchWithTimeout; /** * Sleep utility for retry delays */ private sleep; /** * Get Ollama server info */ getServerInfo(): Promise; /** * Verify model is available and throw if not */ ensureModelAvailable(): Promise; } //# sourceMappingURL=ollama-client.d.ts.map