import React from 'react'; import { NoticeProps } from './iNotification'; declare function noop(): void; declare class Notice extends React.Component { static defaultProps: { onEnd: typeof noop; onClose: typeof noop; duration: number; closable: boolean; color: string; }; closeTimer: ReturnType | null; constructor(props: NoticeProps); componentDidMount(): void; componentWillUnmount(): void; clearCloseTimer(): void; close(): void; notifiClick: (e: React.MouseEvent) => void; render(): JSX.Element; } export default Notice;