/**
 * @license EUPL-1.2+
 * Copyright Gemeente Amsterdam
 */
import type { HTMLAttributes, PropsWithChildren } from 'react';
export type ErrorMessageProps = {
    /** An icon to display instead of the default icon. */
    icon?: Function;
    /** An accessible phrase that screen readers announce before the error message. Should translate to something like ‘input error’. */
    prefix?: string;
} & PropsWithChildren<HTMLAttributes<HTMLParagraphElement>>;
export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
    /** An icon to display instead of the default icon. */
    icon?: Function;
    /** An accessible phrase that screen readers announce before the error message. Should translate to something like ‘input error’. */
    prefix?: string;
} & HTMLAttributes<HTMLParagraphElement> & {
    children?: import("react").ReactNode | undefined;
} & import("react").RefAttributes<HTMLParagraphElement>>;
