import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AddressListing, AddressListing$Outbound } from "./addresslisting.js"; import { PaymentMethod, PaymentMethod$Outbound } from "./paymentmethod.js"; import { Profile, Profile$Outbound } from "./profile.js"; export type Account = { /** * A list of addresses associated with this account. These can be considered the "shipping addresses". The account's visible addresses are filtered according to the configured shipping destinations in your Bolt merchant dashboard. If no account addresses are available, use the billing address of the selected payment method. */ addresses: Array; /** * A list of payment methods associated with this account. The account's visible payment methods are filtered to include only cards that are chargeable. */ paymentMethods: Array; /** * An account's identifying information. */ profile?: Profile | undefined; }; /** @internal */ export declare const Account$inboundSchema: z.ZodType; /** @internal */ export type Account$Outbound = { addresses: Array; payment_methods: Array; profile?: Profile$Outbound | undefined; }; /** @internal */ export declare const Account$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Account$ { /** @deprecated use `Account$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Account$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Account$Outbound` instead. */ type Outbound = Account$Outbound; } export declare function accountToJSON(account: Account): string; export declare function accountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=account.d.ts.map