export declare const PaymentType: { readonly CREDIT: "CREDIT"; readonly DEBIT: "DEBIT"; readonly PIX: "PIX"; }; export type PlugPagPaymentType = (typeof PaymentType)[keyof typeof PaymentType]; export declare const InstallmentType: { readonly A_VISTA: "A_VISTA"; readonly PARC_VENDEDOR: "PARC_VENDEDOR"; readonly PARC_COMPRADOR: "PARC_COMPRADOR"; }; export type PlugPagInstallmentType = (typeof InstallmentType)[keyof typeof InstallmentType]; export interface PlugPagPaymentRequest { type: PlugPagPaymentType; amount: number; installmentType: PlugPagInstallmentType; installments: number; userReference?: string; printReceipt?: boolean; maxTimeShowPopup?: number /** Tempo máximo (em segundos, inteiro >= 0) para o popup de impressão fechar automaticamente. */; } export interface PlugPagPaymentProgressEvent { eventCode: number; customMessage: string | null; } export interface CalculateInstallmentsRequest { amount: number; installmentType: PlugPagInstallmentType; } export interface PlugPagInstallment { quantity: number; amount: number; total: number; } export interface CalculateInstallmentsResult { options: PlugPagInstallment[]; } //# sourceMappingURL=types.d.ts.map