import { InputHTMLAttributes, Ref, ChangeEvent, PureComponent } from 'react'; import PropTypes from 'prop-types'; import { CombinePropsAndAttributes } from '../../helpers'; import { InputValue } from '../common/types'; interface ISelfProps { elementRef?: Ref; type?: string; value?: InputValue; defaultValue?: InputValue; mask?: string; maskChar?: string; formatChars?: any; alwaysShowMask?: boolean; onChange?(value: InputValue, event: ChangeEvent): any; } export declare type IProps = CombinePropsAndAttributes>; export default class Input extends PureComponent { static propTypes: { elementRef: PropTypes.Requireable<(...args: any[]) => any>; type: PropTypes.Requireable; onChange: PropTypes.Requireable<(...args: any[]) => any>; value: PropTypes.Requireable; defaultValue: PropTypes.Requireable; mask: PropTypes.Requireable; maskChar: PropTypes.Requireable; formatChars: PropTypes.Requireable; alwaysShowMask: PropTypes.Requireable; }; static defaultProps: { type: string; alwaysShowMask: boolean; }; render(): JSX.Element; private onChange; } export {}; //# sourceMappingURL=Input.d.ts.map