/// <reference types="react" />
import { ComponentTokens } from "@tiller-ds/theme";
export declare type FieldErrorProps = {
    /**
     * The accessor value for the component (for validation, fetching, etc.).
     */
    name: string;
    /**
     * Custom additional styling applied to the component.
     */
    className?: string;
    /**
     * A unique identifier for testing purposes.
     * This identifier can be used in testing frameworks like Jest or Cypress to locate specific elements for testing.
     * It helps ensure that UI components are behaving as expected across different scenarios.
     * @type {string}
     * @example
     * // Usage:
     * <MyComponent data-testid="my-component" />
     * // In tests:
     * getByTestId('my-component');
     */
    "data-testid"?: string;
} & InputTokensProps;
declare type InputTokensProps = {
    tokens?: ComponentTokens<"FieldError">;
};
export default function FieldError({ name, className, ...props }: FieldErrorProps): JSX.Element | null;
export {};
