import { InstanceOptions, IOContext, JanusClient, RequestTracingConfig } from '@vtex/api'; import { OrderForm, OrderFormClientPreferencesData, AuthMethod, OrderFormConfiguration, SimulationOrderForm, SimulationPayload, SingleCustomData, OrderFormPayment, CheckoutAddress } from '../typings'; export declare class Checkout extends JanusClient { constructor(ctx: IOContext, options?: InstanceOptions); getOrderFormConfiguration(authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; setOrderFormConfiguration(body: OrderFormConfiguration, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; setSingleCustomData(orderFormId: string, customData: SingleCustomData, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; addItem(orderFormId: string, items: any, queryString?: string, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; cancelOrder(orderFormId: string, reason: string, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; setOrderFormCustomData(orderFormId: string, appId: string, field: string, value: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateItems(orderFormId: string, orderItems: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateOrderFormPayment(orderFormId: string, payments: OrderFormPayment[], authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateOrderFormProfile(orderFormId: string, fields: Record, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateOrderFormShipping(orderFormId: string, shippingAddress: CheckoutAddress, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): void; updateOrderFormMarketingData(orderFormId: string, marketingData: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateOrderFormClientPreferencesData(orderFormId: string, clientPreferencesData: OrderFormClientPreferencesData, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; addAssemblyOptions(orderFormId: string, itemId: string | number, assemblyOptionsId: string, body: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; removeAssemblyOptions(orderFormId: string, itemId: string | number, assemblyOptionsId: string, body: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise>; updateOrderFormCheckin(orderFormId: string, checkinPayload: any, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; orderForm(orderFormId?: string, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; orderFormRaw(authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; newOrderForm(orderFormId?: string, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; orders(authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; simulation(simulation: SimulationPayload, queryString?: string, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; updateOrderFormIgnoreProfile(orderFormId: string, ignoreProfileData: boolean, authMethod?: AuthMethod, tracingConfig?: RequestTracingConfig): Promise; }