import React from 'react'; import { animationType, placeType } from './ToastLayout'; interface ToastProps { x?: number; y?: number; delay?: number; place?: placeType; animation?: animationType; getKey?: (key: number) => void; } export default class Toast extends React.Component { private static refMap; private static toastQueue; private static firstShow; static _setRef: (ref?: any, key?: number) => void; static hideToast(key: number): void; private static showToast; static info(text?: string, options?: ToastProps, cb?: Function): void; static success(text?: string, options?: ToastProps, cb?: Function): void; static fail(text?: string, options?: ToastProps, cb?: Function): void; static warning(text?: string, options?: ToastProps, cb?: Function): void; render(): null; } export {};