import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ReakitBoxProps } from '../types'; import { Omit } from '../types'; import { ButtonProps } from '../Button/Button'; import { AlertCloseProps } from './AlertClose'; export declare type LocalAlertProps = { className?: string; closeButtonProps?: Omit; children?: React.ReactNode; hasIcon?: boolean; hasTint?: boolean; onClickClose?: AlertCloseProps['onClickClose']; showCloseButton?: boolean; title?: string; type?: string; }; export declare type AlertProps = LocalAlertProps & ReakitBoxProps; export declare const Alert: React.FunctionComponent; export declare const alertPropTypes: { className: PropTypes.Requireable; closeButtonProps: PropTypes.Requireable>; children: PropTypes.Requireable; hasIcon: PropTypes.Requireable; hasTint: PropTypes.Requireable; onClickClose: PropTypes.Requireable<(...args: any[]) => any>; showCloseButton: PropTypes.Requireable; title: PropTypes.Requireable; type: PropTypes.Requireable; }; export declare const alertDefaultProps: Partial; declare const C: React.FunctionComponent; export default C;