import React from 'react'; import type { INotification, Icon, IHasChildren, IHasCX, IHasRawProps } from '@epam/uui-core'; interface NotificationAction extends IHasRawProps> { /** Defines NotificationAction name. */ name: string; /** Called when action is clicked */ action: () => void; } export interface NotificationCardCoreProps extends INotification, IHasChildren, IHasCX, IHasRawProps> { /** Array of Notification actions. If provided will be displayed as LinkButtons in the end of notification. */ actions?: NotificationAction[]; /** NotificationCard icon */ icon?: Icon; } interface NotificationMods { /** NotificationCard color */ color?: 'info' | 'success' | 'warning' | 'error'; } export interface NotificationCardProps extends NotificationCardCoreProps, NotificationMods { } export declare const NotificationCard: React.ForwardRefExoticComponent>; export declare const WarningNotification: React.ForwardRefExoticComponent>; export declare const SuccessNotification: React.ForwardRefExoticComponent>; export declare const HintNotification: React.ForwardRefExoticComponent>; export declare const ErrorNotification: React.ForwardRefExoticComponent>; export declare function ClearNotification(): React.JSX.Element; export {}; //# sourceMappingURL=NotificationCard.d.ts.map