export type DiscountCodeFieldProps = { value: string; onChange: (value: string) => void; onApply: (value: string) => void; placeholder?: string; applyLabel?: string; /** Server-locked promo: read-only, non-editable. */ locked?: boolean; loading?: boolean; error?: string; success?: string; }; export declare const DiscountCodeField: ({ value, onChange, onApply, placeholder, applyLabel, locked, loading, error, success, }: DiscountCodeFieldProps) => import("react").JSX.Element;