import { JSX } from 'solid-js'; export interface ErrorViewProps { /** Description shown inside the AlertPanel. Falls back to `t("error.description")`. */ error?: Error | string; /** Title shown inside the AlertPanel. Falls back to `t("error.title")`. */ title?: JSX.Element; /** Badge text in the PanelHeading. Falls back to `t("error.label")`. */ label?: JSX.Element; /** Structured context to display below the AlertPanel. Omitted entirely when not provided. */ info?: JSX.Element; /** Retry button label. Falls back to `t("error.retry")`. */ ctaLabel?: JSX.Element; /** Retry callback. When provided, a CTA button is rendered. */ onRetry?: () => void | Promise; class?: string; className?: string; } export declare function ErrorView(props: ErrorViewProps): JSX.Element; export declare namespace ErrorView { var displayName: string; }