import { CSSProperties, ReactNode } from "react"; import { ToastPosition } from "react-hot-toast"; type Props = { header?: ReactNode; body?: ReactNode; footer?: ReactNode; duration?: number; variant?: "success" | "error" | "info" | "warning" | "black"; position?: ToastPosition; unclosable?: boolean; inlineStyle?: CSSProperties; button?: { text: string; onClick: () => void; }; loader?: "loader" | "MediaLoader"; }; /** Triggers toast notification and returns notification id */ export declare function notify({ header, body, footer, duration, variant, unclosable, position, inlineStyle, button, loader, }: Props): string; export interface NotifyFunction { (options: { header: string; body: string; variant?: "info" | "success" | "warning" | "error"; duration?: number; button?: { text: string; onClick: () => void; }; loader?: "loader" | "MediaLoader"; }): string; } export {};