import { BoxProps } from '@chakra-ui/react'; import { default as React } from 'react'; import { HelperErrorTextType } from '../HelperErrorText/HelperErrorText'; export interface ComponentWrapperProps extends BoxProps { /** Optional string to set the text for the component's description */ descriptionText?: string | JSX.Element; /** Optional string value used to set the text for a `Heading` component, or * a DS Heading component that can be passed in. */ headingText?: string | JSX.Element; /** Optional string to set the text for a `HelperErrorText` component */ helperText?: HelperErrorTextType; /** Styles that target the helper text. */ helperTextStyles?: { [key: string]: any; }; /** Optional string to populate the `HelperErrorText` for the error state * when `isInvalid` is true. */ invalidText?: HelperErrorTextType; /** Sets invalid text in the error state. */ isInvalid?: boolean; /** Offers the ability to hide the helper/invalid text. */ showHelperInvalidText?: boolean; } export declare const ComponentWrapper: React.FC>; export default ComponentWrapper;