/**
 * Model fetchers for external provider catalogues.
 *
 * Each function calls the provider's /models endpoint, applies provider-specific
 * filtering, and caches the result in-memory with a TTL. Caches are keyed by URL
 * so callers using different base URLs do not collide.
 */
import type { ProviderModelInfo } from "./contracts.js";
/** Clear all cached model lists. Intended for tests. */
export declare function resetModelFetcherCaches(): void;
export declare function isChatCapableOpenAIModelId(id: string): boolean;
/** Fetch the OpenRouter catalogue. Returns [] on any non-OK response. */
export declare function fetchOpenRouterModels(apiKey: string): Promise<ProviderModelInfo[]>;
/** Fetch the OpenAI (or OpenAI-compatible) catalogue. Returns [] on any non-OK response. */
export declare function fetchOpenAIModels(apiKey: string, baseUrl: string): Promise<ProviderModelInfo[]>;
/** Fetch the Ollama tags catalogue. Returns [] on any non-OK response. */
export declare function fetchOllamaModels(baseUrl: string): Promise<ProviderModelInfo[]>;
//# sourceMappingURL=model-fetchers.d.ts.map