'use client'; import type { ChartType } from '@openmaic/dsl'; import { BarChart3, LineChart, PieChart } from 'lucide-react'; export interface ChartInsertPickerOption { readonly type: ChartType; readonly label: string; } export interface ChartInsertPickerProps { readonly options: readonly ChartInsertPickerOption[]; readonly onPick: (chartType: ChartType) => void; } function ChartTypeIcon({ type }: { readonly type: ChartType }) { if (type === 'pie' || type === 'ring') return