'use client'; import type { ResponseMode } from '@/types'; interface Props { language: string; providerLabel: string; isExecuting: boolean; isStreaming: boolean; onRun: () => void; onSubmit: () => void; onReset: () => void; onOpenSettings: () => void; savedIndicator: boolean; authUser: { id: string; email: string } | null; onShowAuth: () => void; onLogout: () => void; responseMode: ResponseMode; onToggleHintMode: () => void; onToggleStrict: () => void; } export default function EditorToolbar({ language, providerLabel, isExecuting, isStreaming, onRun, onSubmit, onReset, onOpenSettings, savedIndicator, authUser, onShowAuth, onLogout, responseMode, onToggleHintMode, onToggleStrict, }: Props) { const busy = isExecuting || isStreaming; return (