import { Toaster } from "./toaster"; import type { ToastAPI, ToasterConfig } from "./models"; declare const toast: ToastAPI; declare function createToaster(target: string | HTMLElement, config?: ToasterConfig): ToastAPI; declare global { interface Window { toast: ToastAPI; } } export { createToaster, Toaster, toast }; export type { StandardToastType, ToastAction, ToastAPI, ToastCloseReason, ToastConfig, ToastDedupe, ToastOptions, ToastOverflow, ToastPosition, ToastPromiseMessages, ToastPromiseResult, ToastSnapshot, ToastState, ToastSwipeDirection, ToastTheme, ToastType, ToastUpdate, ToasterConfig, } from "./models";