import ToastInterface from "../models/client/Toast" ; let toast = { success : ( message ) => { } , error : ( message ) => { } } ; export const initToast = ( toastImplementation ) : void => { toast = toastImplementation ; } ; export const getToast = ( ) : ToastInterface => { return toast ; } ;