/** * Claude authentication settings and helpers * Extracted from settings.js for provider-specific isolation */ interface ClaudeProviderSettings { readonly anthropicApiKey?: string; readonly bedrockApiKey?: string; readonly bedrockRegion?: string; } interface Settings { readonly providerSettings?: { readonly claude?: ClaudeProviderSettings; }; } /** * Validate an Anthropic API key format */ declare function isValidAnthropicKey(key: string | null | undefined): boolean; /** * Check if Bedrock mode is active based on env and overrides */ declare function isBedrockMode(envOverrides?: NodeJS.ProcessEnv): boolean; /** * Resolve Claude authentication environment variables from settings. * Bedrock takes priority over direct Anthropic API key and OAuth sessions. */ declare function resolveClaudeAuth(settings: Settings): NodeJS.ProcessEnv; declare const _default: { ANTHROPIC_KEY_PREFIX: string; CLAUDE_AUTH_ENV_VARS: string[]; isValidAnthropicKey: typeof isValidAnthropicKey; isBedrockMode: typeof isBedrockMode; resolveClaudeAuth: typeof resolveClaudeAuth; }; export = _default;