import { OpenBorderClient, type CheckoutConfigInput, type CheckoutConfigResponse, type CorrectFulfillmentInput, type CreateRefundInput, type CreatePaymentIntentInput, type CreateTaxQuoteInput, type IdempotentRequestOptions, type PaymentIntentActionInput, type PaymentIntentActionResponse, type PaymentIntentResponse, type PaymentIntentStatusResponse, type RefundResponse, type ReportFulfillmentInput, type FulfillmentResponse, type TaxQuoteResponse } from '@open-border/node'; export interface OpenBorderMedusaPluginOptions { /** * Merchant API key issued by Open Border. The key's rail controls test/live * behavior; the plugin never derives rail state on its own. */ apiKey: string; /** Optional API origin override for staging or local development. */ baseUrl?: string; } /** * Holds the configured Open Border SDK client for the Medusa plugin. * Provider classes depend on this wrapper so all Open Border API access stays * behind one seam and can be tested without Medusa runtime imports. */ export declare class OpenBorderApiClient { private readonly client; constructor(client: OpenBorderClient); static fromOptions(options: OpenBorderMedusaPluginOptions): OpenBorderApiClient; /** Exposes the SDK client to provider adapters; it is not an authoritative store. */ sdk(): OpenBorderClient; createTaxQuote(input: CreateTaxQuoteInput): Promise; getCheckoutConfig(input: CheckoutConfigInput): Promise; createPaymentIntent(input: CreatePaymentIntentInput, options: IdempotentRequestOptions): Promise; getPaymentIntent(paymentIntentId: string): Promise; capturePaymentIntent(input: PaymentIntentActionInput, options: IdempotentRequestOptions): Promise; cancelPaymentIntent(input: PaymentIntentActionInput, options: IdempotentRequestOptions): Promise; createRefund(input: CreateRefundInput, options: IdempotentRequestOptions): Promise; reportFulfillment(paymentIntentId: string, input: ReportFulfillmentInput, options: IdempotentRequestOptions): Promise; correctFulfillment(paymentIntentId: string, input: CorrectFulfillmentInput): Promise; getFulfillment(paymentIntentId: string): Promise; } export declare function createOpenBorderApiClient(options: OpenBorderMedusaPluginOptions): OpenBorderApiClient; //# sourceMappingURL=client.d.ts.map