import React from 'react';
import type { BaseProps } from '../../types/component';
declare type Size = 'sm' | 'xs';
export interface InlineErrorProps extends Pick<BaseProps, 'data-tag'> {
    children: React.ReactNode;
    /**
     * id of the associated input. The concatenation of this value and `InlineError.IDSuffix` is set as the `id` of the rendered node.
     */
    inputId: string;
    /**
     * The size of the text and icon, defaults to 'sm'.
     */
    size?: Size;
}
export declare const InlineError: {
    ({ children, "data-tag": dataTag, inputId, size }: InlineErrorProps): React.JSX.Element;
    getErrorId: (inputId: string) => string;
};
export {};
