import { Dispatch, ReactNode } from 'react'

import { ToastListItem } from '../toast/toast.types'

export interface ChildrenProp {
  children?: ReactNode
}

export interface VuiContext {
  toasts: { list: ToastListItem[] }
  addToast: (toast: ToastListItem) => void
  removeToast: (id: string) => void
  setPortalSlot: Dispatch<ReactNode>
}
