interface Toast {
  id: string
  title?: string
  description?: string
  variant?: 'default' | 'destructive'
}

// Toast helper function - exported separately to avoid fast refresh issues
export function showToast(props: Omit<Toast, 'id'>) {
  window.dispatchEvent(new CustomEvent('toast', { detail: props }))
}

// Re-export Toast type for consumers
export type { Toast };
