import { PaymentMethodSummary } from '@fanfare-io/fanfare-sdk-core/experiences'; import { Accessor, Setter } from 'solid-js'; /** * Tracks the selected saved payment method for a checkout panel. The list can still be loading on * mount (nothing selected yet) or a previously selected card can be removed out from under the * panel — falls back to the default method, else the first, else `undefined`, both on initial * mount and whenever the list changes, so submit never carries a stale/deleted `paymentMethodId`. */ export declare function createPaymentMethodSelection(savedPaymentMethods: Accessor): [Accessor, Setter];