import { Address, InvoicingCreateInvoiceFormLocalData, InvoicingSettings } from '@zeniai/client-epic-state'; export interface InvoicingCreateInvoiceCustomerOption { id: string; name: string; billingAddress?: Address; email?: string; } /** * A catalog plan price, as its two naming parts plus the catalog price in whole * USD (never minor units). Mirrors the CES `InvoicingPlanNameOption`; the label * shown in the description picker joins the names with the shared divider dot. */ export interface InvoicingCreateInvoicePlanNameOption { planName: string; subFamilyName: string; price?: number; } export interface InvoicingCreateInvoicePageProps { customers: InvoicingCreateInvoiceCustomerOption[]; isSubmitting: boolean; localData: InvoicingCreateInvoiceFormLocalData; errorMessage?: string; /** Plan names offered as suggestions in the line-item description field. */ planNames?: readonly InvoicingCreateInvoicePlanNameOption[]; /** Branding/settings used to render the live invoice preview. */ settings?: InvoicingSettings; onCancel: () => void; onChange: (localData: InvoicingCreateInvoiceFormLocalData) => void; onSubmit: () => void; onBack?: () => void; } /** * Two-step Create Invoice wizard with a live invoice preview: step 1 picks the * customer, step 2 fills dates, line items and extras. Binds directly to the CES * draft (`localData`), syncing every change back via `onChange`; `onSubmit` * signals intent and the request is derived from the draft in CES. */ export declare function InvoicingCreateInvoicePage({ customers, errorMessage, isSubmitting, localData, onBack, onCancel, onChange, onSubmit, planNames, settings, }: Readonly): import("react/jsx-runtime").JSX.Element; export default InvoicingCreateInvoicePage;