import PinyinBase from "./PinyinBase";
import type { IPinyinSegment } from "./declare";
export declare class Pinyin extends PinyinBase {
    segment(hans: string, segmentType?: IPinyinSegment): string[];
}
export declare const pinyin: import("./declare").IPinyin;
export default pinyin;
export declare const compare: (a: string, b: string) => number;
export { compact } from "./util";
