import * as React from "react";
import { IInjectedStylingProps, IStyles } from "@webbio/utils";
export interface IFormItemProps extends IInjectedStylingProps {
    children: JSX.Element;
    className?: string;
    customIndicatorText?: string;
    errors?: string[];
    fullWidth?: boolean;
    hasChildLabel?: boolean;
    helperText?: string;
    id: string;
    isRequired?: boolean;
    label?: string;
    labelClassName?: string;
    labelStyles?: IStyles;
    marginBottom?: number;
    maxWidth?: string;
    minWidth?: string;
    safeSpaceForErrors?: boolean;
    showOptionalDefault?: boolean;
    tooltip?: string;
    tooltipHoverItem?: JSX.Element;
}
declare const FormItem: {
    new (props: any): {
        render(): JSX.Element;
        context: any;
        setState<K extends "styleUtil">(state: import("@webbio/utils/dist/higher-order").IWithStylingState | ((prevState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>, props: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>) => import("@webbio/utils/dist/higher-order").IWithStylingState | Pick<import("@webbio/utils/dist/higher-order").IWithStylingState, K> | null) | Pick<import("@webbio/utils/dist/higher-order").IWithStylingState, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callback?: (() => void) | undefined): void;
        readonly props: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, nextState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, prevState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>): any;
        componentDidUpdate?(prevProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, prevState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, nextState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<IFormItemProps, "label" | "children" | "errors" | "className" | "customIndicatorText" | "hasChildLabel" | "id" | "isRequired" | "showOptionalDefault" | "tooltip" | "tooltipHoverItem" | "helperText" | "fullWidth" | "labelClassName" | "labelStyles" | "marginBottom" | "maxWidth" | "minWidth" | "safeSpaceForErrors"> & import("@webbio/utils/dist/higher-order").IWithStylingProps>, nextState: Readonly<import("@webbio/utils/dist/higher-order").IWithStylingState>, nextContext: any): void;
    };
    contextType?: React.Context<any> | undefined;
};
export { FormItem };
