import type { ComponentProps, ReactElement } from 'react'; import { Component } from 'react'; import type { InputFormState } from '../../utils/form'; type InputProps = ComponentProps<'input'>; export interface InputPasswordProps { name: string; id?: string; state?: InputFormState; value?: string; disabled?: boolean; onChange: InputProps['onChange']; onBlur?: InputProps['onBlur']; onFocus?: InputProps['onFocus']; } interface InputPasswordState { type: 'password' | 'text'; } /** @deprecated use InputPassword from kitt-universal instead */ export declare class InputPassword extends Component { static defaultProps: { value: string; }; state: InputPasswordState; passwordInputRef: import("react").RefObject; componentDidUpdate(prevProps: InputPasswordProps, prevState: InputPasswordState): void; togglePassword: () => void; render(): ReactElement; } export {}; //# sourceMappingURL=index.d.ts.map