UNPKG

chinese-baby-names

Version:
18 lines (17 loc) 496 B
/** * 检查三才配置吉 * @param counts 天地人 三才数值 * @param allowGeneral 是否允许中吉 */ export declare function checkSancaiGood(counts: number[], allowGeneral: boolean): boolean; /** * 获取三才配置 * @param counts 天地人 三才数值 * 对应的就是 转成 金木水 这种 */ export declare function getSancaiConfig(counts: number[]): string; /** * 获取三才类型 * @param config */ export declare function getSancaiType(config: string): string;