import { type FC } from 'react'; import { ToggletipProps } from '../toggletip'; import { type RequiredLabelProps } from '../label/label'; type TextAlignment = 'left' | 'right'; export interface MoneyInputProps { id?: string; className?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; /** * @default 'text' */ requiredLabelType?: RequiredLabelProps['type']; /** * Message displayed in case of validation error * @default Invalid number. */ validationErrorMessage?: string; label?: string; value?: number | null; /** * Sets input locale and changes visual format accordingly * Defaults to the locale provided to the DesignSystem provider */ locale?: string; /** * Sets currency * @default CAD */ currency?: string; /** * Sets number of decimals * @default 2 */ precision?: number; hint?: string; noMargin?: boolean; textAlignment?: TextAlignment; toggletip?: ToggletipProps; onChange?(value: number | null, formattedValue: string): void; } export declare const MoneyInput: FC; export {};