import { Dispatch } from "react"; import { CommonComponentProps } from "Types/common"; import { Variant } from "Constants/variants"; import { ToastOptions } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; export type ToastProps = ToastOptions & CommonComponentProps & { contentClassName?: string; text: string; actionElement?: JSX.Element; variant?: Variant; duration?: number; onUndo?: () => void; dispatchableAction?: { dispatch: Dispatch; type: string; payload: any; }; showDebugButton?: any; hideProgressBar?: boolean; hideActionElementSpace?: boolean; width?: string; maxWidth?: string; }; export declare function StyledToastContainer(props: ToastOptions): JSX.Element; export declare function ToastComponent(props: ToastProps & { undoAction?: () => void; }): JSX.Element; export declare const Toaster: { show: (config: ToastProps) => void; clear: () => void; };