import type { Address, DifferentialPricing, Identification, Items, Shipments, Tax } from '../../clients/commonTypes'; import { ApiResponse } from '../../types'; export declare type Phone = { area_code?: string; number?: string; }; export declare type Payer = { name?: string; surname?: string; email?: string; phone?: Phone; identification?: Identification; address?: Address; date_created?: string; authentication_type?: string; is_prime_user?: boolean; is_first_purchase_online?: boolean; registration_date?: string; last_purchase?: string; }; export declare type ExcludedPaymentMethods = { id?: string; }; export declare type ExcludedPaymentTypes = { id?: string; }; export declare type PaymentMethods = { default_card_id?: string; default_payment_method_id?: string; excluded_payment_methods?: Array; excluded_payment_types?: Array; installments?: number; default_installments?: number; }; export declare type TrackValues = { conversion_id?: string; conversion_label?: string; pixel_id?: string; }; export declare type Track = { type?: string; values?: TrackValues; }; export declare type BackUrls = { success?: string; pending?: string; failure?: string; }; export declare type RedirectUrls = { success?: string; failure?: string; pending?: string; }; export declare type PreferenceRequest = { additional_info?: string; auto_return?: string; back_urls?: BackUrls; binary_mode?: boolean; coupon_code?: string; coupon_labels?: Array; date_of_expiration?: string; differential_pricing?: DifferentialPricing; expiration_date_from?: string; expiration_date_to?: string; expires?: boolean; external_reference?: string; items: Array; marketplace?: string; marketplace_fee?: number; metadata?: any; notification_url?: string; operation_type?: string; payer?: Payer; payment_methods?: PaymentMethods; processing_modes?: Array; purpose?: string; redirect_urls?: RedirectUrls; shipments?: Shipments; statement_descriptor?: string; taxes?: Array; tracks?: Array; }; export declare interface PreferenceResponse extends ApiResponse { additional_info?: string; auto_return?: string; back_urls?: BackUrls; binary_mode?: boolean; client_id?: string; collector_id?: number; coupon_code?: string; coupon_labels?: Array; date_created?: string; date_of_expiration?: string; differential_pricing?: DifferentialPricing; expiration_date_from?: string; expiration_date_to?: string; expires?: boolean; external_reference?: string; id?: string; init_point?: string; internal_metadata?: any; items?: Array; marketplace?: string; marketplace_fee?: number; metadata?: any; notification_url?: string; operation_type?: string; payer?: Payer; payment_methods?: PaymentMethods; processing_modes?: Array; purpose?: string; redirect_urls?: RedirectUrls; sandbox_init_point?: string; site_id?: string; shipments?: Shipments; statement_descriptor?: string; tracks?: Array; taxes?: Array; }