declare class ToastManager extends React.Component { constructor(props: any); container: React.RefObject; state: { currentToast: any; nextToast: any; isToastVisible: boolean; }; showToast: (args: any) => void; hideToast: () => void; handleToastClose: () => void; getParentBounds: () => any; updateContainerBounds: () => void; componentDidUpdate(): void; render(): JSX.Element; } declare namespace ToastManager { export namespace propTypes { export const positioning: PropTypes.Requireable; export const children: PropTypes.Validator<(...args: any[]) => any>; } } export default ToastManager; import React from "react"; import PropTypes from "prop-types";