import { DiZhi, TianGan } from "./types.js"; export declare const DIZHI_ORDER: DiZhi[]; /** 天干寄宫映射 */ export declare const GAN_JI_GONG: Record; /** 解析日干支(前两字为干支) */ export declare function parseDayGanzhi(dayGanzhi: string): { gan: TianGan; zhi: DiZhi; }; /** * 计算“干上”的地支: * - 第1局为:天干寄宫 * - 第n局为:在地支序中自寄宫向逆序推移 n-1 位 */ export declare function calcGanShang(gan: TianGan, ju: number): DiZhi; export declare function calcGanShang(gan: TianGan, params: { yueJiang: DiZhi; shiZhi: DiZhi; }): { ju: number; ganShang: DiZhi; };