import { type JSX } from 'react'; import type { ChildrenFunction } from '../../typings/index'; import type { LineItem } from '@commercelayer/sdk'; interface ChildrenProps extends Omit { quantity: number; handleChange: (event: React.MouseEvent) => void; lineItem?: LineItem; } type Props = { children?: ChildrenFunction; max?: number; disabled?: boolean; readonly?: boolean; /** * force the update of the line item price using `_external_price: true` attribute * @link https://docs.commercelayer.io/core/external-resources/external-prices */ hasExternalPrice?: boolean; } & (Omit & Omit); export declare function LineItemQuantity(props: Props): JSX.Element; export default LineItemQuantity;