import React from 'react'; declare type ToastId = string; declare type ToastOptions = { text: React.ReactNode; id: ToastId; type: 'default' | 'error'; timeout: number | null; }; declare type ToasterType = React.FunctionComponent<{ width?: number; top?: React.ReactText; }> & { showToast: (options: Partial) => ToastId; hideToast: (id: ToastId) => void; }; declare const Toaster: ToasterType; export default Toaster;