import { InvoicingNamedOption, RecordPaymentFormLocalData } from '@zeniai/client-epic-state'; import { InvoicingRecordPaymentCustomerOption, InvoicingRecordPaymentInvoiceOption } from './recordPayment.shared'; export type { InvoicingRecordPaymentCustomerOption } from './recordPayment.shared'; export type { InvoicingRecordPaymentInvoiceOption } from './recordPayment.shared'; export type InvoicingRecordPaymentMode = "customer" | "invoice"; export interface InvoicingRecordPaymentInvoiceContext { amountDue: string; amountDueValue: number; currencyCode: string; customerName: string; invoiceId: string; invoiceNumber: string; } export interface InvoicingRecordPaymentPageProps { customers: InvoicingRecordPaymentCustomerOption[]; gatewayOptions: InvoicingNamedOption[]; isSubmitting: boolean; localData: RecordPaymentFormLocalData; mode: InvoicingRecordPaymentMode; paymentMethodOptions: InvoicingNamedOption[]; errorMessage?: string; invoiceContext?: InvoicingRecordPaymentInvoiceContext; invoiceOptions?: InvoicingRecordPaymentInvoiceOption[]; onCancel: () => void; onChange: (localData: RecordPaymentFormLocalData) => void; onSubmit: () => void; onBack?: () => void; } /** * Presentational Record Payment form. The draft flows from CES (`localData`) and * is synced back on every change; submit triggers the CES-stored draft. Currency * is locked to USD. */ export declare function InvoicingRecordPaymentPage({ customers, errorMessage, gatewayOptions, invoiceContext, invoiceOptions, isSubmitting, localData, mode, onBack, onCancel, onChange, onSubmit, paymentMethodOptions, }: Readonly): import("react/jsx-runtime").JSX.Element; export default InvoicingRecordPaymentPage;