import { YearMeta } from "./types"; /** * Month lengths are a PREFIX, not necessarily twelve entries. Months publish one at a * time and the twelfth needs the FOLLOWING year's Baisakh 1, so a year in progress * legitimately holds only its first few. Check `isSupportedMonth`, not just the year. */ export declare let monthLengths: Record; export declare let yearStart: Record; /** Provenance per year; absent for data seeded before month-meta.json existed. */ export declare let yearMeta: Record; /** Must be awaited once (or awaited by the first library call) before conversions. */ export declare function loadCalendarData(): Promise; export declare function supportedYears(): number[]; export declare function isSupportedYear(year: number): boolean; /** Leading months known for a year; 0 when absent, 12 when closed. */ export declare function knownMonths(year: number): number; /** Is this specific month resolvable? A partial year answers yes only up to its prefix. */ export declare function isSupportedMonth(year: number, month: number): boolean; /** Years complete enough to convert any date within them. */ export declare function completeYears(): number[]; /** * True when a year rests on an unverified prediction or is still incomplete. * * Nepal Patro publishes predictions ahead of the official gazette, and a revision can move * a date. Anything that has to be right — a tax filing, say — should refuse provisional * data; anything that merely displays a period is fine with it. */ export declare function isProvisional(year: number): boolean; /** Full provenance for a year, or undefined when nothing is stored. */ export declare function getYearInfo(year: number): YearMeta | undefined;