/** * 大六壬课传详查:逐课列上下神生克、天将与神将交战、遁干、六亲;逐传列与日干关系、 * 旺衰、空亡与递生递克;另给日干寄宫、本命行年上神与类神(地支或天将)落处。 * 只读起课结果,不另取三传、不断吉凶。 */ import type { DaliurenInput, DaliurenOutput } from './types.js'; export declare const DALIUREN_LESSONS_RULE_VERSION = "daliuren-lessons-2026.10"; /** 全部=四课三传与本命行年;课 / 传只列其一;类神只列类神的落处与入课入传 */ export declare const DALIUREN_FOCUS: readonly ["全部", "课", "传", "类神"]; export declare const DALIUREN_GENERALS: string[]; export interface DaliurenLessonsSelector { /** 省略时:给了类神取「类神」,否则取「全部」 */ focus?: typeof DALIUREN_FOCUS[number]; /** 类神:一个地支或天将名,定位其天盘落处与入课入传 */ leiShen?: string; } /** 盘面位置,字段与规范 JSON 同名:课别 / 传序 / 地盘(可带部位) */ export type DaliurenPositionJSON = { 课别: string; } | { 传序: string; } | { 地盘: string; 部位?: '天盘' | '地盘' | '天将'; }; export interface DaliurenFactRowJSON { 类型: string; 位置: DaliurenPositionJSON[]; 结果?: string; 说明: string; } export interface DaliurenLessonRowJSON { 课别: string; 上神: string; 下神: string; 上下: string; 天将: string; 神将: string; 遁干: string; 六亲: string; 位置: DaliurenPositionJSON[]; } export interface DaliurenTransmissionRowJSON { 传序: string; 地支: string; 五行: string; 天将: string; 神将: string; 遁干: string; 六亲: string; 与日干: string; 旺衰: string; 空亡: string; 位置: DaliurenPositionJSON[]; } export interface DaliurenLessonsSections { 查询: { 范围: string; 类神?: string; }; 基础: { 日干: string; 日干寄宫: string; 日支: string; 月建: string; 旬: string; 空亡: string[]; 课式: string; }; 四课?: DaliurenLessonRowJSON[]; 三传?: DaliurenTransmissionRowJSON[]; 三传递进?: { 初传至中传: string; 中传至末传: string; 递进: string; }; /** 所列课传中的神将交战;与各行「神将」同源,只列不看课传时省略 */ 神将交战?: string[]; 本命行年?: DaliurenFactRowJSON[]; 类神?: DaliurenFactRowJSON[]; } export interface DaliurenLessonsOutput { sections: DaliurenLessonsSections; calculationOptions: Record & { ruleVersion: string; }; } export declare function deriveDaliurenLessons(chart: DaliurenOutput, selector: DaliurenLessonsSelector, _baseInput: DaliurenInput): DaliurenLessonsOutput; //# sourceMappingURL=lessons.d.ts.map