import * as React from 'react'; import { IHasChildren, IHasCX, Icon, IHasRawProps, Overwrite } from '@epam/uui-core'; interface AlertNotificationAction { name: string; action: () => void; } interface AlertMods { /** Alert color */ color: 'info' | 'success' | 'warning' | 'error'; } export interface AlertModsOverride { } export interface AlertCoreProps extends IHasChildren, IHasCX, IHasRawProps> { /** List of actions to display in the alert. Each action has name and 'action' callback */ actions?: AlertNotificationAction[]; /** When specified, a close icon is rendered. onClose callback will be called on clicking the close icon */ onClose?(): void; /** An optional icon to show on the left of the alert */ icon?: Icon; /** * Component size. If omitted, 48 size will be used. * @default '48' */ size?: '36' | '48'; } /** Represents the properties of the Alert component. */ export interface AlertProps extends AlertCoreProps, Overwrite { } export declare const Alert: React.ForwardRefExoticComponent>; export declare const WarningAlert: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const SuccessAlert: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const HintAlert: React.ForwardRefExoticComponent & React.RefAttributes>; export declare const ErrorAlert: React.ForwardRefExoticComponent & React.RefAttributes>; export {}; //# sourceMappingURL=Alert.d.ts.map