import React, { FocusEvent } from 'react'; import { FieldLabelProps } from '../field-label/FieldLabel'; import { AllElementPropsWithRef } from '../../utils/elementTypings'; export type InputWrapperProps = Omit, 'ref'> & Pick & { /** * Additional children to render after the input. */ children?: React.ReactNode; /** * Additional class names to apply to the input */ className?: string; /** * The error text content that will be shown below the input */ errorText?: string; /** * The helper text content that will be shown below the input */ helperText?: string; /** * Hides the label above the input */ hideLabel?: boolean; /** * The id of the input element */ id: string; /** * If `true`, the input will be displayed in an invalid state. */ invalid?: boolean; isAriaLabelledBy?: boolean; /** * The label for the input */ label?: string | React.ReactNode; labelId?: string; onBlur?: (event: FocusEvent) => void; /** * If `true`, the label is displayed as required and the `input` element will be required */ required?: boolean; /** * Override or extend the styles applied to the component */ style?: React.CSSProperties; /** * The success text content that will be shown below the input */ successText?: string; /** * The info text content that will be shown below the input */ infoText?: string; ref?: React.Ref; }; export declare const InputWrapper: ({ children, className, errorText, helperText, hideLabel, id, invalid, isAriaLabelledBy, label, labelId, onBlur, required, style, successText, infoText, tooltip, ref, ...rest }: InputWrapperProps) => React.JSX.Element;