import { Price as IPrice } from '@jetshop/core/types'; import React, { CSSProperties } from 'react'; export interface PriceProps { style?: CSSProperties; className?: string; /**Base price */ price: IPrice; /**Previous Price */ previousPrice?: IPrice; /**Optional formatter to format currency */ formatter?(price: number, currencyCode?: string, culture?: string): string; /** Override the channel settings for includeVat */ includeVat?: boolean; /** Currency to use instead of selected channel */ currency?: { code: string; culture: string; }; negative?: boolean; as?: React.ElementType; hidePrice?: boolean; OnHidePriceComponent?: React.ElementType; } export interface PriceCompound { Wrapper?: React.ReactNode; Old?: React.ReactNode; New?: React.ReactNode; Normal?: React.ReactNode; } declare const _default: (({ className, style, negative, OnHidePriceComponent, ...props }: PriceProps & PriceCompound) => React.JSX.Element) & { Wrapper: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent & React.HTMLAttributes & { as?: React.ElementType; }>; Normal: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent & React.HTMLAttributes & { as?: React.ElementType; }>; Old: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent & React.HTMLAttributes & { as?: React.ElementType; }>; New: import("linaria/lib/StyledMeta").StyledMeta & React.FunctionComponent & React.HTMLAttributes & { as?: React.ElementType; }>; }; export default _default;