import { type CompletionOptions, type LLMProvider, type ProviderCapabilities } from '@cortex/core'; export interface OllamaProviderOptions { host?: string; model?: string; embeddingModel?: string; numCtx?: number; numGpu?: number; timeoutMs?: number; keepAlive?: string; } export declare class OllamaProvider implements LLMProvider { readonly name = "ollama"; readonly type: "local"; private host; private model; private embeddingModel; private numCtx; private numGpu; private timeoutMs; private keepAlive; private streamInactivityTimeoutMs; readonly capabilities: ProviderCapabilities; constructor(options?: OllamaProviderOptions); getModel(): string; complete(prompt: string, options?: CompletionOptions): Promise; completeWithSystem(systemPrompt: string | undefined, userPrompt: string, options?: CompletionOptions, _modelPreference?: 'primary' | 'fast'): Promise<{ content: string; inputTokens: number; outputTokens: number; model: string; }>; completeStructured(prompt: string, _schema: Record, options?: CompletionOptions): Promise; stream(prompt: string, options?: CompletionOptions): AsyncGenerator; streamWithSystem(systemPrompt: string | undefined, userPrompt: string, options?: CompletionOptions, _modelPreference?: 'primary' | 'fast'): AsyncGenerator; embed(texts: string[]): Promise; isAvailable(): Promise; ensureModel(): Promise; listModels(): Promise>; getHost(): string; getNumCtx(): number; getNumGpu(): number; getEmbeddingModel(): string; private mapError; } //# sourceMappingURL=ollama.d.ts.map