/// import { Component } from 'react'; import noop from '../rc-util/noop'; import { NoticePropTypes } from './PropsType'; export default class Notice extends Component { closeTimer: any; key: any; onClose: typeof noop; content: any; static defaultProps: { onEnd: () => any; onClose: () => any; duration: number; style: { right: string; }; }; componentDidMount(): void; componentWillUnmount(): void; clearCloseTimer(): void; close(): void; render(): JSX.Element; }