import * as React from 'react'; import '@vtmn/css-alert/dist/index-with-vars.css'; import { VtmnAlertVariant } from './types'; export interface VtmnAlertProps extends Omit, 'onClose'> { /** * The alert's title */ title: string; /** * The alert's message */ message?: string; /** * The alert's variant */ variant: VtmnAlertVariant; /** * Aria label applied on the close button */ ariaLabelCloseButton: string; /** * time (ms) before the alert disappears * Set to 0 to keep the alert visible */ timeout: number; /** * The alert callback close function * @type {function} */ onClose?: (event: React.MouseEvent | undefined) => void; } export declare const VtmnAlert: ({ variant, title, message, onClose, ariaLabelCloseButton, timeout, className, }: VtmnAlertProps) => JSX.Element; declare const MemoVtmnAlert: React.MemoExoticComponent<({ variant, title, message, onClose, ariaLabelCloseButton, timeout, className, }: VtmnAlertProps) => JSX.Element>; export default MemoVtmnAlert;