interface UseSpeechOptions {
    lang?: string;
    rate?: number;
    pitch?: number;
    volume?: number;
    onStart?: () => void;
    onEnd?: () => void;
    onPause?: () => void;
    onResume?: () => void;
}
export declare function useSpeech(options?: UseSpeechOptions): {
    isSpeaking: import("vue").Ref<boolean, boolean>;
    isPaused: import("vue").Ref<boolean, boolean>;
    currentMessageIndex: import("vue").Ref<number | null, number | null>;
    speak: (content: string, messageIndex?: number) => Promise<void>;
    stop: () => Promise<void>;
    pause: () => Promise<void>;
    resume: () => Promise<void>;
    checkSpeaking: () => boolean;
    getSpeakButtonTitle: (messageIndex: number) => string;
};
export {};
//# sourceMappingURL=useSpeech.d.ts.map