UNPKG

@lifeintelligencegroup/ngx-lig-ari

Version:

Life Intelligence Group Artificial Intelligence

29 lines (28 loc) 1.41 kB
import { OnInit, EventEmitter } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { Platform, IonInput } from '@ionic/angular'; import { SpeechRecognition as TSpeechRecognition } from '@ionic-native/speech-recognition/ngx'; import { AriSpeechService } from '../../services/ari-speech.service'; import { AriConfig } from '../../model/ari-bot.mode'; import * as i0 from "@angular/core"; export declare class AriChatToolbarComponent implements OnInit { private plt; private ariSpeechService; private speechRecognition; private config; form: FormGroup; showLoading: boolean; activatedByVoice: boolean; sendEvent: EventEmitter<any>; startListeningEvent: EventEmitter<any>; isSpeechSupported: boolean; userInput: IonInput; buttonColor: string; constructor(plt: Platform, ariSpeechService: AriSpeechService, speechRecognition: TSpeechRecognition, config: AriConfig); ngOnInit(): void; sendMessage(ev: any): void; setFocus(): void; startListening(ev: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<AriChatToolbarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AriChatToolbarComponent, "lig-ari-chat-toolbar", never, { "form": "form"; "showLoading": "showLoading"; "activatedByVoice": "activatedByVoice"; }, { "sendEvent": "sendEvent"; "startListeningEvent": "startListeningEvent"; }, never, never>; }