import { type ChangeEvent, type ReactElement } from 'react'; import { type PasswordInputTooltipProps } from './PasswordInputTooltip.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { FormControlProps } from '../../core/types/form-control-props.js'; import { WithChildren } from '../../core/types/with-children.js'; import type { BaseInputProps } from '../_base-input/base-input.types.js'; import type { FormControlRef } from '../shared-types.js'; import type { MessageTarget } from '../validation/message-routing.js'; /** * The properties of the PasswordInput component. * @public */ export type PasswordInputProps = Pick & FormControlProps) => void, HTMLInputElement> & WithChildren & BehaviorTrackingProps & { /** * Internal: associates this control with a `_Form` rendered outside its * React subtree via the native `form` attribute. Unstable. * @internal */ _form?: string; /** * Internal: routes this control's native/Strato validation messages to the * field outlet (default), the enclosing form's outlet, or both. Unstable. * @internal */ _messageTarget?: MessageTarget | MessageTarget[]; }; /** * The `PasswordInput` component can be used to hide user input. * Always use a `PasswordInput` when your app asks for sensitive data, * such as a password. Users can click on the eye icon to hide or show their data. * @public */ export declare const PasswordInput: ((props: PasswordInputProps & import("react").RefAttributes>) => import("react").ReactElement | null) & { Tooltip: (props: PasswordInputTooltipProps & import("react").RefAttributes) => import("react").ReactElement | null; }; //# sourceMappingURL=PasswordInput.d.ts.map