import * as React from "react"; import { Input } from "../data-entry/input.js"; /** * antd `Input.Password.visibilityToggle`. `false` removes the eye entirely — a kiosk, a shared * screen, or a security policy that forbids ever revealing a secret has no other way to say so. * The object form is the controlled triad for the reveal state: `visible` wins when provided, and * `onVisibleChange` fires on both the controlled and the uncontrolled path. */ export type PasswordVisibilityToggleProp = boolean | { visible?: boolean; onVisibleChange?: (visible: boolean) => void; }; export type PasswordInputProps = Omit, "type"> & { /** antd `visibilityToggle` — see {@link PasswordVisibilityToggleProp}. Default `true`. */ visibilityToggle?: PasswordVisibilityToggleProp; /** antd `iconRender` — replace the eye glyph. Receives the CURRENT visibility. */ iconRender?: (visible: boolean) => React.ReactNode; }; export declare const PasswordInput: React.ForwardRefExoticComponent, "prefix" | "size"> & { onValueChange?: (value: string) => void; size?: "xs" | "sm" | "md" | "lg"; status?: import("../../props/index.js").ControlStatusProp; variant?: import("../../props/index.js").ControlVariantProp; allowClear?: import("../../props/index.js").AllowClearProp; onClear?: () => void; leadingIcon?: React.ReactNode; trailingIcon?: React.ReactNode; prefix?: React.ReactNode; suffix?: React.ReactNode; addonBefore?: React.ReactNode; addonAfter?: React.ReactNode; count?: import("../../props/components/data-entry.prop.js").ControlCountProp; } & React.RefAttributes, "ref">, "type"> & { /** antd `visibilityToggle` — see {@link PasswordVisibilityToggleProp}. Default `true`. */ visibilityToggle?: PasswordVisibilityToggleProp; /** antd `iconRender` — replace the eye glyph. Receives the CURRENT visibility. */ iconRender?: (visible: boolean) => React.ReactNode; } & React.RefAttributes>;