import React, { InputHTMLAttributes } from 'react';
import { ThemeOverrideProps } from '@xsolla/xui-core';
interface InputPasswordProps extends Omit, "size" | "onChange">, ThemeOverrideProps {
/**
* Add eye in input with see password function.
*/
extraSee?: boolean;
/**
* Add function clear for input.
*/
extraClear?: boolean;
/**
* Property for specifying the name of the control.
*/
name?: string;
/**
* Property for displaying an error and highlighting the control as invalid.
*/
error?: boolean;
/**
* Visible password in the field.
*/
initialVisible?: boolean;
/**
* Add checkup function for input. Can use after change input value.
*/
extraCheckup?: (pass: string) => boolean;
/**
* Property for specifying the value of the control.
*/
value?: string;
/**
* Property for displaying an error message and highlighting the control as invalid.
*/
errorMessage?: string;
/**
* Property for specifying the placeholder of the control.
*/
placeholder?: string;
/**
* Property for changing the size of the input.
*/
size?: "xl" | "lg" | "md" | "sm" | "xs";
/**
* Property for disabling the control and highlighting it as an inactive state.
*/
disabled?: boolean;
/**
* Property for displaying a label above the input.
*/
label?: string;
/**
* Property for displaying helper text below the input.
*/
helperText?: string;
/**
* Event handler when the value changes (for controlled mode).
*/
onChange?: (e: React.ChangeEvent) => void;
/**
* Event handler when the text changes (alternative to onChange).
*/
onChangeText?: (text: string) => void;
/**
* Function triggered when user clicks on extraClear button.
*/
onRemove?: () => void;
/**
* Unique identifier for the input element. Used for accessibility linking.
*/
id?: string;
/**
* Accessible label for screen readers when no visible label is present.
*/
"aria-label"?: string;
testID?: string;
}
declare const InputPassword: React.ForwardRefExoticComponent>;
export { InputPassword, type InputPasswordProps };