export interface IToastItem { id?: string; type?: string; title: string; content?: string; time?: number; } interface IProps { item: IToastItem; index?: number; onRemove(id: string): void; } declare const ToastItem: ({ index, item, onRemove }: IProps) => JSX.Element; export default ToastItem;