import { ToastPosition, ToastType } from './InoToast.types'; export type ToastOptions = { type?: ToastType; message: string; duration?: number; position?: ToastPosition; withIcon?: boolean; withProgress?: boolean; }; type ToastInstance = { id: string; options: ToastOptions; }; export declare const toast: { success: (message: string, options?: Partial) => string; error: (message: string, options?: Partial) => string; warning: (message: string, options?: Partial) => string; info: (message: string, options?: Partial) => string; dismiss: (id: string) => void; subscribe: (listener: (toasts: ToastInstance[]) => void) => () => void; }; export {};