import React from 'react';
import { type Event } from '@/features/event/api/eventService';

export interface DashboardModuleContext {
  currentEvent: Event | null;
}

export interface DashboardModule {
  id: string;
  getTitle: (ctx: DashboardModuleContext) => string;
  getDescription: (ctx: DashboardModuleContext) => string;
  getIllustration?: (ctx: DashboardModuleContext) => string | undefined;
  getIllustrationDark?: (ctx: DashboardModuleContext) => string | undefined;
  isVisible?: (ctx: DashboardModuleContext) => boolean;
  renderWizard: (ctx: DashboardModuleContext, onBack: () => void) => React.ReactNode;
}
