/**
 * Centralized AI provider configuration and error handling
 */
/**
 * Sets up the AI provider with the specified model
 *
 * @param providerName The name of the AI provider to use
 * @param model A single model name or an array of model names
 * @param modelIndex Optional index to use a specific model from the array (defaults to 0)
 * @returns The configured AI provider
 */
export declare function handleProviderSetup(providerName: string, model: string | string[], modelIndex?: number): import("ai").LanguageModelV1;
