import * as React from 'react';
import { CSSModule } from '../index';
import { FadeProps } from './Fade';

export interface UncontrolledAlertProps extends React.HTMLAttributes<HTMLElement> {
  [key: string]: any;
  className?: string;
  cssModule?: CSSModule;
  color?: string;
  tag?: React.ReactType;
  transition?: FadeProps;
}
export interface AlertProps extends UncontrolledAlertProps {
  isOpen?: boolean;
  toggle?: () => void;
}

declare class Alert<T = {[key: string]: any}> extends React.Component<AlertProps> {}
export default Alert;
