import { LitElement } from 'lit'; import { KeycloakError } from '../../errors/keycloak-errors.js'; /** * Displays Keycloak errors with user-friendly messages and recovery options. * * @element kc-error-display * * @attr {KeycloakError} error - The error to display * @attr {boolean} show-details - Whether to show technical details by default * @attr {boolean} show-retry - Whether to show the retry button * * @fires {CustomEvent} retry - Fired when the user clicks the retry button * * @example * ```html * * ``` */ export declare class KcErrorDisplay extends LitElement { /** * The error to display */ error?: KeycloakError; /** * Whether to show technical details by default */ showDetailsDefault: boolean; /** * Whether to show the retry button */ showRetry: boolean; private detailsVisible; static styles: import('lit').CSSResult; connectedCallback(): void; private handleRetry; private toggleDetails; render(): import('lit').TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "kc-error-display": KcErrorDisplay; } } //# sourceMappingURL=kc-error-display.d.ts.map