import { AIClientOptions } from '@happyvertical/ai'; import { DatabaseInterface } from '@happyvertical/sql'; export type AgentAISecretFallback = 'none' | 'ancestors'; export interface AgentAIOptions extends AIClientOptions { /** * Secret name to resolve for the provider API key. * * When omitted, the agent runtime falls back to a provider-specific default * for known providers such as Gemini, OpenAI, and Anthropic. */ apiKeySecretName?: string; /** * Whether to fall back to ancestor tenants when the current tenant does not * define the requested secret. * * Defaults to `'ancestors'`. */ apiKeySecretFallback?: AgentAISecretFallback; } interface ResolveAgentAIOptionsInput { aiConfig: AgentAIOptions | undefined; db: DatabaseInterface | null | undefined; tenantId?: string | null; } export declare function resolveAgentAIOptions(input: ResolveAgentAIOptionsInput): Promise; export {}; //# sourceMappingURL=ai-config.d.ts.map