import { type CreateOpenAIModelConfig, type OpenAIModelConfig } from './types';
/**
 * Creates a configured OpenAI model instance with proper tracing metadata
 * Settings can optionally include openAiApiKey, otherwise falls back to environment configuration
 *
 * @param config - Configuration for model creation
 * @returns Configured model, metadata for tracing, and optional callbacks for hiding data
 * @throws Error if no API key is available in either settings or environment
 *
 * @example
 * ```typescript
 * const { model, metadata, callbacks } = await createOpenAIModel({
 *   settings,
 *   helpers,
 *   payload,
 *   modelType: OPENAI_MODELS.GPT4oMini,
 *   hideDataForTracing: true
 * })
 * ```
 */
export declare const createOpenAIModel: ({ settings, helpers, payload, modelType, hideDataForTracing, }: CreateOpenAIModelConfig & {
    hideDataForTracing?: boolean;
}) => Promise<OpenAIModelConfig>;
