import React from 'react'; export declare class FormItem { component: { forceUpdate: () => void; }; key: string; label: string; value?: T; error: string; constructor(component: { forceUpdate: () => void; }, key: string, label: string, value?: T); onChange: (value: T) => void; setError(error?: string): void; render(child: React.ReactElement): JSX.Element; } export declare class FormInputItem extends FormItem { onInputChange: (change: { target: { value: T; }; }) => void; }