import { ComponentInterface } from '../../stencil-public-runtime'; /** * @name Currency * @category Text * @summary Use for displaying formatted monetary amounts with proper locale. */ export declare class Q2Currency implements ComponentInterface { /** @private The parts of the formatted number. */ formattedParts: Intl.NumberFormatPart[]; /** @private The full currency for aria-label purposes. */ readableCurrency: string; hostElement: HTMLElement; /** The amount you want formatted. */ amount: number; /** Formats the `amount` to a specific currency. */ currency: string; /** Formats to the language provided. Accepts multiple locales in an array as sequential fallbacks. */ locale: string | string[]; /** * Determine how the positive or negative sign should display. * * Behavior: * - `accounting`: No sign displays for positive amounts and parentheses wrap negative amounts. * - `always`: Always display the sign. * - `auto`: Sign displays for negative amounts only, including negative zero. * - `exceptZero`: Sign displays for positive and negative amounts, but not zero. * - `never`: Never display the sign. */ signDisplay: 'accounting' | 'always' | 'auto' | 'exceptZero' | 'never'; /** Applies styling based on the size provided. If no size is provided, it will display as inline text. */ size: 'small' | 'medium' | 'large'; /** @private Inherited from q2-detail when slotted to match styling of q2-detail and q2-currency texts. */ slotSize: string; /** * The variant controls how the currency is colored and exposes unique CSS overrides. * The `debit` and `credit` variants align styling with common practices for coloring debit and credit accounts. * The `masked` variant exposes the ability to use gradients and images to color the currency. */ variant: 'debit' | 'credit' | 'masked'; componentWillLoad(): void | Promise; /** * A method to retrieve the displayed currency value. * * @testOnly */ displayedMessageValue(): Promise; propsUpdated(): void; get amountCore(): string; get currencyClasses(): string; get currencyIsFront(): boolean; get currencySymbol(): string; get fraction(): string; get hasPlusMinusSign(): boolean; get isNegativeAmount(): boolean; get plusMinusSign(): string; get shouldSuperscriptFraction(): boolean; get shouldSuperscriptSymbol(): boolean; get sizeProvided(): boolean; get sizeValue(): string; formatCurrency(): void; render(): any; }