import { ButtonBaseElements } from '@codecademy/gamut'; import { Notification } from '../NotificationList/typings'; export type NotificationActions = { clear: () => void; click: (notification: Notification) => void; dismiss: (notification: Notification) => void; read: (notifications: Notification[]) => void; track: (target: string) => void; }; export type AppHeaderNotificationSettings = { actions: NotificationActions; notifications: Notification[]; onEnable: () => void; }; export interface NotificationsProps { actions: NotificationActions; handleClose: () => void; notifications: Notification[]; notificationListRef?: React.RefObject; } export interface NotificationsDropdownProps extends NotificationsProps { bellRef: React.RefObject; isOpen: boolean; }