import * as React from 'react'; import './style/index.less'; import Password from './password'; export type InputColor = 'primary' | 'red' | 'orange'; export type InputSize = 'small' | 'default' | 'large'; interface InputOptions { isBlur?: boolean; disabled: boolean; size: InputSize; value: string | number; placeholder: string; type: string; style: React.CSSProperties; clearable: boolean; suffix: React.ReactNode; prefix: React.ReactNode; maxLength: number; readonly: boolean; onChange?: React.ChangeEventHandler; onBlur?: React.FocusEventHandler; onPressEnter?: React.KeyboardEventHandler; } export type InputProps = Partial; declare const InternalInput: React.ForwardRefExoticComponent & React.RefAttributes>; type InputType = typeof InternalInput; interface InputInterface extends InputType { Password: typeof Password; } declare const Input: InputInterface; export default Input;