import type { ToastId, ToastManager, ToastPromiseType, ToastType } from '@primereact/types/primitive/toaster'; export declare function createToastManager(): ToastManager; export declare const defaultToaster: ToastManager; export declare const toast: ((toast: ToastType) => ToastId) & { update: (id: ToastId, updates: Partial) => ToastId; dismiss: (id?: ToastId) => void; promise: (promise: Promise, options: ToastPromiseType) => Promise; success: (toast: ToastType) => ToastId; info: (toast: ToastType) => ToastId; warn: (toast: ToastType) => ToastId; error: (toast: ToastType) => ToastId; secondary: (toast: ToastType) => ToastId; contrast: (toast: ToastType) => ToastId; };