import { ReactNode } from 'react'; interface Props { /** Type of Alert component */ type?: 'warning' | 'error' | 'success' | 'info' | 'tip'; /** Variant of Alert component, controlling the size of the Alert */ variant?: 'default' | 'toast'; /** Title of the Alert message */ message?: string; /** Description of the Alert message */ description?: string; /** Callback function, to be executed when clicked close button. No close button if no * function passed */ onDismiss?: () => void; /** Another way to dismiss the Alert message. Replaces close button if true */ dismissOnClick?: boolean; /** @ignore */ children?: ReactNode; /** Rest Props */ [rest: string]: any; } /** * Alert component is used to give feedback to the user action or state changes. */ declare const Alert: ({ type, variant, message, description, onDismiss, dismissOnClick, children, ...rest }: Props) => import("@emotion/react/jsx-runtime").JSX.Element; export default Alert;