export type FormFieldProps = {
    name: string;
    required?: boolean | undefined;
    helpText?: React.ReactNode | undefined;
    accessibleCopyName?: string | undefined;
    label: string;
    labelPosition?: "top" | "left" | undefined;
    ariaLabelText?: string | undefined;
    className?: string | undefined;
    disabled?: boolean | undefined;
    readonly?: boolean | undefined;
    /**
     * The type of input field to render
     * @default "text"
     */
    type?: "text" | "textarea" | "number" | undefined;
    placeholder?: string | number | undefined;
    /**
     * An error message that overrides errors produced by built-in validation.
     */
    error?: {
        message: string;
    } | undefined;
};
export declare const FormField: <FieldValues extends Record<string, unknown>>({ labelPosition, type, name, error, ...otherProps }: FormFieldProps) => import("react").JSX.Element;
//# sourceMappingURL=FormField.d.ts.map