pinyin.d.ts 385 B

123456789
  1. import PinyinBase from "./PinyinBase";
  2. import type { IPinyinSegment } from "./declare";
  3. export declare class Pinyin extends PinyinBase {
  4. segment(hans: string, segmentType?: IPinyinSegment): string[];
  5. }
  6. export declare const pinyin: import("./declare").IPinyin;
  7. export default pinyin;
  8. export declare const compare: (a: string, b: string) => number;
  9. export { compact } from "./util";