type MapToInputType = Pick; type InputOnChangeParameters = Parameters< Exclude >; type StateSetter = (value: unknown) => void; type CreateInputOnChangeHandlerOptions = { postSet?: (...args: InputOnChangeParameters) => void; preSet?: (...args: InputOnChangeParameters) => void; set?: StateSetter; setType?: TypeName; valueKey?: Extract< keyof import('react').ChangeEvent['target'], 'checked' | 'value' >; };