UNPKG

expense-manager-react

Version:

A comprehensive expense tracking application built with React, TypeScript, and Supabase

21 lines (20 loc) 664 B
import { default as React } from 'react'; interface Notification { id: string; title: string; message: string; timestamp: Date; read: boolean; } interface NotificationContextType { notifications: Notification[]; addNotification: (notification: Omit<Notification, 'id' | 'timestamp' | 'read'>) => void; markAsRead: (id: string) => void; markAllAsRead: () => void; removeNotification: (id: string) => void; } export declare function NotificationProvider({ children }: { children: React.ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function useNotifications(): NotificationContextType; export {};