import React from 'react'; export interface IToastProps { heading?: string; /** Function run when component is mounted (usually a timer if required) */ onMount?: () => void; /** Function called when close button is clicked */ handleClose: (e: React.MouseEvent) => void; /** Type of toast */ type?: 'success' | 'alert'; /** Children that will be displayed as toast content */ children: JSX.Element | string; } export declare class Toast extends React.PureComponent> { static defaultProps: Partial; componentDidMount(): void; render(): JSX.Element; }