import { InvoicingCatalogItemLifecycleAction, InvoicingCatalogLifecycleActionOption, InvoicingCatalogProductLifecycleAction, InvoicingNamedOptionsByKey, InvoicingPlan, InvoicingNamedOption } from '@zeniai/client-epic-state'; type InvoicingPlanWithIdentifiers = InvoicingPlan & { externalId?: string; productCode?: string; }; export interface InvoicingCatalogItemDetailPageProps { isLoading: boolean; itemId: string; /** `/1.0/config` option lists the pricing editor's selects are built from. */ periodUnitOptions: InvoicingNamedOption[]; trialEndActionOptions: InvoicingNamedOption[]; trialUnitOptions: InvoicingNamedOption[]; typeOptions: InvoicingNamedOption[]; catalogItemLifecycleActionOptions?: InvoicingCatalogLifecycleActionOption[]; catalogProductLifecycleActionOptions?: InvoicingCatalogLifecycleActionOption[]; /** 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; plan?: InvoicingPlanWithIdentifiers; /** * `catalog_tier_type_options_by_pricing_model` from the invoicing config; the * tier `Type` column is driven by it. `undefined` until the config loads. */ tierTypeOptionsByPricingModel?: InvoicingNamedOptionsByKey; onBack?: () => void; /** Called when inline edit is cancelled (e.g. to drop /edit from the URL). */ onCancelEdit?: () => void; /** Create a new sub-family under this catalog item. */ onCreateSubFamily?: (data: Record) => void; onEdit?: () => void; onLifecycleAction?: (action: InvoicingCatalogItemLifecycleAction) => void; /** Persist inline-edit changes; receives the API-ready catalog payload. */ onSaveEdit?: (data: Record) => void; onSubFamilyLifecycleAction?: (subFamilyId: string, action: InvoicingCatalogProductLifecycleAction) => void; } export declare function InvoicingCatalogItemDetailPage({ catalogItemLifecycleActionOptions, catalogProductLifecycleActionOptions, editErrorMessage, initialEditMode, isLoading, isRunningLifecycleAction, isSaving, itemId, onBack, onCancelEdit, onCreateSubFamily, onEdit, onLifecycleAction, onSaveEdit, onSubFamilyLifecycleAction, plan, tierTypeOptionsByPricingModel, periodUnitOptions, trialEndActionOptions, trialUnitOptions, typeOptions, }: Readonly): import("react/jsx-runtime").JSX.Element; export default InvoicingCatalogItemDetailPage;