initial commit

This commit is contained in:
Kar k1
2025-08-30 18:18:57 +05:30
commit 7219108342
270 changed files with 70221 additions and 0 deletions

22
types/react-speech-recognition.d.ts vendored Normal file
View File

@@ -0,0 +1,22 @@
declare module 'react-speech-recognition' {
export interface SpeechRecognitionOptions {
continuous?: boolean
language?: string
}
export interface UseSpeechRecognitionReturn {
transcript: string
listening: boolean
resetTranscript: () => void
browserSupportsSpeechRecognition: boolean
isMicrophoneAvailable: boolean
}
export function useSpeechRecognition(): UseSpeechRecognitionReturn
export default class SpeechRecognition {
static startListening(options?: SpeechRecognitionOptions): void
static stopListening(): void
static abortListening(): void
}
}