import React from 'react'; interface Props { /** message to display in the alert box */ children: React.ReactChild; /** the type of alert to show */ type: 'success' | 'info' | 'warning' | 'danger'; /** action to fire on close */ onClose?: () => void; } declare const Alert: ({ type, onClose, children }: Props) => JSX.Element; export default Alert;