"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.webSpeech = webSpeech;
function webSpeech(window, opt) {
    const speech = {
        SpeechRecognition: 
        // @ts-ignore
        window.SpeechRecognition || window.webkitSpeechRecognition,
        SpeechGrammarList: 
        // @ts-ignore
        window.SpeechGrammarList || window.webkitSpeechGrammarList,
        SpeechSynthesis: window.speechSynthesis,
        // @ts-ignore
        SpeechSynthesisUtterance: window.SpeechSynthesisUtterance,
    };
    return speech;
}
//# sourceMappingURL=speech.js.map