export type ShowToast = (msg: string, type?: "error" | "info" | "success", duration?: number) => void; export default interface Toast { show: ShowToast; } declare const initialize: (show: ShowToast) => void; export { initialize };