import type { VoiceOptions } from "./voice.js"; type Hands = Required>; /** * Dictation into a field the person still sends. * * Each utterance lands after what the field held when it began, never in place * of it: a pause between two sentences is not a reason to lose the first, and * neither is a word typed before the mic opened. The running transcript rides * after that same text while it is heard. A field that no longer begins with * that text was sent or rewritten underneath, and what it holds now is kept. */ export declare function dictation(read: () => string, write: (text: string) => void): Hands; /** * `dictation` for a controlled field: hand it the field's value and setter, and * spread what it returns into `useVoice`. * * ```tsx * const voice = useVoice({ speech, ...useDictation(draft, setDraft) }); * ``` */ export declare function useDictation(value: string, write: (text: string) => void): Hands; export {}; //# sourceMappingURL=dictation.d.ts.map