import * as React from 'react'; import { SpaceProps } from 'styled-system'; export interface AlertProps { /** CSS class name */ className?: string; /** Enum for preset Alert types */ type?: 'info' | 'success' | 'warning' | 'danger' | string; /** Function called when Close button is tapped */ onClose?: Function; /** Whether a Close button appears */ noCloseBtn?: boolean; /** Text for the alert's title */ title?: string; } export interface AlertState { closed: boolean; } declare class Alert extends React.Component { constructor(props: any); handleClose(e: React.MouseEvent): void; render(): JSX.Element; } export { Alert };