index.d.ts 391 B

12345678910
  1. import { type Theme } from '@inquirer/core';
  2. import type { PartialDeep } from '@inquirer/type';
  3. type PasswordConfig = {
  4. message: string;
  5. mask?: boolean | string;
  6. validate?: (value: string) => boolean | string | Promise<string | boolean>;
  7. theme?: PartialDeep<Theme>;
  8. };
  9. declare const _default: import("@inquirer/type").Prompt<string, PasswordConfig>;
  10. export default _default;