import { ToolSet } from 'ai'; /** * Options for generating a structured response from the AI model. * * Includes the core params (`prompt`, `system`) plus any additional options * (e.g. `mode`, `schemaName`, `schemaDescription`, `maxTokens`, `temperature`, etc.). * Extra properties are passed through as-is. * * Note: The Zod `schema` is passed as a separate argument to `generateStructuredResponse()`. */ export interface GenerateObjectParams { /** User input/message to send to the AI model (role: user). */ prompt: string; /** Optional system instructions that define the AI's behavior, persona, and task context (role: system). */ system?: string; /** Any additional options are passed through to the underlying AI call. */ [key: string]: unknown; } export interface GenerateWithToolsParams extends GenerateObjectParams { tools?: ToolSet; maxSteps?: number; } /** * Enum representing supported AI providers. */ export declare enum Provider { /** * Expects 'OPENAI_API_KEY' and 'MODEL_OPEN_AI' environment variables to be set. */ OpenAI = "openai", /** * Expects 'XAI_API_KEY' and 'MODEL_XAI' environment variables to be set. */ XAI = "xai", /** * Expects 'XAI_API_KEY' and 'MODEL_XAI_RESPONSES' environment variables to be set. * Uses the Responses API, enabling server-side tools like web_search. */ XAIResponses = "xai-responses", /** * Expects 'GOOGLE_GENERATIVE_AI_API_KEY' and 'MODEL_GEMINI' environment variables to be set. */ Gemini = "gemini", /** * Expects 'ANTHROPIC_API_KEY' and 'MODEL_ANTHROPIC' environment variables to be set. */ Anthropic = "anthropic" } //# sourceMappingURL=unified-ai-client.model.d.ts.map