import { AriaRole, ReactNode, Ref } from "react"; export interface ErrorStateProps { /** * Title of the error state. Rendered inside a heading element, so pass * inline content (not another heading). */ title: ReactNode; /** * Description text for the error state. Explain what went wrong and what * the user can do about it. No apologies, no stack traces. */ description?: ReactNode; /** * Optional action element, typically a retry button wired to the host * error boundary's reset, or an escape route for non-transient failures. */ action?: ReactNode; /** * Heading level of the title (h2 to h6). Adjust it so the title fits into * the surrounding document outline. * @default 3 */ headingLevel?: 2 | 3 | 4 | 5 | 6; /** * ARIA role of the container. Set `role="alert"` at region tier so the * failure is announced without moving focus. */ role?: AriaRole; /** * Tab index of the container. A page-tier error boundary fallback sets * `tabIndex={-1}` and moves focus here on mount; the component itself * never manages focus. */ tabIndex?: number; /** Ref to the DOM element the component renders. */ ref?: Ref; /** * Visual variant of the component. Which values exist is defined by the theme * and listed in the "Appearance" section of the component's documentation. */ variant?: string; /** * Size of the component. Which values exist is defined by the theme and listed * in the "Appearance" section of the component's documentation. */ size?: string; } export declare const ErrorState: ({ title, description, action, headingLevel, variant, size, ...props }: ErrorStateProps) => import("react").JSX.Element;