constant.d.ts 483 B

123456789101112131415161718
  1. import type { IPinyinAllOptions } from "./declare";
  2. export declare enum ENUM_PINYIN_STYLE {
  3. NORMAL = 0,
  4. TONE = 1,
  5. TONE2 = 2,
  6. TO3NE = 5,
  7. INITIALS = 3,
  8. FIRST_LETTER = 4,
  9. PASSPORT = 6
  10. }
  11. export declare enum ENUM_PINYIN_MODE {
  12. NORMAL = 0,
  13. SURNAME = 1
  14. }
  15. export declare const DEFAULT_OPTIONS: IPinyinAllOptions;
  16. export declare const PHONETIC_SYMBOL: Record<string, string>;
  17. export declare const INITIALS: string[];
  18. export declare const FINALS: string[];