import React from 'react';
import { Animated } from 'react-native';
import { IToastStyle } from './style/index.native';
export interface ToastProps {
    content: string;
    duration?: number;
    onClose?: () => void;
    mask?: boolean;
    type?: string;
    onAnimationEnd?: () => void;
    styles?: IToastStyle;
}
export default class ToastContainer extends React.Component<ToastProps, any> {
    static defaultProps: {
        duration: number;
        mask: boolean;
        onClose(): void;
        styles: {
            [x: string]: import("react-native").RegisteredStyle<any>;
        };
    };
    anim: Animated.CompositeAnimation | null;
    constructor(props: ToastProps);
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): JSX.Element;
}
