import { FC, PropsWithChildren } from 'react';
import { BaseProps } from '../util/type';
import './index.css';
export declare type ToastCategory = 'success' | 'error' | 'warning';
export interface ToastProps extends BaseProps {
    type?: 'success' | 'error' | 'warning';
    text?: string;
    duration?: number;
    closeToast?: CallableFunction;
    canStop?: boolean;
}
declare type ToastType = FC<PropsWithChildren<ToastProps>> & {
    show: (params: ToastProps) => void;
};
export declare const Toast: ToastType;
export {};
