import { CSSProperties, ReactNode } from "react"; import { PopupBackdropProps } from "../popup"; import { ToastPosition, ToastType } from "./toast.shared"; export declare function setDefaultToastOptions(options: ToastOptions): void; export declare function resetDefaultToastOptions(): void; export declare function useToastOpen(cb: (options: ToastOptions) => void): void; export declare function useToastClose(cb: (selector: string) => void): void; export interface ToastOptions { selector?: string; className?: string; style?: CSSProperties; backdrop?: boolean | Omit; type?: ToastType; position?: ToastPosition; icon?: ReactNode; duration?: number; message?: ReactNode; onClose?(opened: boolean): void; } export declare function openToast(args: ReactNode | ToastOptions): void; export declare function createToast(type: ToastType): (args: string | Omit) => void; export declare function closeToast(selector?: string): void;