/** * Represents an API key configuration for AI services. * Used to provide API keys at runtime for specific AI driver classes. */ export interface AIAPIKey { /** * The driver class name (e.g., 'OpenAILLM', 'AnthropicLLM', 'GroqLLM') * This should match the exact driver class name used by the AI provider */ driverClass: string; /** * The API key value for the specified driver class */ apiKey: string; } /** * Default AI API Key Dictionary. You can override this with a custom implementation by creating a sub-class of this class and doing whatever you want in that class * Make sure any sub-class implementation is registered with the RegisterClass decorator and a priority higher than 1. */ export declare class AIAPIKeys { private static readonly _apiKeyPrefix; protected static _cachedAPIKeys: { [key: string]: string; }; protected GetCachedAPIKey(AIDriverName: string): string; protected SetCachedAPIKey(AIDriverName: string, value: string): void; GetAPIKey(AIDriverName: string): string; protected getEnvVariableCaseInsensitive(name: string): string | undefined; } /** * Helper function that gets the API Key for a given AI Driver Name using the AIAPIKeys class or any registered sub-class of AIAPIKeys * @param AIDriverName * @param apiKeys - optional array of AIAPIKey objects to check first before falling back to the global AIAPIKeys class * @param verbose - optional flag to enable verbose logging * @returns */ export declare function GetAIAPIKey(AIDriverName: string, apiKeys?: AIAPIKey[], verbose?: boolean): string; export declare function GetAIAPIKeyGlobal(AIDriverName: string): string; //# sourceMappingURL=apiKeyDictionary.d.ts.map