import { OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { SpellCheckService } from './spell-check.service'; import 'rxjs/add/operator/debounceTime'; import 'rxjs/add/operator/throttleTime'; import 'rxjs/add/observable/fromEvent'; export declare class SpellCheckComponent implements OnInit { private spellCheckService; clickedOutside($event: any): void; textData: string; showPopover: boolean; selectedWrongWord: any; correctWordList: any[]; corrections: any; private textAreaCtrlSub; /** * To do * Replace this variable with another variable that can be defined as an * attribute */ textAreaCtrl: FormControl; private subscribers; wordsToBeCorrected: any[]; constructor(spellCheckService: SpellCheckService); ngOnInit(): void; checkText(input: any): void; showReplacements($event: any, word: any): void; hideReplacements(): void; needToCorrect(word: any): number; replaceWord(word: any): void; ngOnDestroy(): void; }