import { LegacyToastAction } from "./Toast.vue"; export type ToastOptions = { duration?: number; closeOnSwipe?: boolean; action?: LegacyToastAction | LegacyToastAction[]; }; /** * @deprecated LegacyToast is deprecated and will be removed in a future version. Not recommended for use. Instead import toast from '@hoppscotch/ui' and use 'toast.show()' */ declare const legacyToast: { success: (message: string, option?: ToastOptions) => void; error: (message: string, option?: ToastOptions) => void; warning: (message: string, option?: ToastOptions) => void; show: (message: string, option?: ToastOptions) => void; }; export { legacyToast };