import type { ErrorDetails } from '../../../utils/errors/extractErrorDetails'; import './ResponseError.scss'; interface ResponseErrorProps { error?: unknown; className?: string; defaultMessage?: string; } export declare function useErrorInfo(error: unknown, defaultMessage?: string): { title: string; subtitle: string | undefined; showSubtitle: boolean; details: ErrorDetails | null; }; interface ResponseErrorMessageProps { subtitle?: string; showSubtitle: boolean; details?: ErrorDetails | null; renderedTitle?: string; } export declare function ResponseErrorMessage({ subtitle, showSubtitle, details, renderedTitle, }: ResponseErrorMessageProps): import("react/jsx-runtime").JSX.Element; export declare const ResponseError: ({ error, className, defaultMessage, }: ResponseErrorProps) => import("react/jsx-runtime").JSX.Element; export {};