export type ControlledSpeechConfig = {
    recording?: boolean;
    onRecordingChange: (recording: boolean) => void;
};
export type AllowSpeech = boolean | ControlledSpeechConfig;
export default function useSpeech(onSpeech: (transcript: string) => void, allowSpeech?: () => AllowSpeech | undefined): readonly [import('vue').ComputedRef<boolean>, (doForceBreak: boolean) => void, import('vue').Ref<boolean, boolean>];
