import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { NgForm } from '@angular/forms'; import { Router } from '@angular/router'; import { CreditCard, CreditCardPlans, Payment, PaymentResponseInfo, PaymentResult, ResponseApi, SpsResponsePayment } from '../models/payment.model'; import { SpsDecidirApiService } from '../services/sps-decidir.api.service'; export declare class SpsDecidirComponent implements OnInit, OnChanges { private router; spsDecidirApiService: SpsDecidirApiService; checkOutForm: NgForm; accessToken: string; spsUrlApi: string; vkUrlApi: string; paymentAmount: string; logoSps: string; currency: string; publishableKey: string; successUrl: string; failureUrl: string; useCybersource: boolean; debugLog: boolean; storeId: string; idVen: number; data: string; labelButton: string; language: string; statusPay: EventEmitter; disabled: boolean; totalAmount: string; totalFinancedAmount: string; currentTEA: string; currentCFT: string; creditCards: CreditCard[]; selectCreditCardPlan: CreditCardPlans; creditCardPlans: CreditCardPlans[]; paymentResult: PaymentResult; monthText: string; yearText: string; cvcText: string; dniText: string; payerNameText: string; cardText: string; submitPressed: boolean; invalidDate: boolean; private decidir; addScript: boolean; paymentState: string; payerName: string; issuer?: number; payment: Payment; paymentSuccessInfo: PaymentResponseInfo; errorMessage: string; constructor(router: Router, spsDecidirApiService: SpsDecidirApiService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private initDecidir; addDecidirScript(): Promise<{}>; private getCreditCards; private getPlansByCreditCardId; private initializeSpsDecidir; private logger; selectedCreditCard(): void; selectedCreditCardPlan(): void; onSubmit(event: any): void; makePayment(form: any, paymentResponse: SpsResponsePayment): void; paymentResponseHandler(response: ResponseApi): void; processErrorToken(response: any): void; processErrorMessage(responseError: PaymentResponseInfo): void; compareDate(year: number, month: number, day: number): number; onYearChange(): void; onYearBlur(element: any): void; onMonthLostFocus(): void; onMonthChange(): void; onCodeChange(): void; onDniChange(): void; onPayerNameChange(): void; onCardChange(): void; setCreditType(bin: string): void; onPaste(): boolean; }