import React from "react"; import { Notification } from "./type"; declare type State = { notifications: Notification[]; setNotification: (t: Notification) => void; rmNotification: (idx: number) => void; }; declare const CustomContext: React.Context; export declare const useToastContext: () => State; export default CustomContext;