File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -92,30 +92,6 @@ export type RenderInfo = {
92
92
timestamp : number ;
93
93
} ;
94
94
95
- export type SpeechOptions = {
96
- lang ?: string ;
97
- voice ?: {
98
- lang ?: string ;
99
- name ?: string ;
100
- } ;
101
- rate ?: number ;
102
- pitch ?: number ;
103
- volume ?: number ;
104
- } ;
105
-
106
- export type SpeechState = {
107
- isPlaying : boolean ;
108
- status : "init" | "play" | "pause" | "stop" ;
109
- lang : string ;
110
- voiceInfo : {
111
- lang : string ;
112
- name : string ;
113
- } ;
114
- rate : number ;
115
- pitch : number ;
116
- volume : number ;
117
- } ;
118
-
119
95
declare module "@uidotdev/usehooks" {
120
96
export function useBattery ( ) : BatteryManager ;
121
97
@@ -238,8 +214,6 @@ declare module "@uidotdev/usehooks" {
238
214
239
215
export function useSet < T > ( values ?: T [ ] ) : Set < T > ;
240
216
241
- export function useSpeech ( text : string , options ?: SpeechOptions ) : SpeechState ;
242
-
243
217
export function useThrottle < T > ( value : T , delay : number ) : T ;
244
218
245
219
export function useToggle (
You can’t perform that action at this time.
0 commit comments