/** * OpenKernel — OpenAI-compatible base URL normalization. * * Different consumers append different suffixes to a provider base URL: * - the kernel provider and the Vercel AI SDK both ultimately POST to * `/chat/completions` and GET `/models`. * Stored/preset base URLs are inconsistent — some include the API version * segment (`/v1`), some don't, and a few providers speak `/chat/completions` * directly with no version segment at all. * * `openAICompatBaseURL` returns the canonical base to which `/chat/completions` * (or `/models`) should be appended — with exactly one version segment where * the provider expects it. Using it on both surfaces guarantees the same, * correct URL regardless of how the base was stored. */ export declare function openAICompatBaseURL(baseURL: string): string; export declare function openAICompatChatURL(baseURL: string): string; export declare function openAICompatModelsURL(baseURL: string): string;