import { Control, NotificationCenterControlsProps } from "./types"; import { INotification, IMuteFilter, IPerformedAction } from "../../../platform/services/notification/types"; /** * Simplify this function with optional chaining return notification?.actionsHistory?.sort((a: IPerformedAction, b: IPerformedAction) => Date.parse(b.datePerformed) - Date.parse(a.datePerformed))?.[0] */ export declare const getMostRecentAction: (notification: INotification) => IPerformedAction | null; export declare const isNewNotification: (notification: INotification, newNotificationHaloPeriodSeconds: number) => boolean; export declare const isReNotification: (notification: INotification, newNotificationHaloPeriodSeconds: number) => boolean; export declare const getActiveFilter: (drawerControlProps: NotificationCenterControlsProps) => Control; export declare const searchNotifications: (notifications: INotification[], searchTerm: string) => INotification[]; export declare const getMuteFilterFromNotification: (notification: INotification) => IMuteFilter; //# sourceMappingURL=utils.d.ts.map