/** * 占星单点详查:一颗星体(或交点、轴点)或一个宫位的位置、传统尊贵、宫主星、 * 本命相位(入相/出相)与流运触发。只陈述盘面事实,不下吉凶结论。 * focus 可只看本命或只看流运;只看流运时仍给出所查对象在本命盘上的位置作为参照。 */ import type { AstrologyInput, AstrologyOutput } from './types.js'; export declare const ASTROLOGY_POINT_RULE_VERSION = "astrology-point-2026.10"; export declare const ASTROLOGY_POINT_KEYS: readonly ["sun", "moon", "mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto", "northnode", "southnode", "lilith", "ascendant", "midheaven"]; export type AstrologyPointKey = typeof ASTROLOGY_POINT_KEYS[number]; /** 全部=本命与流运;本命=不看流运;流运=只看流运触发或过境(附本命位置作参照) */ export declare const ASTROLOGY_POINT_FOCUS: readonly ["全部", "本命", "流运"]; export type AstrologyPointFocus = typeof ASTROLOGY_POINT_FOCUS[number]; export interface AstrologyPointSelector { planet?: AstrologyPointKey; house?: number; focus?: AstrologyPointFocus; } export interface AstrologyPointRef { chart: '本命' | '流运'; key: string; label: string; } export interface AstrologyPointAspect { type: string; from: AstrologyPointRef; to: AstrologyPointRef; orb: number; angle: number; /** 两端都能算出运动速度时才给出 */ phase?: '入相' | '出相'; } export interface AstrologyPointPlacement { ref: AstrologyPointRef; sign: string; element: string; modality: string; position: string; house?: number; retrograde?: boolean; } export type AstrologyDignity = '入庙' | '擢升' | '失势' | '落陷'; export interface AstrologyPointOutput { query: ({ kind: 'planet'; key: AstrologyPointKey; label: string; } | { kind: 'house'; house: number; label: string; }) & { focus: AstrologyPointFocus; }; placement?: AstrologyPointPlacement; /** 只对七颗传统行星给出;现代行星、交点与轴点为 undefined */ dignities?: AstrologyDignity[]; /** 该行星按传统守护所主管的宫位 */ ruledHouses?: number[]; house?: { id: number; sign: string; start: string; end: string; span: number; }; occupants?: AstrologyPointPlacement[]; ruler?: AstrologyPointPlacement & { dignities: AstrologyDignity[]; }; /** 星体本身(或宫主星)的本命相位;只看流运时省略 */ aspects?: AstrologyPointAspect[]; /** 流运对该星体的相位;只看本命或查宫位时省略 */ transitAspects?: AstrologyPointAspect[]; /** 流运时刻落在该宫的星体;只看本命时省略 */ transitOccupants?: AstrologyPointPlacement[]; calculationOptions: Record & { ruleVersion: string; }; } export declare function traditionalDignities(planet: string, sign: string): AstrologyDignity[]; export declare function deriveAstrologyPoint(chart: AstrologyOutput, selector: AstrologyPointSelector, _baseInput: AstrologyInput): AstrologyPointOutput; //# sourceMappingURL=point.d.ts.map