/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { AutoComplete, StrictReactDOMProps } from './StrictReactDOMProps'; export type StrictReactDOMInputProps = Readonly< Omit< StrictReactDOMProps, keyof ({ autoComplete?: AutoComplete; checked?: null | undefined | (boolean | 'mixed'); defaultChecked?: null | undefined | boolean; defaultValue?: null | undefined | string; disabled?: null | undefined | boolean; max?: null | undefined | (string | number); maxLength?: null | undefined | number; min?: null | undefined | (string | number); minLength?: null | undefined | number; multiple?: null | undefined | boolean; name?: null | undefined | string; onBeforeInput?: any; onChange?: any; onInput?: any; onInvalid?: any; onSelect?: any; onSelectionChange?: any; placeholder?: null | undefined | string; readOnly?: null | undefined | boolean; required?: null | undefined | boolean; step?: null | undefined | (number | 'any'); type?: | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'; value?: null | undefined | string; }) > & { autoComplete?: AutoComplete; checked?: null | undefined | (boolean | 'mixed'); defaultChecked?: null | undefined | boolean; defaultValue?: null | undefined | string; disabled?: null | undefined | boolean; max?: null | undefined | (string | number); maxLength?: null | undefined | number; min?: null | undefined | (string | number); minLength?: null | undefined | number; multiple?: null | undefined | boolean; name?: null | undefined | string; onBeforeInput?: any; onChange?: any; onInput?: any; onInvalid?: any; onSelect?: any; onSelectionChange?: any; placeholder?: null | undefined | string; readOnly?: null | undefined | boolean; required?: null | undefined | boolean; step?: null | undefined | (number | 'any'); type?: | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'; value?: null | undefined | string; } >;