/// import type { SsmlOptions } from '@lobehub/tts/es/core/utils/genSSML'; export interface SpeechSynthesOptions extends Pick { onStart?: () => void; onStop?: () => void; } export declare const useSpeechSynthes: (defaultText: string, { voice, rate, pitch, ...options }: SpeechSynthesOptions) => { isLoading: boolean; setText: import("react").Dispatch>; start: () => void; stop: () => void; }; export default useSpeechSynthes;