import * as React from "react"; import { ToastProps, ToastState, ToastType, ToastPosition } from "./typings/Toast"; export declare const _colors: { success: string; error: string; }; declare class Toast extends React.PureComponent { static show(text: string, type: ToastType, { time, position }?: { time?: number; position?: ToastPosition; }): void; showTimer?: number | null; static hide(): void; state: ToastState; componentDidMount(): void; componentWillUnmount(): void; private show; private hide; render(): JSX.Element; } export default Toast;