import { TransactionCreateOptions, TransactionAllOptions, TransactionCalculateInstallmentsAmountOptions, TransactionFindOptions, TransactionCaptureOptions, TransactionRefundOptions } from './options'; import { Transaction, CalculateInstallmentsAmount, CardHashKey } from './responses'; declare module 'pagarme' { export namespace client { export namespace transactions { function all( opts: any, body: TransactionAllOptions ): Promise; function calculateInstallmentsAmount( opts: any, body: TransactionCalculateInstallmentsAmountOptions ): Promise; function capture(opts: TransactionCaptureOptions): Promise; function cardHashKey(opts: any): Promise; function collectPayment(opts: any, body: any): any; function create(opts: TransactionCreateOptions): Promise; function find( opts: any, body: T ): Promise< T extends TransactionFindOptions ? Transaction[] : Transaction >; function refund(body: TransactionRefundOptions): Promise; function refund( opts: any, body: TransactionRefundOptions ): Promise; function reprocess(opts: any, body: any): any; function update(opts: any, body: any): any; } } }