/** * PasswordInput - Masked text input for sensitive data * * Displays asterisks instead of actual characters. * Useful for API key entry. */ import React from 'react'; /** * Props for the PasswordInput component */ export interface PasswordInputProps { /** The message/question to display */ message: string; /** Called when user submits (Enter) */ onSubmit: (value: string) => void; /** Called when user cancels (Escape or Ctrl+C) */ onCancel?: () => void; /** Mask character (default: *) */ mask?: string; /** Placeholder text when empty */ placeholder?: string; } /** * PasswordInput component * * A masked text input that shows asterisks instead of actual characters. * Supports backspace for deletion and Enter to submit. * * @example * ```tsx * saveApiKey(value)} * onCancel={() => navigate('back')} * /> * ``` */ export declare function PasswordInput({ message, onSubmit, onCancel, mask, placeholder, }: PasswordInputProps): React.ReactElement;