import * as React from 'react'; export type AgErrorKind = 'rate-limit' | 'auth' | 'network' | 'content-filter' | 'context-length' | 'aborted' | 'unknown'; export interface ProviderErrorStateProps { /** Provider error class; selects the default title, detail and retry affordance. */ kind: AgErrorKind; /** Overrides the default title for `kind`. */ title?: string | undefined; /** Overrides the default explanation for `kind`. */ detail?: string | undefined; /** Milliseconds until a retry is allowed; Retry stays disabled and a countdown is shown until then. */ retryAfterMs?: number | undefined; /** Called when the user presses Retry; Retry is hidden when omitted. */ onRetry?: (() => void) | undefined; /** Non-material look (S-30): emitted as data-ag-appearance. Default 'panel'. */ appearance?: 'compact' | 'panel' | undefined; /** Class name merged onto the root element. */ className?: string | undefined; } export declare const DEFAULT_COPY: Record; /** * REQ-SURF-127: per-kind copy; `role="alert"` on the `panel` appearance only; Retry is the * CMP `Button`, disabled with a live countdown while `retryAfterMs` elapses. */ export declare function ProviderErrorState({ kind, title, detail, retryAfterMs, onRetry, appearance, className }: ProviderErrorStateProps): React.JSX.Element; //# sourceMappingURL=ProviderErrorState.d.ts.map