import { FC, Ref, PropsWithChildren } from 'react'; import { NotificationKind } from 'bloko/blocks/notificationManager/constants'; import { CommonNotificationProps } from 'bloko/blocks/notificationManager/context'; export declare const NOTIFICATION_AUTO_CLOSE_TIME_MS = 5000; export declare const NOTIFICATION_ANIMATION_TIMEOUT_MS = 300; export declare const NOTIFICATION_MANAGER_CLASS_JS = "Bloko-Notification-Manager"; export declare const NOTIFICATION_MANAGER_CLASS_CSS: string; interface NotificationProps extends CommonNotificationProps { /** Обработчик закрытия нотификации */ onClose?: () => void; /** ref для передачи ссылки на функцию закрытия нотификации вовне */ closeFuncRef?: Ref; } declare const Notification: FC; export default Notification; export { NotificationKind };