import * as React from "react"; import { type StateViewProps } from "@/components/feedback/state-view"; import { Button } from "@/components/ui/button"; export type EmptyStateTone = "empty" | "error" | "info"; export type EmptyStateAction = { label: React.ReactNode; onClick?: () => void; href?: string; variant?: React.ComponentProps["variant"]; }; export type EmptyStateProps = Omit & { tone?: EmptyStateTone; primaryAction?: EmptyStateAction; secondaryAction?: EmptyStateAction; compact?: boolean; }; /** @deprecated Use StateView. */ declare function EmptyState({ tone, primaryAction, secondaryAction, compact, ...props }: EmptyStateProps): React.JSX.Element; export type ErrorStateProps = Omit; /** @deprecated Use StateView with status="error". */ declare function ErrorState(props: ErrorStateProps): React.JSX.Element; export { EmptyState, ErrorState };