import { BaseResource } from './BaseResource.js'; import type { RequestOptions, TagadaList } from '../types/common.js'; import type { PaymentInstrument, PaymentInstrumentListParams, PaymentInstrumentCreateFromTokenParams } from '../types/paymentInstruments.js'; export declare class PaymentInstruments extends BaseResource { /** * List payment instruments (cards, bank accounts, etc.) with filtering. */ list(params?: PaymentInstrumentListParams, opts?: RequestOptions): Promise>; /** * Retrieve a payment instrument by ID. */ retrieve(paymentInstrumentId: string, opts?: RequestOptions): Promise; /** * List all payment instruments belonging to a specific customer. */ listForCustomer(customerId: string, opts?: RequestOptions): Promise<{ instruments: PaymentInstrument[]; }>; /** * Create a payment instrument from a Tagada tokenization token. * The token is generated client-side via @tagadapay/core-js. */ createFromToken(params: PaymentInstrumentCreateFromTokenParams, opts?: RequestOptions): Promise<{ paymentInstrument: PaymentInstrument; customer: unknown; }>; } //# sourceMappingURL=PaymentInstruments.d.ts.map