import { EventEmitter } from '../../stencil-public-runtime'; import { BatchApprovalResponse, BatchApproveData, BatchData, TransactionI } from "../../api/transactions/interface"; import { Options } from '../../store/store'; import { CloseEvent } from './interface'; export declare class PaycargoCheckout { el: HTMLPaycargoCheckoutElement; private toast; /** * Options * This will contain the following properties * - env * - code * - brand * - originURL */ options: Options | string; /** * pcTransactions */ pcTransactions: TransactionI[] | string; /** * Function will trigger when approval attempt has occured */ onPcPayment: string | ((data: CloseEvent) => void); /** * Function will trigger when modal is closed */ onPcClose: string | ((data: CloseEvent) => void); /** * Function will trigger when dispute attempt has occured */ onPcDispute: string | ((data: CloseEvent) => void); visible: boolean; _loadedTransactions: TransactionI[]; /** * Event called when modal is closed. */ private close; /** * Event that is triggered after payment response * has been received. */ paymentResponseEvent: EventEmitter; /** * Event that is triggered after dispute response * has been received. */ disputeResponseEvent: EventEmitter; onCloseHandler(event: CustomEvent>): void; onPaymentResponseEvent(event: CustomEvent): void; onDisputeResponseEvent(event: CustomEvent): void; /** * Have Paycargo Batch Cart be visible */ makeVisible(show: boolean): Promise; componentWillLoad(): Promise; dataDidChangeHandler(newValue: TransactionI[] | string): Promise; render(): any; }