import { useAppStore, StepKey } from '@/store/appStore' import { AudioWaveform, FileText, ListChecks, Search, ShieldCheck } from 'lucide-react' const steps: { key: StepKey; label: string; icon: any }[] = [ { key: 'ASR', label: 'ASR', icon: AudioWaveform }, { key: 'Claims', label: 'Claims', icon: ListChecks }, { key: 'Retrieval', label: 'Retrieval', icon: Search }, { key: 'Verification', label: 'Verification', icon: ShieldCheck }, { key: 'Summary', label: 'Summary', icon: FileText }, ] export function Stepper() { const state = useAppStore((s) => s.steps) return (
    {steps.map(({ key, label, icon: Icon }) => { const status = state[key] return (
  1. {label} {status === 'running' && }
  2. ) })}
) }