export interface OllamaEntity { type: 'PERSON' | 'ORG'; value: string; } export interface OllamaClientOptions { baseUrl: string; model: string; timeoutMs?: number; } /** * Thin wrapper around the Ollama /api/chat endpoint. * Designed to be injected into Engine so it can be mocked in tests. */ export declare class OllamaClient { private readonly baseUrl; private readonly model; private readonly timeoutMs; constructor(opts: OllamaClientOptions); /** * Check whether the model is loaded and ready to respond to inference. * Sends a minimal chat request; returns true if Ollama replies within timeoutMs. */ isModelReady(timeoutMs?: number): Promise; /** * Fire-and-forget: trigger model loading without waiting for the result. * Call at server startup so the model is warm before the first real request. */ warmUp(): void; extractEntities(text: string, knownEntities?: OllamaEntity[]): Promise; } //# sourceMappingURL=ollama-client.d.ts.map