'use client'; import { useState } from 'react'; import { DictationField, type DictationFieldProps } from '@bitbaum/chatkit/react'; /** * Every place a person types words in substrata, outside a conversation: one * chatkit `DictationField` with the microphone on the app's own * `/api/transcribe` (which transcribes and returns the words, nothing kept). * * Two shapes, the same box: * - controlled: `value` + `onValueChange`; * - uncontrolled, for a server-action `