import * as React from 'react'; import { ValidationOptions } from '../../components/form/validation'; import { type LabelProps } from '../label/Label'; export type FieldWrapperProps = { className?: string; error?: string; fieldId: string; label: string; prompt?: { link?: string; label: string; onClick?: () => void; }; description?: string; required?: boolean; hideLabel?: boolean; appearance?: LabelProps['appearance']; }; export type FieldElementWrapperProps = Omit & { name: string; validation?: ValidationOptions; }; export declare const FieldWrapper: { ({ children, error, fieldId, label, prompt, description, required, hideLabel, appearance, ...rest }: React.PropsWithChildren): React.JSX.Element; displayName: string; };