import React from 'react';
import { FieldErrors } from 'react-hook-form';
export declare type FieldWrapperProps = {
    label?: string;
    subLabel?: string;
    icon?: React.ReactNode;
    className?: string;
    children: React.ReactNode;
    error?: FieldWrapperErrorProps;
    description?: string;
};
export declare type FieldWrapperErrorProps = {
    name?: string;
    errors?: FieldErrors;
};
export declare type FieldWrapperPassThroughProps = Omit<FieldWrapperProps, 'className' | 'children'>;
export declare const FieldWrapper: (props: FieldWrapperProps) => JSX.Element;
//# sourceMappingURL=FieldWrapper.d.ts.map