import { type FluidPayApi, type fluidPay } from "@fluid-app/fluid-pay-core";
import type { PayApi } from "@fluid-app/portal-core/pay-api";
import type { PayPaymentMethod } from "@fluid-app/portal-core/pay-types";
/**
 * Maps a portal-tenant PayPaymentMethod to the fluidPay shape consumed by
 * profile-ui components (PaymentMethodDropdown, CreditCardFormDialog, etc.).
 * Co-located with the adapter because both speak the portal-tenant ↔ fluid-pay
 * boundary.
 */
export declare function mapToFluidPayPaymentMethod(raw: PayPaymentMethod): fluidPay.CustomerPaymentMethod;
/**
 * Adapts the portal-tenant PayApi to the FluidPayApi shape required by
 * FluidPayCoreProvider. Only `vault.fetchCredentials` is implemented —
 * the rest of the FluidPayApi surface is not used by the profile-ui
 * components that consume this provider in the portal context.
 */
export declare function createFluidPayApiAdapter(payApi: PayApi): FluidPayApi;
//# sourceMappingURL=fluid-pay-api-adapter.d.ts.map