import { ElementRef, OnInit } from '@angular/core'; import { ApiConstant } from '../../utils/api-constant/api-constant.service'; import { HttpClient } from '@angular/common/http'; export declare class TNKDigitalContractComponent implements OnInit { api: ApiConstant; private http; submitData: any; isBusy: boolean; submitValidation: any; digitalSignatureData: any; verificationSent: boolean; isAgreeContractCheckbox: boolean; isAgreeContract: boolean; inputError: any; contractPdfUrl: string; numericalInputOnly: any; profileData: any; loanId: string; accessToken: string; showModalSucessDigitalContract: any; otp1Element: ElementRef; otp2Element: ElementRef; otp3Element: ElementRef; otp4Element: ElementRef; constructor(api: ApiConstant, http: HttpClient); ngOnInit(): void; /** ** @description set submit validation properties ** @arg display (show/hide), text (message) ** @return submitValidation props */ private setSubmitValidation(display, text); /** ** @description set submit data properties ** @arg obj (reference object properties of submitData) ** @return submitData object */ private setSubmitData(obj); /** ** @description resend OTP Code (smsToken) ** @arg none ** @method resendVerificationCode() ** @return void */ resendVerificationCode(): void; /** ** @description submit agree contract by user. ** @return void */ submitContract(): void; /** ** @description submit the signature by otp ** @return void */ submitOTPSignature(): void; /** ** @description handle input for OTP input (type / keydown) ** @arg id (element next id), evt (element input) ** @return void */ private OTPInputTab(id, evt); /** ** @description handle input for OTP input (backspace) ** @arg id (element next id), evt (element input) ** @return void */ private OTPBackspaceTab(id, evt); checkOTPComplete(): boolean; }