import { sileo } from "sileo"; export { Toaster } from "sileo"; interface ToastOptions { description?: string; duration?: number; position?: | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right"; } export const toast = { success: (title: string, opts?: ToastOptions) => sileo.success({ title, ...opts }), error: (title: string, opts?: ToastOptions) => sileo.error({ title, ...opts }), info: (title: string, opts?: ToastOptions) => sileo.info({ title, ...opts }), warning: (title: string, opts?: ToastOptions) => sileo.warning({ title, ...opts }), };