SpeechSynthesisErrorEvent: {
    prototype: SpeechSynthesisErrorEvent;
    new (
        type: string,
        eventInitDict: SpeechSynthesisErrorEventInit,
    ): SpeechSynthesisErrorEvent;
}