import * as React from 'react'; import { intent } from './Notification.types'; export interface NoticeProps { /** * Unique id of Notice */ key?: string; /** * Message of Notification */ message?: React.ReactNode; /** * Description of Notification */ description?: React.ReactNode; /** * Notification will be unmount after given time (ms) */ duration?: number; /** * Color and status of Notification */ intent?: intent; /** * Callback function, when notification is closed */ onClose?: () => void; /** * Callback function, when notification is opened */ onEnter?: () => void; /** * Width of notification * @default 420 */ width?: number; /** * Additional classes */ className?: string; /** * container of notifications * @private */ container?: HTMLDivElement; /** * container of notifications * @private */ holder?: HTMLElement; } export declare class Notice extends React.PureComponent { static defaultProps: { width: number; }; counter: number | null; componentDidMount(): void; componentDidUpdate(prevProps: NoticeProps): void; componentWillUnmount(): void; startCloseTimer: () => void; clearCloseTimer: () => void; restartCloseTimer: () => void; handleClose: (e?: any) => void; render(): React.ReactPortal; }