import * as React from 'react'; export declare type Type = 'error' | 'success' | 'warning'; export interface Props { type: Type; id?: string; children?: React.ReactNode; onClose?: () => void; colored?: boolean; bg?: boolean; } export default class Alert extends React.PureComponent { readonly icon: JSX.Element | null; render(): JSX.Element; }