import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, FormTextProps, GlobalProps, GlobalState, IconAfterProps, IconProps, InputEventProps, InputEventState, ShowIconProps, ValueLabelType } from '../../shared/model'; export declare const InputTypeList: readonly ["color", "date", "datetime-local", "email", "file", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", "week"]; export type InputTypeType = (typeof InputTypeList)[number]; export type DBInputDefaultProps = { /** * Set a [data list](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) via attribute instead of children. */ dataList?: string[] | ValueLabelType[]; /** * Add a custom id to [data list](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) if you're using `dataList` attribute. */ dataListId?: string; /** * Maximum value */ max?: number | string; /** * Minimum value */ min?: number | string; /** * Pattern the value must match to be valid */ pattern?: string; /** * Type of form control */ type?: InputTypeType | string; /** * Sets [step value](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step). */ step?: number | string; }; export type DBInputProps = DBInputDefaultProps & GlobalProps & FormTextProps & InputEventProps & ChangeEventProps & FocusEventProps & FormProps & IconProps & IconAfterProps & FormMessageProps & ShowIconProps; export type DBInputDefaultState = { _dataListId?: string; getDataList: (_list?: string[] | ValueLabelType[]) => ValueLabelType[]; }; export type DBInputState = DBInputDefaultState & GlobalState & InputEventState & ChangeEventState & FocusEventState & FormState;