import { default as log } from 'loglevel';
import { Dispatch, SetStateAction } from 'react';
import { NotificationProps } from './NotificationTypes';
declare const logger: log.Logger;
export { logger as notificationLogger };
/**
* Notifications are used to communicate with users,
* providing real time feedback on high level and
* priority items requiring immediate attention.
*
* @example
*
*
*
alert("closed"),
"aria-label": "Click this button will close this notification",
},
actionButtons: {
buttons: [
{ children: "Edit", onClick: () => alert("Edit Clicked") },
{ children: "Alert", onClick: () => alert("Alert Clicked") },
],
},
counter: { count: "00:00" },
},
/>
*
*
* @see https://design.avayacloud.com/components/web/notifications-web
* @see https://neo-react-library-storybook.netlify.app/?path=/story/components-notification
*/
export declare const Notification: {
({ type, actions, header, description, showTimestamp, isElevated, isInline, ariaLive, occurences, locale, translations, ...rest }: NotificationProps): import("react/jsx-runtime").JSX.Element | null;
displayName: string;
};
export declare function createActions(actions: NotificationProps["actions"], type: NotificationProps["type"], setClosed: Dispatch>, closeButtonLabel?: string): {
counterAction: import("react/jsx-runtime").JSX.Element | null;
buttonAction: import("react/jsx-runtime").JSX.Element | null;
closableAction: import("react/jsx-runtime").JSX.Element | null;
};