export type ProviderId = 'openai' | 'gemini' | 'ollama' | 'lmstudio'; export declare class ProviderDetector { /** * Detect which OpenAI-compatible provider a request is targeting based on its URL. * * The OpenAI SDK forwards its configured `baseURL` to every fetch call, so the host of * the captured request URL is enough to identify the provider without any caller config. * * Falls back to `'openai'` for unknown hosts so custom proxies and Azure OpenAI keep * working as before. */ static fromUrl(inputUrl: string): ProviderId; }