import { FronteggApiError } from '@frontegg/rest-api'; export interface CheckoutState { fetching: boolean; loading: boolean; error: FronteggApiError | null; confirmed: boolean; } export interface ConfirmCheckoutActionPayload { paymentMethodId: string; planId: string; }