UNPKG

@ai-stack/payloadcms

Version:

<p align="center"> <img alt="Payload AI Plugin" src="assets/payload-ai-intro.gif" width="100%" /> </p>

39 lines (38 loc) 1.06 kB
import type { PluginConfigProviders } from '../../types.js'; export type ResolvedProviderConfig = ReturnType<typeof resolveProviderConfig>; export declare const resolveProviderConfig: (providers?: PluginConfigProviders) => { anthropic: { apiKey: string | undefined; authToken: string | undefined; baseURL: string | undefined; headers: { [x: string]: string; } | undefined; }; elevenLabs: { apiKey: string | undefined; }; google: { apiKey: string | undefined; baseURL: string | undefined; headers: { [x: string]: string; } | undefined; }; minimax: { apiKey: string | undefined; baseURL: string; headers: { [x: string]: string; } | undefined; }; openai: { apiKey: string | undefined; baseURL: string; headers: { [x: string]: string; } | undefined; organization: string | undefined; project: string | undefined; }; };