///
import { type SsmlOptions } from "../../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;
};