import React from 'react'; import { TextFieldProps, IconButtonProps } from '@mui/material'; export interface PasswordFieldProps extends Omit { /** * Tell browser how it should behave to password field * @default new-password */ autoComplete?: 'new-password' | 'current-password' | string; /** * Properties provided to button toggling visibility. Can be used to change aria-label. */ iconButtonProps?: IconButtonProps; /** * Optional flag if password is visible * @default false */ visible?: boolean; /** * Optional function to toggle visibility */ setVisible?: (visible: boolean) => void; } /** * TextField adding extra logic to toggle into the password field via show/hide IconButton */ export declare const PasswordField: React.FC;