type UseVoiceOptions = {
    onTranscript: (text: string) => void;
};
declare const useVoice: ({ onTranscript }: UseVoiceOptions) => {
    start: () => Promise<void>;
    stop: () => void;
    isListening: boolean;
    isSupported: boolean;
    audioData: Uint8Array<ArrayBuffer>;
};
export default useVoice;
