import { InvoicingCoupon, InvoicingDiscountLifecycleAction, InvoicingDiscountLifecycleActionOption } from '@zeniai/client-epic-state'; export interface InvoicingDiscountDetailPageProps { couponId: string; isLoading: boolean; coupon?: InvoicingCoupon; discountLifecycleActionOptions?: InvoicingDiscountLifecycleActionOption[]; /** Error from the last inline-edit save attempt, shown in edit mode. */ editErrorMessage?: string; /** Start the page in inline edit mode (e.g. when routed from /edit). */ initialEditMode?: boolean; isRunningLifecycleAction?: boolean; /** True while an inline-edit save is in flight. */ isSaving?: boolean; onBack?: () => void; /** Called when inline edit is cancelled (e.g. to drop /edit from the URL). */ onCancelEdit?: () => void; onEdit?: () => void; onLifecycleAction?: (action: InvoicingDiscountLifecycleAction) => void; /** Persist inline-edit changes; receives the API-ready coupon payload. */ onSaveEdit?: (data: Record) => void; } export declare function InvoicingDiscountDetailPage({ coupon, couponId, discountLifecycleActionOptions, editErrorMessage, initialEditMode, isLoading, isRunningLifecycleAction, isSaving, onBack, onCancelEdit, onEdit, onLifecycleAction, onSaveEdit, }: Readonly): import("react/jsx-runtime").JSX.Element; export default InvoicingDiscountDetailPage;