import { HTMLAttributes, ElementType, ReactNode, default as React } from 'react'; export type PriceVariant = 'selling' | 'listing' | 'spot' | 'savings' | 'installment'; export type PriceFormatter = (price: number, variant: PriceVariant) => ReactNode; export interface PriceProps extends Omit, 'children'> { /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; /** * Set the HTML element tag of this component. */ as?: ElementType; /** * The raw price value. */ value: number; /** * Formatter function that transforms the raw price value and render the result. */ formatter?: PriceFormatter; /** * The current use case variant for prices. */ variant?: PriceVariant; /** * Text for the screen readers only */ SRText?: string; } declare const Price: React.ForwardRefExoticComponent>>; export default Price; //# sourceMappingURL=Price.d.ts.map