/** * Interactive password entry with live feedback. * * Features: * - Live strength meter updates as you type * - Pattern detection explains WHY password is weak * - Retry loop instead of exit on weak password * - Passphrase generator for stuck users * - Clear progression toward "good enough" */ import readline from 'node:readline'; interface PatternInfo { type: string; description: string; token: string; } interface LiveAnalysis { entropyBits: number; guessesLog10: number; crackTime: string; patterns: PatternInfo[]; warning: string | null; isAcceptable: boolean; strengthLabel: string; strengthColor: string; barFill: number; } export declare function generatePassphrase(wordCount?: number, separator?: string): string; export interface PasswordResult { password: Buffer; analysis: LiveAnalysis; } export declare function askPasswordInteractive(rl: readline.Interface, identity: string): Promise; export declare function confirmPassword(rl: readline.Interface, original: Buffer): Promise; export {}; //# sourceMappingURL=password-ui.d.ts.map