import { FieldErrorsProps } from './field-errors.types'; /** * # FieldErrors * * Renders error messages based on error object configuration. * Provides backwards compatibility with UI-Kit FieldErrors while integrating * with Nimbus design system patterns. * * Supports custom error renderers and localized built-in error messages * for common validation scenarios like missing required fields. * * @see {@link https://nimbus.commercetools.com/components/field-errors} * * @supportsStyleProps */ export declare const FieldErrors: { ({ id, errors, isVisible, renderError, renderDefaultError, customMessages, ...props }: FieldErrorsProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; errorTypes: { readonly MISSING: "missing"; readonly INVALID: "invalid"; readonly EMPTY: "empty"; readonly MIN_LENGTH: "min"; readonly MAX_LENGTH: "max"; readonly FORMAT: "format"; readonly DUPLICATE: "duplicate"; readonly NEGATIVE: "negative"; readonly FRACTIONS: "fractions"; readonly BELOW_MIN: "belowMin"; readonly ABOVE_MAX: "aboveMax"; readonly OUT_OF_RANGE: "outOfRange"; readonly INVALID_FROM_SERVER: "invalidFromServer"; readonly NOT_FOUND: "notFound"; readonly BLOCKED: "blocked"; }; getBuiltInMessage: (key: string, format: (key: string) => string) => string | null; getCustomMessage: (key: string, customMessages?: FieldErrorsProps["customMessages"]) => React.ReactNode; };