import OpenAI from "openai"; export interface OpenAIClientOptions { apiKey?: string; baseURL?: string; apiVersion?: string; } /** * Detects if the given URL is an Azure OpenAI endpoint * Safely parses the URL and checks if the hostname ends with ".openai.azure.com" */ export declare const isAzureEndpoint: (baseURL: string | undefined) => boolean; /** * Creates an OpenAI or AzureOpenAI client based on the baseURL * - If baseURL contains ".openai.azure.com", returns AzureOpenAI client * - Otherwise, returns standard OpenAI client */ export declare const createOpenAIClient: (options: OpenAIClientOptions) => OpenAI;