import { ApiResponse } from '../../types'; export declare type AutoRecurringRequest = { frequency: number; frequency_type: string; start_date?: string; end_date?: string; transaction_amount?: number; currency_id: string; }; export declare interface AutoRecurringWithFreeTrial extends AutoRecurringRequest { free_trial?: FreeTrial; } export declare type FreeTrial = { frequency: number; frequency_type: string; }; export declare interface AutoRecurringResponse extends ApiResponse { frequency?: number; frequency_type?: string; transaction_amount?: number; currency_id?: string; free_trial?: string | null; } export declare type PreApprovalRequest = { auto_recurring?: AutoRecurringRequest; back_url?: string; card_token_id?: string; external_reference?: string; payer_email?: string; preapproval_plan_id?: string; reason?: string; status?: string; }; export declare interface SummarizedResponse extends ApiResponse { charged_amount?: number | null; charged_quantity?: number | null; last_charged_amount?: string | null; last_charged_date?: string | null; pending_charge_amount?: number | null; pending_charge_quantity?: number | null; quotas?: string | null; semaphore?: string | null; } export declare interface PreApprovalResponse extends ApiResponse { id?: string; payer_id?: number; payer_email?: string; collector_id?: number; application_id?: number; status?: string; reason?: string; external_reference?: string; date_created?: string; last_modified?: string; init_point?: string; auto_recurring?: AutoRecurringResponse; summarized?: SummarizedResponse; payment_method_id?: string | null; first_invoice_offset?: string | null; back_url?: string; next_payment_date?: string; }