type BaseInputField = { size?: number; maxLength?: number; value?: string; defaultValue?: string; name: string; id?: string; }; type TextField = BaseInputField & { readonly type: 'text'; }; type EmailField = BaseInputField & { readonly type: 'email'; }; type FileField = { readonly type: 'file'; }; type DateField = BaseInputField & { readonly type: 'date'; min?: string; max?: string; }; type DateTimeLocalField = BaseInputField & { readonly type: 'datetime-local'; min?: string; max?: string; }; type ColorField = BaseInputField & { readonly type: 'color'; }; type HiddenField = BaseInputField & { readonly type: 'hidden'; }; type MonthField = Omit & { readonly type: 'month'; min?: string; max?: string; }; type NumberField = Omit & { readonly type: 'number'; max?: number; min?: number; }; type PasswordField = BaseInputField & { readonly type: 'password'; }; type SearchField = BaseInputField & { readonly type: 'search'; autosave?: string; results?: number; onsearch: string; incremental?: boolean; }; type TelField = BaseInputField & { readonly type: 'tel'; }; type UrlField = BaseInputField & { readonly type: 'url'; }; type RangeField = BaseInputField & { readonly type: 'range'; }; type TimeField = BaseInputField & { readonly type: 'time'; }; type CheckboxField = { readonly type: 'checkbox'; includeHidden: boolean; name: string; id?: string; uncheckedValue: string; value: string; checked?: boolean; defaultChecked?: boolean; }; type CheckboxFieldWithLabel = CheckboxField & { label: string; }; type CollectionCheckboxesField = { collection: CheckboxFieldWithLabel[]; includeHidden: boolean; }; type RadioButtonField = { readonly type: 'radio'; name: string; id?: string; value: string; checked?: boolean; defaultChecked?: boolean; }; type RadioButtonFieldWithLabel = RadioButtonField & { label: string; }; type CollectionRadioButtonsField = { collection: RadioButtonFieldWithLabel[]; includeHidden: boolean; }; type TextArea = { cols?: number; rows?: number; readonly type: 'textarea'; value?: string; defaultValue?: string; name: string; id?: string; }; type SubmitProps = { readonly type: 'submit'; text: string; name: string; }; type SelectOption = { value: string; label: string; disabled?: boolean; }; type SelectOptionGroup = { label: string; options: SelectOption[]; }; type BaseSelect = { readonly type: 'select'; id?: string; name: string; includeHidden: boolean; options: (SelectOption | SelectOptionGroup)[]; }; type SingleSelect = BaseSelect & { multiple?: false; defaultvalue?: string; value?: string; }; type MultiSelect = BaseSelect & { multiple: true; defaultvalue?: string[]; value?: string[]; }; type Select = SingleSelect | MultiSelect; type ValidationError = string | string[]; type ValidationErrors = Record; type HTMLFormProps = { id?: string; className?: string; method: 'get' | 'post'; enctype?: 'multipart/form-data'; acceptCharset: 'UTF-8'; [key: string]: unknown; }; export type { BaseInputField, CheckboxField, CheckboxFieldWithLabel, CollectionCheckboxesField, CollectionRadioButtonsField, ColorField, DateField, DateTimeLocalField, EmailField, FileField, HTMLFormProps, HiddenField, MonthField, MultiSelect, NumberField, PasswordField, RadioButtonField, RadioButtonFieldWithLabel, RangeField, SearchField, Select, SelectOption, SelectOptionGroup, SingleSelect, SubmitProps, TelField, TextArea, TextField, TimeField, UrlField, ValidationError, ValidationErrors };