import * as React from 'react'; import type { HTMLAriaDataAttributes } from '../_util/aria-data-attrs'; import type { SemanticClassNamesType, SemanticStylesType } from '../_util/hooks'; export declare const IconMap: { success: React.ForwardRefExoticComponent & React.RefAttributes>; error: React.ForwardRefExoticComponent & React.RefAttributes>; info: React.ForwardRefExoticComponent & React.RefAttributes>; warning: React.ForwardRefExoticComponent & React.RefAttributes>; }; export declare const ExceptionMap: { '404': React.FC<{}>; '500': React.FC<{}>; '403': React.FC<{}>; }; export type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500'; export type ResultStatusType = ExceptionStatusType | keyof typeof IconMap; type SemanticName = 'root' | 'title' | 'subTitle' | 'body' | 'extra' | 'icon'; export type ResultClassNamesType = SemanticClassNamesType; export type ResultStylesType = SemanticStylesType; export interface ResultProps extends HTMLAriaDataAttributes { icon?: React.ReactNode; status?: ResultStatusType; title?: React.ReactNode; subTitle?: React.ReactNode; extra?: React.ReactNode; prefixCls?: string; className?: string; rootClassName?: string; style?: React.CSSProperties; children?: React.ReactNode; classNames?: ResultClassNamesType; styles?: ResultStylesType; } export interface ResultType extends React.FC { PRESENTED_IMAGE_404: React.FC; PRESENTED_IMAGE_403: React.FC; PRESENTED_IMAGE_500: React.FC; } declare const Result: ResultType; export default Result;