import { BoxProps, ChakraComponent } from '@chakra-ui/react'; export type HelperErrorTextType = string | JSX.Element; export interface HelperErrorTextProps extends BoxProps { /** Toggles between helper and invalid styling. */ isInvalid?: boolean; /** Offers the ability to render or not render the content passed in * the `text` prop; `true` by default. */ isRenderedText?: boolean; /** The text to display. */ text: HelperErrorTextType; } /** * The component will always render a div even if the text content is not * passed. This pattern guarantees aria-describedby references do not point to * an element that does not exist. */ export declare const HelperErrorText: ChakraComponent>, HelperErrorTextProps>; export default HelperErrorText;