import React from 'react'; import Div from '../Element/Div/Div'; import { SupportedFont } from '../Typography/Typography'; import { ArrayElementType } from '../../types/utils/ArrayElementType'; import { CreateProps } from '../../types/utils/CreateProps'; declare type PriceProps = CreateProps<{ /** Alignment of price texts */ align?: 'left' | 'right' | 'center'; /** Prefix for the price, e.g. 'starting from' */ prefix?: string; /** Value for the price */ value: string | number; /** Currency, by default it's € */ unit?: string; /** Helps to the price more precisely per unit or per given time. Separates the currency and specifier with `/`. For example €/month, €/GB */ unitSpecifier?: string; /** Old price which is striked through */ oldValue?: string | number; /** Additional small text to describe the price */ description?: string | React.ReactNode; /** Size variants are sm, md, lg, xlg */ size?: SupportedPriceSize; /** Default font is TeliaSansHeading but TeliaSans is allowed in some cases */ font?: SupportedFont; }, typeof Div>; declare const Price: React.FunctionComponent; export declare const supportedPriceSizes: readonly ["sm", "md", "lg", "xlg"]; export declare type SupportedPriceSize = ArrayElementType; export default Price;