export declare const AI_CONNECTION_TYPES: readonly ["ai", "aiLite", "aiLarge", "vision", "audio", "image", "embedder", "transcriber", "documentAi"]; export type AiConnectionType = (typeof AI_CONNECTION_TYPES)[number]; export declare const AI_CONNECTIONS_CHANGED_EVENT = "ai-connections.changed"; /** One link in a fallback chain, normalized to the shape buildChatModel consumes. */ export interface ResolvedAiCandidate { source: "db" | "env"; /** AiConnection node id, or `env:` for the final .env candidate. */ connectionId: string; connectionType: AiConnectionType; provider: string; apiKey: string; model: string; url: string; region?: string; instance?: string; /** * IGNORED by the azure chat branch (`ModelService.buildChatModel`'s `case * "azure"`) — that branch speaks the GA v1 Responses surface, which is * IMPLICITLY versioned, so no `api-version` is ever sent. Still read by * azure EMBEDDINGS (`AzureOpenAIEmbeddings`) and the TRANSCRIBER * (`AzureOpenAI` SDK client), which are unaffected by the Responses move. */ apiVersion?: string; googleCredentialsBase64?: string; allowFallbacks?: boolean; reasoningEffort?: string; maxOutputTokens?: number; dimensions?: number; inputCostPer1MTokens?: number; outputCostPer1MTokens?: number; cachedInputCostPer1MTokens?: number; costPerMinute?: number; costPerPage?: number; directUrl?: string; language?: string; directFormat?: string; directProvider?: string; } //# sourceMappingURL=ai-candidate.interface.d.ts.map