@ng-web-apis/speech
Version:
A library for using Web Speech API with Angular
9 lines (8 loc) • 547 B
TypeScript
import type { PipeTransform } from '@angular/core';
import type { SpeechSynthesisUtteranceOptions } from '../../interfaces/speech-synthesis-utterance-options';
import * as i0 from "@angular/core";
export declare class UtterancePipe implements PipeTransform {
transform(text: string, { lang, pitch, rate, volume, voice, }?: SpeechSynthesisUtteranceOptions | undefined): SpeechSynthesisUtterance;
static ɵfac: i0.ɵɵFactoryDeclaration<UtterancePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<UtterancePipe, "waUtterance", true>;
}