import { type FetchLike, type RequestOptions } from '@curless/agentbank-core'; import { BalanceTransactionsResource } from './resources/balance-transactions.js'; import { CheckoutResource } from './resources/checkout.js'; import { CustomersResource } from './resources/customers.js'; import { OrdersResource } from './resources/orders.js'; import { PaymentIntentsResource } from './resources/payment-intents.js'; import { PaymentLinksResource } from './resources/payment-links.js'; import { WebhookEndpointsResource } from './resources/webhook-endpoints.js'; export type { FetchLike, RequestOptions } from '@curless/agentbank-core'; export type AgentbankMerchantOptions = { baseUrl: string; apiKey: string; merchantId?: string; fetch?: FetchLike; timeoutMs?: number; }; export declare class AgentbankMerchant { readonly baseUrl: string; readonly merchantId: string | undefined; private readonly fetchImpl; private readonly apiKey; private readonly timeoutMs; readonly checkout: CheckoutResource; readonly orders: OrdersResource; readonly paymentIntents: PaymentIntentsResource; readonly paymentLinks: PaymentLinksResource; readonly webhookEndpoints: WebhookEndpointsResource; readonly customers: CustomersResource; readonly balanceTransactions: BalanceTransactionsResource; constructor(opts: AgentbankMerchantOptions); private buildHeaders; /** @internal */ request(method: string, path: string, opts?: RequestOptions): Promise; /** * @internal Raw request — returns { status, headers, body } and does NOT throw * on a non-2xx. For header-carried protocols (the MPP 402 Payment challenge in * WWW-Authenticate), where the useful data rides a non-2xx response. */ requestRaw(method: string, path: string, opts?: RequestOptions): Promise<{ status: number; headers: Record; body: unknown; }>; } //# sourceMappingURL=client.d.ts.map