import { toFieldErrors } from './utils/localized-field.utils'; /** * LocalizedField component with utility methods for managing localized input fields. * * This component provides a fieldset for managing multiple locale-specific or currency-specific * input fields with expand/collapse functionality and integrated validation display. * * **Utility Methods** (for compatibility with UI Kit): * - `getId` / `getName`: Format field attributes with locale suffix * - `isTouched`: Check if any locale field has been touched * - `isEmpty`: Check if all locale fields are empty * - `createLocalizedString`: Create empty localized string object * - `omitEmptyTranslations`: Remove empty translations from localized object * - `RequiredValueErrorMessage`: Standard error message component * - `toFieldErrors`: Convert errors to field error format * - `convertToMoneyValues` / `parseMoneyValues`: Money value conversion utilities * - `getHighPrecisionCurrencies` / `getEmptyCurrencies`: Currency utilities * * @example * ```tsx * console.log(e.target.locale, e.target.value)} * /> * ``` */ export declare const LocalizedField: (({ type, id, name, defaultLocaleOrCurrency, valuesByLocaleOrCurrency, placeholdersByLocaleOrCurrency, descriptionsByLocaleOrCurrency, warningsByLocaleOrCurrency, errorsByLocaleOrCurrency, label, hint, description, warning, warnings, renderWarning, error, errors, renderError, touched, isRequired, isDisabled, isReadOnly, onChange, onBlur, onFocus, defaultExpanded, displayAllLocalesOrCurrencies, size, autoFocus, ["data-track-component"]: dataTrackComponent, ["data-testid"]: dataTestId, ["data-test"]: dataTest, ...rest }: import('./localized-field.types').LocalizedFieldProps) => import("react/jsx-runtime").JSX.Element) & { getId: (fieldGroupAttr?: string, locale?: string) => string | undefined; getName: (fieldGroupAttr?: string, locale?: string) => string | undefined; isTouched: (touched?: { [locale: string]: boolean; }) => boolean; isEmpty: (localizedString?: import('./localized-field.types').LocalizedString) => boolean; createLocalizedString: (locales: string[], existingLocalizedString: import('./localized-field.types').LocalizedString) => import('./localized-field.types').LocalizedString; omitEmptyTranslations: (localizedString: Translations) => import('./localized-field.types').LocalizedString; RequiredValueErrorMessage: () => import("react/jsx-runtime").JSX.Element; toFieldErrors: typeof toFieldErrors; convertToMoneyValues: (values: import('..').MoneyInputValue[], currency: string) => Array; parseMoneyValues: (moneyValues: import('..').MoneyValue[] | undefined, locale: string) => Record; getHighPrecisionCurrencies: (values: Record, locale: string) => import('..').CurrencyCode[]; getEmptyCurrencies: (values: Record) => import('..').CurrencyCode[]; };