import * as React from 'react'; import { ViewProps as RNViewProps } from 'react-native'; import { BoxProps } from '../Box'; export declare type LocalFieldWrapperProps = { children?: (({ elementProps }: { elementProps: FieldElementProps; }) => React.ReactNode) | React.ReactElement; /** Sets the description text of the field wrapper. */ description?: string | React.ReactElement; /** Sets the bottom hint text of the field wrapper. */ hint?: string | React.ReactElement; /** Sets the optional flag (and displays optional text) on the field wrapper. */ isOptional?: boolean; /** Sets the required flag (and a required astrix) on the field wrapper. */ isRequired?: boolean; /** Sets the label on the field wrapper. */ label?: string | React.ReactElement; /** Sets the label type on the field wrapper. */ labelType?: 'legend' | 'label'; /** Sets the state of the field wrapper. */ state?: 'success' | 'danger' | 'warning'; /** Sets the tooltip of the field wrapper. Can be either a string, or a React component. */ tooltip?: string | React.ReactElement; /** Sets the tooltip trigger component. */ tooltipTriggerComponent?: React.ReactElement; /** Sets the bottom validation text of the field wrapper. */ validationText?: string; }; export declare type FieldWrapperProps = BoxProps & RNViewProps & LocalFieldWrapperProps; export declare type FieldElementProps = { id?: string; state?: LocalFieldWrapperProps['state']; }; export declare const FieldWrapper: React.ForwardRefExoticComponent & RNViewProps & import("../Box").LocalBoxProps & { active?: boolean; focus?: boolean; hover?: boolean; hoveractive?: boolean; } & LocalFieldWrapperProps & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };