import { Component, ReactElement, RefObject } from 'react';
import { IconName, IconProps } from '../Icon';
import './Toast.less';
export declare type ToastProps = {
    /**
     * Visual intent color to apply to component.
     */
    intent?: 'info' | 'success' | 'warning' | 'danger';
    message: string | ReactElement<any>;
    onClose?: () => void;
    /**
     * @deprecated Use `autoClosable`.
     */
    autoCloseTimeout?: number;
    closable?: boolean;
    /**
     * @since 3.29.0
     */
    accent?: boolean;
    /**
     * @since 3.29.0
     */
    icon?: IconName | IconProps | ReactElement<any>;
    /**
     * @since 3.9.0
     */
    autoClosable?: boolean;
    /**
     * @ignore
     */
    className?: string;
    /**
     * @ignore
     */
    baseClassName?: string;
    /**
     * @ignore
     */
    innerRef?: RefObject<HTMLDivElement>;
};
export default class Toast extends Component<ToastProps> {
    static defaultProps: {
        baseClassName: string;
    };
    componentDidMount(): void;
    componentWillUnmount(): void;
    timer?: number;
    render(): JSX.Element;
}
