import type { ReactNode } from 'react'; /** `panel` frames it in a card, standing in for a whole page or list; `plain` * gives it the same room with no frame, for a list or page body that holds * nothing; `dashed` draws a dashed frame, for a place to add or drop the * first item; `bare` is small, inside something that already frames it, such * as a sidebar, a menu or a dialog. */ export type EmptyStateVariant = 'panel' | 'plain' | 'dashed' | 'bare'; export interface EmptyStateProps { title: ReactNode; description?: ReactNode; /** What to do about it, such as a create button. */ action?: ReactNode; /** A glyph for what is missing, drawn bare and faded above the title. */ icon?: ReactNode; variant?: EmptyStateVariant | undefined; /** Makes the title a heading at this level, for an empty state that stands * in for a section's content; a paragraph otherwise. */ headingLevel?: 2 | 3 | 4 | undefined; className?: string | undefined; testId?: string | undefined; } /** What shows where there is nothing yet, or nothing matches: what's missing, * and what to do about it. */ export declare function EmptyState({ title, description, action, icon, variant, headingLevel, className, testId, }: EmptyStateProps): import("react").JSX.Element;