@automattic/wpcom-checkout
Version:
Functions and components used by WordPress.com checkout.
12 lines • 535 B
TypeScript
import { ReactNode } from 'react';
import type { PaymentMethodStore } from '../payment-method-store';
import type { PaymentMethod } from '@automattic/composite-checkout';
type NounsInStore = 'customerName';
type SofortStore = PaymentMethodStore<NounsInStore>;
export declare function createSofortPaymentMethodStore(): SofortStore;
export declare function createSofortMethod({ store, submitButtonContent, }: {
store: SofortStore;
submitButtonContent: ReactNode;
}): PaymentMethod;
export {};
//# sourceMappingURL=sofort.d.ts.map