import { FunctionComponent, HTMLProps, ReactNode } from 'react'; import { OneOf, Omit } from '../../typeUtils'; export const AlertVariant: { success: 'success'; danger: 'danger'; warning: 'warning'; info: 'info'; }; export interface AlertProps extends Omit, 'action'> { variant: OneOf; title: string; children?: ReactNode; action?: ReactNode; 'aria-label'?: string; variantLabel?: string; } declare const Alert: FunctionComponent; export default Alert;