import { Boleto } from './boleto'; import { Card } from './card'; import { Endpoint } from './endpoint'; import { MarketplaceEndpoint } from './marketplace'; import { Resource } from './resource'; export declare type PaymentType = 'boleto' | 'credit' | 'debit' | 'wallet'; export interface TransactionCreationInfo { amount: string; currency: string; on_behalf_of: string; payment_type: PaymentType; customer?: string; } export interface Transaction extends Resource { resource: 'transaction'; status: string; amount: string; original_amount: string; currency: string; description: string | null; payment_type: PaymentType; transaction_number: string; gateway_authorizer: string; app_transaction_uid: string | null; refunds: any | null; rewards: any | null; discounts: any | null; pre_authorization: any | null; sales_receipt: string | null; on_behalf_of: string; customer: any | null; statement_descriptor: string; payment_method: Card | Boleto | null; point_of_sale: any | null; installment_plan: any | null; refunded: boolean; voided: boolean; captured: boolean; fees: string; fee_details: any[]; location_latitude: string | null; location_longitude: string | null; individual: any | null; business: any | null; metadata: any; expected_on: string; created_at: string; updated_at: string; split_rules: any[]; reference_id: string; payment_authorization: any; } export declare class TransactionEndpoint extends Endpoint { constructor(marketplace: MarketplaceEndpoint, id: string); get(): Promise; }