import React, { Component } from 'react'; import './index.less'; interface IExceptionProps { type?: '403' | '404' | '500'; title?: React.ReactNode; desc?: React.ReactNode; img?: string; actions?: React.ReactNode; linkElement?: string | React.ComponentType; style?: React.CSSProperties; className?: string; backText?: React.ReactNode; redirect?: string; } declare class Exception extends Component { static defaultProps: { backText: string; redirect: string; type: string; }; constructor(props: any); render(): JSX.Element; } export default Exception;