import type { HTMLAttributes, ElementType, ReactNode } from 'react'; import React from 'react'; export declare type PriceVariant = 'selling' | 'listing' | 'spot' | 'savings' | 'installment'; export declare type PriceFormatter = (price: number, variant: PriceVariant) => ReactNode; export interface PriceProps extends Omit, 'children'> { /** * Set the HTML element tag of this component. */ as?: ElementType; /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; /** * 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; } export declare const Price: React.ForwardRefExoticComponent>>; export default Price;