import type { ProviderId } from '../types.js'; import { type SecretDefinition } from '../secretStore.js'; export type ApiKeyErrorType = 'missing' | 'invalid'; export interface ApiKeyErrorInfo { type: ApiKeyErrorType; provider: ProviderId | null; secret?: SecretDefinition | null; message?: string; } export declare function detectApiKeyError(error: unknown, provider?: ProviderId | null): ApiKeyErrorInfo | null; //# sourceMappingURL=apiKeyErrors.d.ts.map