UNPKG

@ng-web-apis/speech

Version:
9 lines (8 loc) 547 B
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>; }