/** * Core public types for the lunisolar-ts package. */ /** Unix timestamps in seconds for data arrays (smaller than ms). */ export type TSolarTerm = [number, number]; export type TNewMoon = number; /** Broken-out date parts in a specific timezone. */ export type TDateParts = { year: number; month: number; day: number; hour: number; minute: number; second: number; }; /** Canonical lunisolar date representation. */ export type TLunisolarDate = { lunarYear: number; lunarMonth: number; lunarDay: number; isLeapMonth: boolean; yearStem: string; yearBranch: string; monthStem: string; monthBranch: string; dayStem: string; dayBranch: string; hourStem: string; hourBranch: string; }; export declare const STAR_SEQUENCE: readonly ["建", "除", "满", "平", "定", "执", "破", "危", "成", "收", "开", "闭"]; export type TConstructionStarName = (typeof STAR_SEQUENCE)[number]; /** 12 Construction Stars info */ export type TConstructionStar = { name: TConstructionStarName; auspicious: boolean; score: number; description?: string; }; export type TDayInfo = { date: Date; star: TConstructionStar; }; /** Great Yellow Path spirit */ export type TGreatYellowPathSpirit = { name: string; type: 'Yellow Path' | 'Black Path'; description?: string; };