import { ReactNode } from 'react'; import { ToastProps } from './Toast'; export interface ToastOptions extends ToastProps { id?: string; } export interface ToastShow { (options: ToastOptions): void; (title: ReactNode, options?: ToastOptions): void; } export interface ToastInternalShow { (optionsOrTitle: ReactNode | ToastOptions, options?: ToastOptions, internalType?: ToastOptions['type']): void; } export declare const show: ToastShow; export declare const success: ToastShow; export declare const fail: ToastShow; export declare const loading: ToastShow; export declare const hide: (id?: string) => void; export declare const hideAll: () => void;