import { default as React, ChangeEvent, ReactElement, ReactNode, ReactPortal } from 'react';
import { TextFieldProps } from '../../text-field/src/text-field';
import { PasswordStrength } from './password-strength';
export type PasswordFieldDefaultProps = {
    ["data-testid"]?: string;
    children?: ReactNode;
    showPasswordAriaLabel: string;
    hidePasswordAriaLabel: string;
    onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
};
type TextFieldClearProps = {
    clearButtonAriaLabel: string;
    onClear: () => void;
} | {
    clearButtonAriaLabel?: never;
    onClear?: never;
};
export type PasswordFieldProps = PasswordFieldDefaultProps & Omit<TextFieldProps, "startAdornment" | "endAdornment" | "afterField" | "type" | "onChange"> & TextFieldClearProps;
type PasswordFieldCmp<P> = React.ForwardRefExoticComponent<P & React.RefAttributes<HTMLInputElement>> & {
    PasswordStrength: typeof PasswordStrength;
};
export declare const PasswordField: PasswordFieldCmp<PasswordFieldProps>;
export declare const isPasswordStrength: (child: ReactElement | Iterable<ReactNode> | ReactPortal | string | number | boolean | null | undefined) => child is ReactElement<PasswordFieldProps>;
export {};
//# sourceMappingURL=password-field.d.ts.map