import type { SymiConfig } from "../config/config.js";
import type { EmbeddingProvider, EmbeddingProviderOptions } from "./embeddings.js";
export type OllamaEmbeddingClient = {
    baseUrl: string;
    model: string;
};
/**
 * Resolve the Ollama API base URL from config or defaults.
 * Strips any trailing `/v1` suffix since we need the native API base.
 */
export declare function resolveOllamaBaseUrl(cfg?: SymiConfig): string;
/**
 * Probe an Ollama instance for available embedding models.
 * Returns null if Ollama is unreachable or has no embedding models.
 */
export declare function probeOllamaEmbeddingModels(baseUrl: string): Promise<{
    models: string[];
    baseUrl: string;
} | null>;
/**
 * Create an embedding provider that uses Ollama's OpenAI-compatible
 * `/v1/embeddings` endpoint. No auth header is required for local Ollama.
 */
export declare function createOllamaEmbeddingProvider(options: EmbeddingProviderOptions): Promise<{
    provider: EmbeddingProvider;
    client: OllamaEmbeddingClient;
}>;
