kaabalah 6.16.0 → 6.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -6
- package/dist/astrology/index.d.mts +3423 -148
- package/dist/astrology/index.d.ts +3423 -148
- package/dist/astrology/index.js +849 -59
- package/dist/astrology/index.mjs +4 -2
- package/dist/{chunk-MWLSSRHL.mjs → chunk-4BKDSA7L.mjs} +3 -4
- package/dist/chunk-4BKDSA7L.mjs.map +1 -0
- package/dist/chunk-4WVN4RMM.mjs +1139 -0
- package/dist/chunk-4WVN4RMM.mjs.map +1 -0
- package/dist/{chunk-J5Y325TG.mjs → chunk-4ZFY3GBP.mjs} +2210 -3
- package/dist/chunk-4ZFY3GBP.mjs.map +1 -0
- package/dist/{chunk-LQVHJ3VY.mjs → chunk-54QDLBID.mjs} +41 -41
- package/dist/{chunk-LQVHJ3VY.mjs.map → chunk-54QDLBID.mjs.map} +1 -1
- package/dist/{chunk-PBBF5DKC.js → chunk-6SBCBVTZ.js} +21 -21
- package/dist/{chunk-WP5MRAYG.mjs → chunk-COEM6U4V.mjs} +3 -4
- package/dist/chunk-COEM6U4V.mjs.map +1 -0
- package/dist/{chunk-3JMY4U4S.mjs → chunk-DBRPCQRR.mjs} +245 -211
- package/dist/chunk-DBRPCQRR.mjs.map +1 -0
- package/dist/{chunk-WRF3EORB.js → chunk-DCJYTCJZ.js} +16 -17
- package/dist/chunk-DCJYTCJZ.js.map +1 -0
- package/dist/{chunk-UO2RQQZO.mjs → chunk-DK2VS36Z.mjs} +2 -2
- package/dist/{chunk-HEZCZXQC.js → chunk-E353GPHE.js} +16 -16
- package/dist/{chunk-6LZOAU6E.js → chunk-GDJSVV46.js} +272 -241
- package/dist/chunk-GDJSVV46.js.map +1 -0
- package/dist/{chunk-Z3JZ5DZN.mjs → chunk-IZBM4CPN.mjs} +2 -2
- package/dist/chunk-J3WVI5Y3.mjs +16280 -0
- package/dist/chunk-J3WVI5Y3.mjs.map +1 -0
- package/dist/{chunk-7OWGGDRF.js → chunk-JFRVH3TD.js} +2288 -80
- package/dist/chunk-JFRVH3TD.js.map +1 -0
- package/dist/chunk-MZBY6G5S.js +1182 -0
- package/dist/chunk-MZBY6G5S.js.map +1 -0
- package/dist/{chunk-7JWBIAUF.mjs → chunk-NS5AXNEW.mjs} +3 -3
- package/dist/chunk-QU4RKOBD.js +16536 -0
- package/dist/chunk-QU4RKOBD.js.map +1 -0
- package/dist/{chunk-CMXTZKWW.js → chunk-UCNBHGIY.js} +157 -157
- package/dist/{chunk-CMXTZKWW.js.map → chunk-UCNBHGIY.js.map} +1 -1
- package/dist/{chunk-BKFHIKFY.js → chunk-XRSK74V5.js} +179 -180
- package/dist/chunk-XRSK74V5.js.map +1 -0
- package/dist/{chunk-2IC6H3FI.js → chunk-YVLKVB6W.js} +52 -52
- package/dist/cli.js +27609 -11656
- package/dist/cli.js.map +1 -1
- package/dist/core/index.js +56 -57
- package/dist/core/index.mjs +2 -3
- package/dist/core-B3_-9yli.d.mts +279 -0
- package/dist/core-cWIQtely.d.ts +279 -0
- package/dist/gematria/index.js +7 -8
- package/dist/gematria/index.mjs +2 -3
- package/dist/iching/index.d.mts +37 -37
- package/dist/iching/index.d.ts +37 -37
- package/dist/iching/index.js +46 -47
- package/dist/iching/index.mjs +3 -4
- package/dist/index.d.mts +139 -2
- package/dist/index.d.ts +139 -2
- package/dist/index.js +1422 -301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +190 -10
- package/dist/index.mjs.map +1 -1
- package/dist/numerology/index.d.mts +437 -252
- package/dist/numerology/index.d.ts +437 -252
- package/dist/numerology/index.js +108 -28
- package/dist/numerology/index.mjs +4 -4
- package/dist/schedule-types-DsR1_guG.d.mts +200 -0
- package/dist/schedule-types-DsR1_guG.d.ts +200 -0
- package/dist/semantic/index.d.mts +10 -9
- package/dist/semantic/index.d.ts +10 -9
- package/dist/semantic/index.js +41 -41
- package/dist/semantic/index.mjs +8 -8
- package/dist/swisseph.node-734BKSOZ.js +10 -0
- package/dist/swisseph.node-734BKSOZ.js.map +1 -0
- package/dist/swisseph.node-TDPYTBSS.mjs +8 -0
- package/dist/swisseph.node-TDPYTBSS.mjs.map +1 -0
- package/dist/tarot/index.js +30 -31
- package/dist/tarot/index.mjs +3 -4
- package/dist/visual/index.d.mts +1 -0
- package/dist/visual/index.d.ts +1 -0
- package/dist/visual/index.js +46 -47
- package/dist/visual/index.mjs +3 -4
- package/dist/wasm/build/swisseph.node-734BKSOZ.js +10 -0
- package/dist/wasm/build/swisseph.node-734BKSOZ.js.map +1 -0
- package/dist/wasm/build/swisseph.node-TDPYTBSS.mjs +8 -0
- package/dist/wasm/build/swisseph.node-TDPYTBSS.mjs.map +1 -0
- package/package.json +4 -2
- package/dist/chunk-3JMY4U4S.mjs.map +0 -1
- package/dist/chunk-3QN5V3DP.js +0 -4737
- package/dist/chunk-3QN5V3DP.js.map +0 -1
- package/dist/chunk-6LZOAU6E.js.map +0 -1
- package/dist/chunk-7OWGGDRF.js.map +0 -1
- package/dist/chunk-BKFHIKFY.js.map +0 -1
- package/dist/chunk-IT7GZ337.mjs +0 -4679
- package/dist/chunk-IT7GZ337.mjs.map +0 -1
- package/dist/chunk-J5Y325TG.mjs.map +0 -1
- package/dist/chunk-JY4QC6FR.js +0 -2214
- package/dist/chunk-JY4QC6FR.js.map +0 -1
- package/dist/chunk-MWLSSRHL.mjs.map +0 -1
- package/dist/chunk-RUE6NTVT.mjs +0 -2211
- package/dist/chunk-RUE6NTVT.mjs.map +0 -1
- package/dist/chunk-WP5MRAYG.mjs.map +0 -1
- package/dist/chunk-WRF3EORB.js.map +0 -1
- package/dist/swisseph.node-53QCJWTI.mjs +0 -3471
- package/dist/swisseph.node-53QCJWTI.mjs.map +0 -1
- package/dist/swisseph.node-CGBZTQ5N.js +0 -3473
- package/dist/swisseph.node-CGBZTQ5N.js.map +0 -1
- package/dist/swisseph.node-GPVFDOB6.wasm +0 -0
- package/dist/wasm/build/swisseph.node-53QCJWTI.mjs +0 -3471
- package/dist/wasm/build/swisseph.node-53QCJWTI.mjs.map +0 -1
- package/dist/wasm/build/swisseph.node-CGBZTQ5N.js +0 -3473
- package/dist/wasm/build/swisseph.node-CGBZTQ5N.js.map +0 -1
- package/dist/wasm/build/swisseph.node-GPVFDOB6.wasm +0 -0
- /package/dist/{chunk-PBBF5DKC.js.map → chunk-6SBCBVTZ.js.map} +0 -0
- /package/dist/{chunk-2IC6H3FI.js.map → chunk-DK2VS36Z.mjs.map} +0 -0
- /package/dist/{chunk-7JWBIAUF.mjs.map → chunk-E353GPHE.js.map} +0 -0
- /package/dist/{chunk-Z3JZ5DZN.mjs.map → chunk-IZBM4CPN.mjs.map} +0 -0
- /package/dist/{chunk-HEZCZXQC.js.map → chunk-NS5AXNEW.mjs.map} +0 -0
- /package/dist/{chunk-UO2RQQZO.mjs.map → chunk-YVLKVB6W.js.map} +0 -0
package/dist/numerology/index.js
CHANGED
|
@@ -1,81 +1,161 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
3
|
+
var chunkGDJSVV46_js = require('../chunk-GDJSVV46.js');
|
|
4
|
+
var chunkMZBY6G5S_js = require('../chunk-MZBY6G5S.js');
|
|
5
|
+
require('../chunk-6SBCBVTZ.js');
|
|
6
|
+
require('../chunk-JFRVH3TD.js');
|
|
7
7
|
require('../chunk-ICUDGCYX.js');
|
|
8
8
|
require('../chunk-4337NVKS.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
Object.defineProperty(exports, "MASTER_NUMBERS", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunk6LZOAU6E_js.MASTER_NUMBERS; }
|
|
15
|
-
});
|
|
16
12
|
Object.defineProperty(exports, "NUMEROLOGY_TEXT_DATA", {
|
|
17
13
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGDJSVV46_js.NUMEROLOGY_TEXT_DATA; }
|
|
19
15
|
});
|
|
20
16
|
Object.defineProperty(exports, "NumerologyData", {
|
|
21
17
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGDJSVV46_js.data_exports; }
|
|
23
19
|
});
|
|
24
20
|
Object.defineProperty(exports, "calculateChallenges", {
|
|
25
21
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkGDJSVV46_js.calculateChallenges; }
|
|
27
23
|
});
|
|
28
24
|
Object.defineProperty(exports, "calculateCycles", {
|
|
29
25
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkGDJSVV46_js.calculateCycles; }
|
|
31
27
|
});
|
|
32
28
|
Object.defineProperty(exports, "calculateFibonacciCycle", {
|
|
33
29
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "calculateKaabalisticLifePath", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () { return chunk6LZOAU6E_js.calculateKaabalisticLifePath; }
|
|
30
|
+
get: function () { return chunkGDJSVV46_js.calculateFibonacciCycle; }
|
|
39
31
|
});
|
|
40
32
|
Object.defineProperty(exports, "calculatePersonalCycles", {
|
|
41
33
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkGDJSVV46_js.calculatePersonalCycles; }
|
|
43
35
|
});
|
|
44
36
|
Object.defineProperty(exports, "calculatePersonalMonths", {
|
|
45
37
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkGDJSVV46_js.calculatePersonalMonths; }
|
|
47
39
|
});
|
|
48
40
|
Object.defineProperty(exports, "calculatePersonalPeriods", {
|
|
49
41
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkGDJSVV46_js.calculatePersonalPeriods; }
|
|
51
43
|
});
|
|
52
44
|
Object.defineProperty(exports, "calculatePersonalYear", {
|
|
53
45
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkGDJSVV46_js.calculatePersonalYear; }
|
|
55
47
|
});
|
|
56
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "describePartialBirthDate", {
|
|
57
49
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkGDJSVV46_js.describePartialBirthDate; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "fibonacciFromAge", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkGDJSVV46_js.fibonacciFromAge; }
|
|
59
55
|
});
|
|
60
56
|
Object.defineProperty(exports, "getDateEnergies", {
|
|
61
57
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkGDJSVV46_js.getDateEnergies; }
|
|
63
59
|
});
|
|
64
60
|
Object.defineProperty(exports, "getNumerologyData", {
|
|
65
61
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkGDJSVV46_js.getNumerologyData; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "summarizeBirthDateCandidates", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkGDJSVV46_js.summarizeBirthDateCandidates; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "DEFAULT_MAX_TIMELINE_INTERVALS", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkMZBY6G5S_js.DEFAULT_MAX_TIMELINE_INTERVALS; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "LIFE_STAGE_METHOD_ID", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkMZBY6G5S_js.LIFE_STAGE_METHOD_ID; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "MASTER_NUMBERS", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkMZBY6G5S_js.MASTER_NUMBERS; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "MAX_CANDIDATE_DATES", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkMZBY6G5S_js.MAX_CANDIDATE_DATES; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "MAX_SCHEDULE_YEAR", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkMZBY6G5S_js.MAX_SCHEDULE_YEAR; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "MAX_TIMELINE_INTERVALS_HARD_CAP", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkMZBY6G5S_js.MAX_TIMELINE_INTERVALS_HARD_CAP; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "MAX_TIMELINE_RANGE_DAYS", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkMZBY6G5S_js.MAX_TIMELINE_RANGE_DAYS; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "NumerologyScheduleError", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkMZBY6G5S_js.NumerologyScheduleError; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "SCHEDULE_METHOD_VERSION", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkMZBY6G5S_js.SCHEDULE_METHOD_VERSION; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "TIMELINE_LAYERS", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkMZBY6G5S_js.TIMELINE_LAYERS; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "calculateKaabalisticLifePath", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkMZBY6G5S_js.calculateKaabalisticLifePath; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "calculateStraightAcrossReductionLifePath", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkMZBY6G5S_js.calculateStraightAcrossReductionLifePath; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "computeLifeStages", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkMZBY6G5S_js.computeLifeStages; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "fmt", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkMZBY6G5S_js.fmt; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "generateNumerologyTimeline", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkMZBY6G5S_js.generateNumerologyTimeline; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "getNumerologyMethodMetadata", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkMZBY6G5S_js.getNumerologyMethodMetadata; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "getNumerologySnapshot", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkMZBY6G5S_js.getNumerologySnapshot; }
|
|
67
135
|
});
|
|
68
136
|
Object.defineProperty(exports, "isMasterNumber", {
|
|
69
137
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkMZBY6G5S_js.isMasterNumber; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "normalizeBirth", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkMZBY6G5S_js.normalizeBirth; }
|
|
71
143
|
});
|
|
72
144
|
Object.defineProperty(exports, "reduceToSingle", {
|
|
73
145
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkMZBY6G5S_js.reduceToSingle; }
|
|
75
147
|
});
|
|
76
148
|
Object.defineProperty(exports, "reduceToSingleWithSteps", {
|
|
77
149
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkMZBY6G5S_js.reduceToSingleWithSteps; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "resolveCivilDate", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkMZBY6G5S_js.resolveCivilDate; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "unavailable", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkMZBY6G5S_js.unavailable; }
|
|
79
159
|
});
|
|
80
160
|
//# sourceMappingURL=out.js.map
|
|
81
161
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { NUMEROLOGY_TEXT_DATA, data_exports as NumerologyData, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, describePartialBirthDate, fibonacciFromAge, getDateEnergies, getNumerologyData, summarizeBirthDateCandidates } from '../chunk-DBRPCQRR.mjs';
|
|
2
|
+
export { DEFAULT_MAX_TIMELINE_INTERVALS, LIFE_STAGE_METHOD_ID, MASTER_NUMBERS, MAX_CANDIDATE_DATES, MAX_SCHEDULE_YEAR, MAX_TIMELINE_INTERVALS_HARD_CAP, MAX_TIMELINE_RANGE_DAYS, NumerologyScheduleError, SCHEDULE_METHOD_VERSION, TIMELINE_LAYERS, calculateKaabalisticLifePath, calculateStraightAcrossReductionLifePath, computeLifeStages, fmt, generateNumerologyTimeline, getNumerologyMethodMetadata, getNumerologySnapshot, isMasterNumber, normalizeBirth, reduceToSingle, reduceToSingleWithSteps, resolveCivilDate, unavailable } from '../chunk-4WVN4RMM.mjs';
|
|
3
|
+
import '../chunk-IZBM4CPN.mjs';
|
|
4
|
+
import '../chunk-4ZFY3GBP.mjs';
|
|
5
5
|
import '../chunk-W2N7STO3.mjs';
|
|
6
6
|
import '../chunk-NPQZ2DOY.mjs';
|
|
7
7
|
//# sourceMappingURL=out.js.map
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Civil (proleptic Gregorian, timezone-free) date helpers.
|
|
3
|
+
*
|
|
4
|
+
* A CivilDate is a calendar day, not an instant. All arithmetic here is pure
|
|
5
|
+
* integer arithmetic on day ordinals, so it cannot drift across DST changes
|
|
6
|
+
* or depend on the host timezone. Legacy `Date` APIs are bridged with
|
|
7
|
+
* `civilDateFromLocalDate` / `civilDateToLocalNoon` (local-noon convention).
|
|
8
|
+
*/
|
|
9
|
+
interface CivilDate {
|
|
10
|
+
/** Full Gregorian year, 1–9999. */
|
|
11
|
+
year: number;
|
|
12
|
+
/** Month 1–12. */
|
|
13
|
+
month: number;
|
|
14
|
+
/** Day of month 1–31, valid for the month. */
|
|
15
|
+
day: number;
|
|
16
|
+
}
|
|
17
|
+
declare const MIN_CIVIL_YEAR = 1;
|
|
18
|
+
declare const MAX_CIVIL_YEAR = 9999;
|
|
19
|
+
declare function isLeapYear(year: number): boolean;
|
|
20
|
+
declare function daysInMonth(year: number, month: number): number;
|
|
21
|
+
declare function isValidCivilDate(value: unknown): value is CivilDate;
|
|
22
|
+
declare function civilDate(year: number, month: number, day: number): CivilDate;
|
|
23
|
+
/** Strict `YYYY-MM-DD` parser. Returns null for malformed or impossible dates. */
|
|
24
|
+
declare function parseCivilDate(text: string): CivilDate | null;
|
|
25
|
+
declare function formatCivilDate(date: CivilDate): string;
|
|
26
|
+
/**
|
|
27
|
+
* Days since 1970-01-01 in the proleptic Gregorian calendar (pure integer
|
|
28
|
+
* arithmetic; independent of timezone, DST and time of day).
|
|
29
|
+
*/
|
|
30
|
+
declare function civilDayOrdinal(date: CivilDate): number;
|
|
31
|
+
declare function civilDateFromOrdinal(ordinal: number): CivilDate;
|
|
32
|
+
declare function addCivilDays(date: CivilDate, days: number): CivilDate;
|
|
33
|
+
/** `b - a` in whole civil days. */
|
|
34
|
+
declare function diffCivilDays(a: CivilDate, b: CivilDate): number;
|
|
35
|
+
declare function compareCivilDates(a: CivilDate, b: CivilDate): number;
|
|
36
|
+
/** Reads the host-local calendar day of a legacy `Date`. */
|
|
37
|
+
declare function civilDateFromLocalDate(date: Date): CivilDate;
|
|
38
|
+
/**
|
|
39
|
+
* Local-noon `Date` for a civil day. Safe for years 0001–0099, which numeric
|
|
40
|
+
* `Date` constructors would otherwise reinterpret as 1900–1999.
|
|
41
|
+
*/
|
|
42
|
+
declare function civilDateToLocalNoon(date: CivilDate): Date;
|
|
43
|
+
/**
|
|
44
|
+
* Completed years between two civil days (birthday age). A 29 February
|
|
45
|
+
* birthday completes its year on 1 March in non-leap years.
|
|
46
|
+
*/
|
|
47
|
+
declare function completedYears(from: CivilDate, to: CivilDate): number;
|
|
48
|
+
/**
|
|
49
|
+
* Anniversary of `birth` in `year`. A 29 February birth resolves to 1 March
|
|
50
|
+
* in non-leap years (roll-forward), matching `completedYears`.
|
|
51
|
+
*/
|
|
52
|
+
declare function anniversaryInYear(birth: CivilDate, year: number): CivilDate;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Types, errors and input normalisation shared by the dated numerology
|
|
56
|
+
* schedule facade (`schedule.ts`, `partial-date.ts`, `life-stages.ts`).
|
|
57
|
+
*
|
|
58
|
+
* All dates are civil Gregorian days (`CivilDate` or "YYYY-MM-DD"); nothing in
|
|
59
|
+
* this facade reads the host timezone and intervals are half-open
|
|
60
|
+
* `[start, endExclusive)`.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
declare const SCHEDULE_METHOD_VERSION = "kaabalah-numerology-schedule/1";
|
|
64
|
+
/** Largest year accepted as input so that "next birthday" arithmetic stays within 1-9999. */
|
|
65
|
+
declare const MAX_SCHEDULE_YEAR: number;
|
|
66
|
+
/** Hard cap on the span of a timeline request, in days (about 100 years). */
|
|
67
|
+
declare const MAX_TIMELINE_RANGE_DAYS = 36525;
|
|
68
|
+
/** Hard cap on the number of intervals a timeline may contain. */
|
|
69
|
+
declare const MAX_TIMELINE_INTERVALS_HARD_CAP = 10000;
|
|
70
|
+
declare const DEFAULT_MAX_TIMELINE_INTERVALS = 2000;
|
|
71
|
+
/** Hard cap on candidate dates enumerated for partial birth dates (a whole year). */
|
|
72
|
+
declare const MAX_CANDIDATE_DATES = 366;
|
|
73
|
+
type NumerologyErrorCode = "INVALID_DATE" | "INVALID_ARGUMENT" | "INVALID_RANGE" | "RANGE_TOO_LARGE" | "TOO_MANY_INTERVALS" | "MISSING_BIRTH_DATE";
|
|
74
|
+
/** Typed `RangeError` raised by the schedule facade. `code` is stable and machine-readable. */
|
|
75
|
+
declare class NumerologyScheduleError extends RangeError {
|
|
76
|
+
readonly code: NumerologyErrorCode;
|
|
77
|
+
constructor(code: NumerologyErrorCode, message: string);
|
|
78
|
+
}
|
|
79
|
+
type CivilDateInput = CivilDate | string;
|
|
80
|
+
/** Discriminated birth-date knowledge. */
|
|
81
|
+
type PartialBirthDate = {
|
|
82
|
+
kind: "full";
|
|
83
|
+
date: CivilDateInput;
|
|
84
|
+
} | {
|
|
85
|
+
kind: "month-day";
|
|
86
|
+
month: number;
|
|
87
|
+
day: number;
|
|
88
|
+
} | {
|
|
89
|
+
kind: "year-month";
|
|
90
|
+
year: number;
|
|
91
|
+
month: number;
|
|
92
|
+
} | {
|
|
93
|
+
kind: "year";
|
|
94
|
+
year: number;
|
|
95
|
+
approximate?: boolean;
|
|
96
|
+
} | {
|
|
97
|
+
kind: "unknown";
|
|
98
|
+
};
|
|
99
|
+
/** A full date (`CivilDate` or "YYYY-MM-DD") or an explicit partial-date description. */
|
|
100
|
+
type BirthInput = CivilDateInput | PartialBirthDate;
|
|
101
|
+
type ShortMonthPolicy = "next-month-first" | "clamp" | "overflow";
|
|
102
|
+
type LifePathMethod = "kaabalistic" | "straight-across";
|
|
103
|
+
type MasterPolicy = "preserve" | "reduce";
|
|
104
|
+
type NameInputKind = "first-token" | "given-name" | "full-name";
|
|
105
|
+
type PinnacleTransitionRule = "36-minus-life-path" | "fixed-first-end-age";
|
|
106
|
+
type LifePeriodRule = "pinnacle-aligned-27" | "fixed-28-56";
|
|
107
|
+
interface LifeStageOptions {
|
|
108
|
+
/** Life path used for the age-transition rule. Default `"straight-across"` (the traditional pinnacle convention). */
|
|
109
|
+
lifePathMethod?: LifePathMethod;
|
|
110
|
+
/** Overrides the "36 minus single-digit life path" first-pinnacle end age (integer 1-60). */
|
|
111
|
+
firstPinnacleEndAge?: number;
|
|
112
|
+
/** Boundaries of the three life periods. Default `"pinnacle-aligned-27"`. */
|
|
113
|
+
lifePeriodRule?: LifePeriodRule;
|
|
114
|
+
}
|
|
115
|
+
interface ScheduleLimits {
|
|
116
|
+
/** Death date (inclusive last day of coverage). A missing death date is NOT evidence of survival and ends nothing. */
|
|
117
|
+
death?: CivilDateInput | null;
|
|
118
|
+
/** Exclusive end of coverage. */
|
|
119
|
+
horizonEndExclusive?: CivilDateInput | null;
|
|
120
|
+
}
|
|
121
|
+
interface ScheduleOptions {
|
|
122
|
+
/** Name used for the soul number (period 3). Missing/blank -> period 3 unavailable. */
|
|
123
|
+
firstName?: string | null;
|
|
124
|
+
/** How `firstName` is read. Default `"first-token"` (first whitespace-delimited token). */
|
|
125
|
+
nameKind?: NameInputKind;
|
|
126
|
+
/** Life path used for personal period 2. Default `"kaabalistic"`. */
|
|
127
|
+
lifePathMethod?: LifePathMethod;
|
|
128
|
+
/** Master-number policy for personal year/month/period, calendar frame, life path and pinnacles. Default `"preserve"`. Fibonacci never preserves masters. */
|
|
129
|
+
masters?: MasterPolicy;
|
|
130
|
+
/** Personal-month boundary policy when the birth day is absent from a month. Default `"next-month-first"` (legacy). */
|
|
131
|
+
shortMonthPolicy?: ShortMonthPolicy;
|
|
132
|
+
limits?: ScheduleLimits;
|
|
133
|
+
lifeStages?: LifeStageOptions;
|
|
134
|
+
}
|
|
135
|
+
interface ScheduleInput extends ScheduleOptions {
|
|
136
|
+
birth: BirthInput;
|
|
137
|
+
}
|
|
138
|
+
interface ReducedNumber {
|
|
139
|
+
value: number;
|
|
140
|
+
reductionSteps: number[];
|
|
141
|
+
isMaster: boolean;
|
|
142
|
+
}
|
|
143
|
+
type UnavailableReason = "birth-date-unknown" | "birth-day-or-month-unknown" | "birth-year-unknown" | "birth-year-approximate" | "first-name-missing" | "first-name-has-no-vowels" | "before-birth" | "after-death" | "after-horizon" | "full-birth-date-required" | "beyond-supported-calendar";
|
|
144
|
+
interface Unavailable {
|
|
145
|
+
available: false;
|
|
146
|
+
reason: UnavailableReason;
|
|
147
|
+
detail: string;
|
|
148
|
+
}
|
|
149
|
+
declare function unavailable(reason: UnavailableReason, detail: string): Unavailable;
|
|
150
|
+
interface MethodDescriptor {
|
|
151
|
+
id: string;
|
|
152
|
+
formula: string;
|
|
153
|
+
}
|
|
154
|
+
interface NumerologyMethodMetadata {
|
|
155
|
+
methodVersion: string;
|
|
156
|
+
dateModel: string;
|
|
157
|
+
lifePathMethod: LifePathMethod;
|
|
158
|
+
lifePathMethodDescription: string;
|
|
159
|
+
masterPolicy: MasterPolicy;
|
|
160
|
+
masterNumbers: number[];
|
|
161
|
+
fibonacciReduction: string;
|
|
162
|
+
nameInput: {
|
|
163
|
+
kind: NameInputKind;
|
|
164
|
+
provided: boolean;
|
|
165
|
+
rule: string;
|
|
166
|
+
};
|
|
167
|
+
gematria: string;
|
|
168
|
+
shortMonthPolicy: ShortMonthPolicy;
|
|
169
|
+
limits: {
|
|
170
|
+
death: string | null;
|
|
171
|
+
horizonEndExclusive: string | null;
|
|
172
|
+
deathNote: string;
|
|
173
|
+
};
|
|
174
|
+
methods: Record<string, MethodDescriptor>;
|
|
175
|
+
notes: string[];
|
|
176
|
+
}
|
|
177
|
+
declare function fmt(date: CivilDate): string;
|
|
178
|
+
/** Parses a date input, throwing a typed error for malformed/impossible/out-of-range values. */
|
|
179
|
+
declare function resolveCivilDate(input: CivilDateInput, label?: string): CivilDate;
|
|
180
|
+
type NormalizedBirth = {
|
|
181
|
+
kind: "full";
|
|
182
|
+
date: CivilDate;
|
|
183
|
+
} | {
|
|
184
|
+
kind: "month-day";
|
|
185
|
+
month: number;
|
|
186
|
+
day: number;
|
|
187
|
+
} | {
|
|
188
|
+
kind: "year-month";
|
|
189
|
+
year: number;
|
|
190
|
+
month: number;
|
|
191
|
+
} | {
|
|
192
|
+
kind: "year";
|
|
193
|
+
year: number;
|
|
194
|
+
approximate: boolean;
|
|
195
|
+
} | {
|
|
196
|
+
kind: "unknown";
|
|
197
|
+
};
|
|
198
|
+
declare function normalizeBirth(input: BirthInput | undefined): NormalizedBirth;
|
|
199
|
+
|
|
200
|
+
export { isValidCivilDate as A, type BirthInput as B, type CivilDateInput as C, DEFAULT_MAX_TIMELINE_INTERVALS as D, civilDate as E, parseCivilDate as F, formatCivilDate as G, civilDayOrdinal as H, civilDateFromOrdinal as I, addCivilDays as J, diffCivilDays as K, type LifePathMethod as L, MAX_SCHEDULE_YEAR as M, type NumerologyErrorCode as N, compareCivilDates as O, type PartialBirthDate as P, civilDateFromLocalDate as Q, type ReducedNumber as R, SCHEDULE_METHOD_VERSION as S, civilDateToLocalNoon as T, type UnavailableReason as U, completedYears as V, anniversaryInYear as W, MAX_TIMELINE_RANGE_DAYS as a, MAX_TIMELINE_INTERVALS_HARD_CAP as b, MAX_CANDIDATE_DATES as c, NumerologyScheduleError as d, type ShortMonthPolicy as e, type MasterPolicy as f, type NameInputKind as g, type PinnacleTransitionRule as h, type LifePeriodRule as i, type LifeStageOptions as j, type ScheduleLimits as k, type ScheduleOptions as l, type ScheduleInput as m, type Unavailable as n, type MethodDescriptor as o, type NumerologyMethodMetadata as p, fmt as q, resolveCivilDate as r, type NormalizedBirth as s, normalizeBirth as t, unavailable as u, type CivilDate as v, MIN_CIVIL_YEAR as w, MAX_CIVIL_YEAR as x, isLeapYear as y, daysInMonth as z };
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Civil (proleptic Gregorian, timezone-free) date helpers.
|
|
3
|
+
*
|
|
4
|
+
* A CivilDate is a calendar day, not an instant. All arithmetic here is pure
|
|
5
|
+
* integer arithmetic on day ordinals, so it cannot drift across DST changes
|
|
6
|
+
* or depend on the host timezone. Legacy `Date` APIs are bridged with
|
|
7
|
+
* `civilDateFromLocalDate` / `civilDateToLocalNoon` (local-noon convention).
|
|
8
|
+
*/
|
|
9
|
+
interface CivilDate {
|
|
10
|
+
/** Full Gregorian year, 1–9999. */
|
|
11
|
+
year: number;
|
|
12
|
+
/** Month 1–12. */
|
|
13
|
+
month: number;
|
|
14
|
+
/** Day of month 1–31, valid for the month. */
|
|
15
|
+
day: number;
|
|
16
|
+
}
|
|
17
|
+
declare const MIN_CIVIL_YEAR = 1;
|
|
18
|
+
declare const MAX_CIVIL_YEAR = 9999;
|
|
19
|
+
declare function isLeapYear(year: number): boolean;
|
|
20
|
+
declare function daysInMonth(year: number, month: number): number;
|
|
21
|
+
declare function isValidCivilDate(value: unknown): value is CivilDate;
|
|
22
|
+
declare function civilDate(year: number, month: number, day: number): CivilDate;
|
|
23
|
+
/** Strict `YYYY-MM-DD` parser. Returns null for malformed or impossible dates. */
|
|
24
|
+
declare function parseCivilDate(text: string): CivilDate | null;
|
|
25
|
+
declare function formatCivilDate(date: CivilDate): string;
|
|
26
|
+
/**
|
|
27
|
+
* Days since 1970-01-01 in the proleptic Gregorian calendar (pure integer
|
|
28
|
+
* arithmetic; independent of timezone, DST and time of day).
|
|
29
|
+
*/
|
|
30
|
+
declare function civilDayOrdinal(date: CivilDate): number;
|
|
31
|
+
declare function civilDateFromOrdinal(ordinal: number): CivilDate;
|
|
32
|
+
declare function addCivilDays(date: CivilDate, days: number): CivilDate;
|
|
33
|
+
/** `b - a` in whole civil days. */
|
|
34
|
+
declare function diffCivilDays(a: CivilDate, b: CivilDate): number;
|
|
35
|
+
declare function compareCivilDates(a: CivilDate, b: CivilDate): number;
|
|
36
|
+
/** Reads the host-local calendar day of a legacy `Date`. */
|
|
37
|
+
declare function civilDateFromLocalDate(date: Date): CivilDate;
|
|
38
|
+
/**
|
|
39
|
+
* Local-noon `Date` for a civil day. Safe for years 0001–0099, which numeric
|
|
40
|
+
* `Date` constructors would otherwise reinterpret as 1900–1999.
|
|
41
|
+
*/
|
|
42
|
+
declare function civilDateToLocalNoon(date: CivilDate): Date;
|
|
43
|
+
/**
|
|
44
|
+
* Completed years between two civil days (birthday age). A 29 February
|
|
45
|
+
* birthday completes its year on 1 March in non-leap years.
|
|
46
|
+
*/
|
|
47
|
+
declare function completedYears(from: CivilDate, to: CivilDate): number;
|
|
48
|
+
/**
|
|
49
|
+
* Anniversary of `birth` in `year`. A 29 February birth resolves to 1 March
|
|
50
|
+
* in non-leap years (roll-forward), matching `completedYears`.
|
|
51
|
+
*/
|
|
52
|
+
declare function anniversaryInYear(birth: CivilDate, year: number): CivilDate;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Types, errors and input normalisation shared by the dated numerology
|
|
56
|
+
* schedule facade (`schedule.ts`, `partial-date.ts`, `life-stages.ts`).
|
|
57
|
+
*
|
|
58
|
+
* All dates are civil Gregorian days (`CivilDate` or "YYYY-MM-DD"); nothing in
|
|
59
|
+
* this facade reads the host timezone and intervals are half-open
|
|
60
|
+
* `[start, endExclusive)`.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
declare const SCHEDULE_METHOD_VERSION = "kaabalah-numerology-schedule/1";
|
|
64
|
+
/** Largest year accepted as input so that "next birthday" arithmetic stays within 1-9999. */
|
|
65
|
+
declare const MAX_SCHEDULE_YEAR: number;
|
|
66
|
+
/** Hard cap on the span of a timeline request, in days (about 100 years). */
|
|
67
|
+
declare const MAX_TIMELINE_RANGE_DAYS = 36525;
|
|
68
|
+
/** Hard cap on the number of intervals a timeline may contain. */
|
|
69
|
+
declare const MAX_TIMELINE_INTERVALS_HARD_CAP = 10000;
|
|
70
|
+
declare const DEFAULT_MAX_TIMELINE_INTERVALS = 2000;
|
|
71
|
+
/** Hard cap on candidate dates enumerated for partial birth dates (a whole year). */
|
|
72
|
+
declare const MAX_CANDIDATE_DATES = 366;
|
|
73
|
+
type NumerologyErrorCode = "INVALID_DATE" | "INVALID_ARGUMENT" | "INVALID_RANGE" | "RANGE_TOO_LARGE" | "TOO_MANY_INTERVALS" | "MISSING_BIRTH_DATE";
|
|
74
|
+
/** Typed `RangeError` raised by the schedule facade. `code` is stable and machine-readable. */
|
|
75
|
+
declare class NumerologyScheduleError extends RangeError {
|
|
76
|
+
readonly code: NumerologyErrorCode;
|
|
77
|
+
constructor(code: NumerologyErrorCode, message: string);
|
|
78
|
+
}
|
|
79
|
+
type CivilDateInput = CivilDate | string;
|
|
80
|
+
/** Discriminated birth-date knowledge. */
|
|
81
|
+
type PartialBirthDate = {
|
|
82
|
+
kind: "full";
|
|
83
|
+
date: CivilDateInput;
|
|
84
|
+
} | {
|
|
85
|
+
kind: "month-day";
|
|
86
|
+
month: number;
|
|
87
|
+
day: number;
|
|
88
|
+
} | {
|
|
89
|
+
kind: "year-month";
|
|
90
|
+
year: number;
|
|
91
|
+
month: number;
|
|
92
|
+
} | {
|
|
93
|
+
kind: "year";
|
|
94
|
+
year: number;
|
|
95
|
+
approximate?: boolean;
|
|
96
|
+
} | {
|
|
97
|
+
kind: "unknown";
|
|
98
|
+
};
|
|
99
|
+
/** A full date (`CivilDate` or "YYYY-MM-DD") or an explicit partial-date description. */
|
|
100
|
+
type BirthInput = CivilDateInput | PartialBirthDate;
|
|
101
|
+
type ShortMonthPolicy = "next-month-first" | "clamp" | "overflow";
|
|
102
|
+
type LifePathMethod = "kaabalistic" | "straight-across";
|
|
103
|
+
type MasterPolicy = "preserve" | "reduce";
|
|
104
|
+
type NameInputKind = "first-token" | "given-name" | "full-name";
|
|
105
|
+
type PinnacleTransitionRule = "36-minus-life-path" | "fixed-first-end-age";
|
|
106
|
+
type LifePeriodRule = "pinnacle-aligned-27" | "fixed-28-56";
|
|
107
|
+
interface LifeStageOptions {
|
|
108
|
+
/** Life path used for the age-transition rule. Default `"straight-across"` (the traditional pinnacle convention). */
|
|
109
|
+
lifePathMethod?: LifePathMethod;
|
|
110
|
+
/** Overrides the "36 minus single-digit life path" first-pinnacle end age (integer 1-60). */
|
|
111
|
+
firstPinnacleEndAge?: number;
|
|
112
|
+
/** Boundaries of the three life periods. Default `"pinnacle-aligned-27"`. */
|
|
113
|
+
lifePeriodRule?: LifePeriodRule;
|
|
114
|
+
}
|
|
115
|
+
interface ScheduleLimits {
|
|
116
|
+
/** Death date (inclusive last day of coverage). A missing death date is NOT evidence of survival and ends nothing. */
|
|
117
|
+
death?: CivilDateInput | null;
|
|
118
|
+
/** Exclusive end of coverage. */
|
|
119
|
+
horizonEndExclusive?: CivilDateInput | null;
|
|
120
|
+
}
|
|
121
|
+
interface ScheduleOptions {
|
|
122
|
+
/** Name used for the soul number (period 3). Missing/blank -> period 3 unavailable. */
|
|
123
|
+
firstName?: string | null;
|
|
124
|
+
/** How `firstName` is read. Default `"first-token"` (first whitespace-delimited token). */
|
|
125
|
+
nameKind?: NameInputKind;
|
|
126
|
+
/** Life path used for personal period 2. Default `"kaabalistic"`. */
|
|
127
|
+
lifePathMethod?: LifePathMethod;
|
|
128
|
+
/** Master-number policy for personal year/month/period, calendar frame, life path and pinnacles. Default `"preserve"`. Fibonacci never preserves masters. */
|
|
129
|
+
masters?: MasterPolicy;
|
|
130
|
+
/** Personal-month boundary policy when the birth day is absent from a month. Default `"next-month-first"` (legacy). */
|
|
131
|
+
shortMonthPolicy?: ShortMonthPolicy;
|
|
132
|
+
limits?: ScheduleLimits;
|
|
133
|
+
lifeStages?: LifeStageOptions;
|
|
134
|
+
}
|
|
135
|
+
interface ScheduleInput extends ScheduleOptions {
|
|
136
|
+
birth: BirthInput;
|
|
137
|
+
}
|
|
138
|
+
interface ReducedNumber {
|
|
139
|
+
value: number;
|
|
140
|
+
reductionSteps: number[];
|
|
141
|
+
isMaster: boolean;
|
|
142
|
+
}
|
|
143
|
+
type UnavailableReason = "birth-date-unknown" | "birth-day-or-month-unknown" | "birth-year-unknown" | "birth-year-approximate" | "first-name-missing" | "first-name-has-no-vowels" | "before-birth" | "after-death" | "after-horizon" | "full-birth-date-required" | "beyond-supported-calendar";
|
|
144
|
+
interface Unavailable {
|
|
145
|
+
available: false;
|
|
146
|
+
reason: UnavailableReason;
|
|
147
|
+
detail: string;
|
|
148
|
+
}
|
|
149
|
+
declare function unavailable(reason: UnavailableReason, detail: string): Unavailable;
|
|
150
|
+
interface MethodDescriptor {
|
|
151
|
+
id: string;
|
|
152
|
+
formula: string;
|
|
153
|
+
}
|
|
154
|
+
interface NumerologyMethodMetadata {
|
|
155
|
+
methodVersion: string;
|
|
156
|
+
dateModel: string;
|
|
157
|
+
lifePathMethod: LifePathMethod;
|
|
158
|
+
lifePathMethodDescription: string;
|
|
159
|
+
masterPolicy: MasterPolicy;
|
|
160
|
+
masterNumbers: number[];
|
|
161
|
+
fibonacciReduction: string;
|
|
162
|
+
nameInput: {
|
|
163
|
+
kind: NameInputKind;
|
|
164
|
+
provided: boolean;
|
|
165
|
+
rule: string;
|
|
166
|
+
};
|
|
167
|
+
gematria: string;
|
|
168
|
+
shortMonthPolicy: ShortMonthPolicy;
|
|
169
|
+
limits: {
|
|
170
|
+
death: string | null;
|
|
171
|
+
horizonEndExclusive: string | null;
|
|
172
|
+
deathNote: string;
|
|
173
|
+
};
|
|
174
|
+
methods: Record<string, MethodDescriptor>;
|
|
175
|
+
notes: string[];
|
|
176
|
+
}
|
|
177
|
+
declare function fmt(date: CivilDate): string;
|
|
178
|
+
/** Parses a date input, throwing a typed error for malformed/impossible/out-of-range values. */
|
|
179
|
+
declare function resolveCivilDate(input: CivilDateInput, label?: string): CivilDate;
|
|
180
|
+
type NormalizedBirth = {
|
|
181
|
+
kind: "full";
|
|
182
|
+
date: CivilDate;
|
|
183
|
+
} | {
|
|
184
|
+
kind: "month-day";
|
|
185
|
+
month: number;
|
|
186
|
+
day: number;
|
|
187
|
+
} | {
|
|
188
|
+
kind: "year-month";
|
|
189
|
+
year: number;
|
|
190
|
+
month: number;
|
|
191
|
+
} | {
|
|
192
|
+
kind: "year";
|
|
193
|
+
year: number;
|
|
194
|
+
approximate: boolean;
|
|
195
|
+
} | {
|
|
196
|
+
kind: "unknown";
|
|
197
|
+
};
|
|
198
|
+
declare function normalizeBirth(input: BirthInput | undefined): NormalizedBirth;
|
|
199
|
+
|
|
200
|
+
export { isValidCivilDate as A, type BirthInput as B, type CivilDateInput as C, DEFAULT_MAX_TIMELINE_INTERVALS as D, civilDate as E, parseCivilDate as F, formatCivilDate as G, civilDayOrdinal as H, civilDateFromOrdinal as I, addCivilDays as J, diffCivilDays as K, type LifePathMethod as L, MAX_SCHEDULE_YEAR as M, type NumerologyErrorCode as N, compareCivilDates as O, type PartialBirthDate as P, civilDateFromLocalDate as Q, type ReducedNumber as R, SCHEDULE_METHOD_VERSION as S, civilDateToLocalNoon as T, type UnavailableReason as U, completedYears as V, anniversaryInYear as W, MAX_TIMELINE_RANGE_DAYS as a, MAX_TIMELINE_INTERVALS_HARD_CAP as b, MAX_CANDIDATE_DATES as c, NumerologyScheduleError as d, type ShortMonthPolicy as e, type MasterPolicy as f, type NameInputKind as g, type PinnacleTransitionRule as h, type LifePeriodRule as i, type LifeStageOptions as j, type ScheduleLimits as k, type ScheduleOptions as l, type ScheduleInput as m, type Unavailable as n, type MethodDescriptor as o, type NumerologyMethodMetadata as p, fmt as q, resolveCivilDate as r, type NormalizedBirth as s, normalizeBirth as t, unavailable as u, type CivilDate as v, MIN_CIVIL_YEAR as w, MAX_CIVIL_YEAR as x, isLeapYear as y, daysInMonth as z };
|