import type { DateAdapter } from "../adapters/date-adapter"; import type { Label } from "../types"; export declare const SOLAR_TERM_KEYS: readonly ["minorCold", "majorCold", "springBegins", "rainWater", "awakeningInsects", "vernalEquinox", "pureBrightness", "grainRain", "summerBegins", "grainBuds", "grainInEar", "summerSolstice", "minorHeat", "majorHeat", "autumnBegins", "heatStops", "whiteDew", "autumnalEquinox", "coldDew", "frostDescends", "winterBegins", "minorSnow", "majorSnow", "winterSolstice"]; export type SolarTermKey = (typeof SOLAR_TERM_KEYS)[number]; export interface SolarTermLabel extends Label { longitude: number; } declare const SOLAR_TERM_DATA: Record; export declare function getSolarTermLabel(key: SolarTermKey): SolarTermLabel; export declare const SOLAR_TERMS: SolarTermLabel[]; export type SolarTermName = (typeof SOLAR_TERM_DATA)[SolarTermKey]["korean"]; export type SolarTermHanja = (typeof SOLAR_TERM_DATA)[SolarTermKey]["hanja"]; export interface SolarTerm { key: SolarTermKey; korean: string; hanja: string; longitude: number; } export interface SolarTermDateInfo { year: number; month: number; day: number; hour: number; minute: number; } export interface SolarTermInfo { /** Current solar term (the one that has passed) */ current: SolarTerm; /** Date when the current solar term started */ currentDate: SolarTermDateInfo; /** Milliseconds timestamp of current solar term (for calculations) */ currentMillis: number; /** Days elapsed since the current solar term */ daysSinceCurrent: number; /** Next solar term (upcoming) */ next: SolarTerm; /** Date when the next solar term will start */ nextDate: SolarTermDateInfo; /** Milliseconds timestamp of next solar term (for calculations) */ nextMillis: number; /** Days until the next solar term */ daysUntilNext: number; /** Previous "節" (Jie) - the solar term that marks month boundary (for major luck calculation) */ prevJie: SolarTerm; /** Date of previous Jie */ prevJieDate: SolarTermDateInfo; /** Milliseconds timestamp of previous Jie */ prevJieMillis: number; /** Next "節" (Jie) - the solar term that marks month boundary (for major luck calculation) */ nextJie: SolarTerm; /** Date of next Jie */ nextJieDate: SolarTermDateInfo; /** Milliseconds timestamp of next Jie */ nextJieMillis: number; } export declare function analyzeSolarTerms(dtLocal: T, { adapter }: { adapter: DateAdapter; }): SolarTermInfo; /** * Get all solar term dates for a given year */ export declare function getSolarTermsForYear(year: number, { adapter, timezone }: { adapter: DateAdapter; timezone: string; }): Array<{ term: SolarTerm; date: SolarTermDateInfo; }>; export {}; //# sourceMappingURL=solar-terms.d.ts.map