import { PanelFrame } from "./PanelFrame"; import type { QueryState } from "../state/types"; interface QueryPanelProps { value: QueryState; onChange: (next: QueryState) => void; onApplyBatchFormat: () => void; onNormalize: (saveCase: boolean) => Promise | void; busy: boolean; useMock: boolean; onUseMockChange: (next: boolean) => void; errorMessage: string; } export function QueryPanel({ value, onChange, onApplyBatchFormat, onNormalize, busy, useMock, onUseMockChange, errorMessage }: QueryPanelProps) { return (