import { FC } from 'react'; /** * Pick WHICH voice reads the replies (BOFF-7110). * * Two voices for the same language can sound very different — Apple's * "Enhanced"/"Premium" downloads and Chrome's network "Google …" voices against * the compact built-ins — and nothing in the Web Speech API reports quality. * We rank by name heuristics to choose a default; this is how the listener * overrules that, which is the only reliable answer. * * Renders nothing when the device offers fewer than two voices for the * language: a dropdown with one option is a control that cannot do anything. * That is the common case on bare Linux and on locked-down Android webviews, * and it is also why "install more voices" copy belongs in the disabled-state * message rather than here. * * A native `