import * as z from "zod/v3"; import { KlarnaSubscriptionOptions, KlarnaSubscriptionOptions$Outbound } from "./klarnasubscriptionoptions.js"; export type KlarnaOptions = { /** * Provides subscription information to Klarna. */ subscription?: KlarnaSubscriptionOptions | null | undefined; /** * When set to `true`, this will authorize the transaction with Klarna for the purposes of tokenizing the payment method with the transaction details. No funds will be captured and the authorization will be automatically voided. This is useful for up-sell scenarios where you want to tokenize a Klarna payment method for future use. */ tokenOnlyMode?: boolean | null | undefined; /** * An authorization token returned by the Klarna Express Checkout JS SDK after the buyer completes payment in the embedded widget. When provided, the connector skips the HPP redirect and places the Klarna order directly using this token. */ authorizationToken?: string | null | undefined; }; /** @internal */ export type KlarnaOptions$Outbound = { subscription?: KlarnaSubscriptionOptions$Outbound | null | undefined; token_only_mode?: boolean | null | undefined; authorization_token?: string | null | undefined; }; /** @internal */ export declare const KlarnaOptions$outboundSchema: z.ZodType; export declare function klarnaOptionsToJSON(klarnaOptions: KlarnaOptions): string; //# sourceMappingURL=klarnaoptions.d.ts.map