import { FC } from 'react';
import { BareAlertProps } from './Bare';
type SharedProps = Omit<BareAlertProps, 'onClose'>;
export type DismissibleProps = SharedProps & {
    onDismiss?: () => void;
    dismissible?: true;
};
export type NonDismissibleProps = SharedProps & {
    onDismiss?: never;
    dismissible?: false;
};
export type AlertProps = DismissibleProps | NonDismissibleProps;
declare const Alert: FC<AlertProps>;
export default Alert;
//# sourceMappingURL=index.d.ts.map