import { useState } from 'react'; import { ChevronDown, ChevronUp, Settings2 } from 'lucide-react'; import { AnalysisOptions } from '../types'; interface AdvancedOptionsProps { options: AnalysisOptions; onChange: (opts: Partial) => void; } function Toggle({ id, label, description, checked, onChange, }: { id: string; label: string; description?: string; checked: boolean; onChange: (v: boolean) => void; }) { return (