import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class Account extends ClientSDK { /** * Retrieve account details * * @remarks * Retrieve a shopper's account details, such as addresses and payment information. The account's details are filtered to be relevant to your merchant account, and some fields may be missing for some accounts. See the schema for details. */ getDetails(xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; /** * Add an address * * @remarks * Add an address to the shopper's account */ addAddress(addressListing: components.AddressListingInput, xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; /** * Edit an existing address * * @remarks * Edit an existing address on the shopper's account. This does not edit addresses that are already associated with other resources, such as transactions or shipments. */ updateAddress(addressListing: components.AddressListingInput, id: string, xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; /** * Delete an existing address * * @remarks * Delete an existing address. Deleting an address does not invalidate or remove the address from transactions or shipments that are associated with it. */ deleteAddress(id: string, xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; /** * Add a payment method * * @remarks * Add a payment method to a shopper's Bolt Account Wallet. For security purposes, this request must come from your backend.
**Note**: Before using this API, the credit card details must be tokenized by Bolt's credit card tokenization service. Please review our [Bolt Payment Field Component](https://help.bolt.com/products/ignite/api-implementation/#enhance-payments) or [Install the Bolt Tokenizer](https://help.bolt.com/developers/references/bolt-tokenizer) documentation. */ addPaymentMethod(paymentMethod: components.PaymentMethodInput, xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; /** * Delete an existing payment method * * @remarks * Delete an existing payment method. Deleting a payment method does not invalidate or remove it from transactions or orders that are associated with it. */ deletePaymentMethod(id: string, xPublishableKey: string, xMerchantClientId?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=account.d.ts.map