import { MouseEvent, ReactElement } from 'react';
import { ToastPosition, TypeOptions } from 'react-toastify';
interface ToastManagerOptions {
    /**
     * Set the delay in ms to close the toast automatically.
     * Use `false` to prevent the toast from closing.
     * `Default: 5000`
     */
    autoClose?: number | false;
    /**
     * Hide or show the progress bar.
     * `Default: false`
     */
    hideProgressBar?: boolean;
    /** Set the default position to use.
     * `Default: 'top-right'`
     */
    position?: ToastPosition;
    /** Fired when clicking inside toaster */
    onClick?: (event: MouseEvent) => void;
    /** Called when toast is mounted. */
    onOpen?: <T = Record<string, unknown>>(props: T) => void;
    /** Called when toast is unmounted. */
    onClose?: <T = Record<string, unknown>>(props: T) => void;
    /** Manually declare the toastId  */
    toastId?: string;
    /** Set the toast variant. */
    variant?: 'info' | 'positive' | 'caution' | 'critical' | string;
    /**
     * @INTERNAL
     */
    type?: TypeOptions;
}
declare const toastManager: {
    (toast: string | ReactElement, options?: ToastManagerOptions): import("react-toastify").Id;
    dismiss(toastId: string | number | undefined): void;
    POSITION: {
        readonly TOP_LEFT: "top-left";
        readonly TOP_RIGHT: "top-right";
        readonly TOP_CENTER: "top-center";
        readonly BOTTOM_LEFT: "bottom-left";
        readonly BOTTOM_RIGHT: "bottom-right";
        readonly BOTTOM_CENTER: "bottom-center";
    };
    VARIANT: {
        INFO: string;
        POSITIVE: string;
        CAUTION: string;
        CRITICAL: string;
    };
};
export { toastManager, type ToastManagerOptions };
