import { SimplPaymentConfig } from "../../../types"; interface SelectedPayment { aggregator_name: any; amount: any; paymentFlowMeta: any; id: string; } declare global { interface Window { Simpl: any; env: any; } } export default class SimplypayPayment { selectedPayment: SelectedPayment; paymentFlow: any; constructor(selectedPayment: SelectedPayment); /** * This method is caled while paymentOptions list page only. * To verify that this user is allowed to do simple payment or not. */ verifyUser(): Promise; checkSimpleApproval(data: { [x: string]: any; payload?: unknown; aggregator?: any; phone_number?: any; merchant_params?: { source: string; }; merchant_profile_id: any; transaction_amount_in_paise?: any; }): Promise; transaction(obj: any): Promise; chargeCustomer(tokenData: { transaction_token: any; }, orderData: { order_id: any; amount: any; }): Promise; injectScript(payment_config: SimplPaymentConfig): Promise; } export {};