kaabalah 6.12.0 → 6.13.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 +18 -2
- package/dist/chunk-5PZ7EB2E.js +3659 -0
- package/dist/chunk-5PZ7EB2E.js.map +1 -0
- package/dist/{chunk-LUHQNKKJ.js → chunk-6GDEXIDI.js} +13 -1
- package/dist/chunk-6GDEXIDI.js.map +1 -0
- package/dist/{chunk-M2FTEWY2.js → chunk-GET23WEG.js} +86 -1
- package/dist/chunk-GET23WEG.js.map +1 -0
- package/dist/{chunk-SLB2NLWI.mjs → chunk-LXJ3THNW.mjs} +12 -2
- package/dist/chunk-LXJ3THNW.mjs.map +1 -0
- package/dist/{chunk-FCAIGKB5.js → chunk-MWHMP3LI.js} +5 -5
- package/dist/{chunk-7LIIEUJB.mjs → chunk-V5KXYFHZ.mjs} +2 -2
- package/dist/{chunk-Y3TLBFPD.mjs → chunk-WER5UY5M.mjs} +85 -2
- package/dist/chunk-WER5UY5M.mjs.map +1 -0
- package/dist/chunk-ZE2KPCHT.mjs +3625 -0
- package/dist/chunk-ZE2KPCHT.mjs.map +1 -0
- package/dist/cli.js +4212 -206
- package/dist/cli.js.map +1 -1
- package/dist/{correspondence-model-JSyDWwmn.d.mts → constants-C0XjrYIG.d.mts} +1 -297
- package/dist/{correspondence-model-JSyDWwmn.d.ts → constants-C0XjrYIG.d.ts} +1 -297
- package/dist/core/index.d.mts +5 -3
- package/dist/core/index.d.ts +5 -3
- package/dist/correspondence-model-5JQwAX16.d.ts +299 -0
- package/dist/correspondence-model-QJK8AilM.d.mts +299 -0
- package/dist/{data-CdjlIcAo.d.mts → data-2Hp_b3BD.d.mts} +1 -1
- package/dist/{data-_b06lgY6.d.ts → data-BXhkIF1M.d.ts} +1 -1
- package/dist/gematria/index.d.mts +2 -1
- package/dist/gematria/index.d.ts +2 -1
- package/dist/iching/index.d.mts +912 -0
- package/dist/iching/index.d.ts +912 -0
- package/dist/iching/index.js +143 -0
- package/dist/iching/index.js.map +1 -0
- package/dist/iching/index.mjs +6 -0
- package/dist/iching/index.mjs.map +1 -0
- package/dist/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +292 -143
- package/dist/index.mjs +4 -3
- package/dist/semantic/index.d.mts +3 -2
- package/dist/semantic/index.d.ts +3 -2
- package/dist/semantic/index.js +21 -21
- package/dist/semantic/index.mjs +2 -2
- package/dist/swisseph.node.js +0 -0
- package/dist/swisseph.web.js +0 -0
- package/dist/tarot/index.d.mts +34 -4
- package/dist/tarot/index.d.ts +34 -4
- package/dist/tarot/index.js +29 -21
- package/dist/tarot/index.mjs +1 -1
- package/dist/{topology-CH3hsIqO.d.mts → topology-C8PdKGeK.d.ts} +2 -1
- package/dist/{topology-DXYTpDvj.d.ts → topology-sytcjXkx.d.mts} +2 -1
- package/dist/visual/index.d.mts +6 -3
- package/dist/visual/index.d.ts +6 -3
- package/dist/visual/index.js +50 -42
- package/dist/visual/index.mjs +1 -1
- package/dist/wasm/build/swisseph.node.js +0 -0
- package/dist/wasm/build/swisseph.web.js +0 -0
- package/ephe/seas_18.se1 +0 -0
- package/ephe/semo_18.se1 +0 -0
- package/ephe/sepl_18.se1 +0 -0
- package/package.json +6 -1
- package/wasm/build/swisseph.node.js +0 -0
- package/wasm/build/swisseph.web.js +0 -0
- package/dist/chunk-LUHQNKKJ.js.map +0 -1
- package/dist/chunk-M2FTEWY2.js.map +0 -1
- package/dist/chunk-SLB2NLWI.mjs.map +0 -1
- package/dist/chunk-Y3TLBFPD.mjs.map +0 -1
- /package/dist/{chunk-7LIIEUJB.mjs.map → chunk-MWHMP3LI.js.map} +0 -0
- /package/dist/{chunk-FCAIGKB5.js.map → chunk-V5KXYFHZ.mjs.map} +0 -0
|
@@ -0,0 +1,912 @@
|
|
|
1
|
+
import { E as NodeId, x as LetterTypes, K as KaabalahTypes, z as TarotTypes } from '../constants-C0XjrYIG.mjs';
|
|
2
|
+
|
|
3
|
+
/** All line arrays and binary strings run from bottom (line 1) to top (line 6). */
|
|
4
|
+
type LineValue = 6 | 7 | 8 | 9;
|
|
5
|
+
type LinePosition = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
|
+
type CastLines = readonly [
|
|
7
|
+
LineValue,
|
|
8
|
+
LineValue,
|
|
9
|
+
LineValue,
|
|
10
|
+
LineValue,
|
|
11
|
+
LineValue,
|
|
12
|
+
LineValue
|
|
13
|
+
];
|
|
14
|
+
type Phase = "wood" | "fire" | "earth" | "metal" | "water";
|
|
15
|
+
type TrigramId = "qian" | "kun" | "zhen" | "xun" | "kan" | "li" | "gen" | "dui";
|
|
16
|
+
interface Trigram {
|
|
17
|
+
readonly id: TrigramId;
|
|
18
|
+
readonly hanzi: string;
|
|
19
|
+
readonly pinyin: string;
|
|
20
|
+
readonly wadeGiles: string;
|
|
21
|
+
readonly symbol: string;
|
|
22
|
+
readonly image: string;
|
|
23
|
+
readonly binary: string;
|
|
24
|
+
readonly lines: readonly [0 | 1, 0 | 1, 0 | 1];
|
|
25
|
+
readonly family: string;
|
|
26
|
+
readonly direction: string;
|
|
27
|
+
readonly phase: Phase;
|
|
28
|
+
readonly phaseHanzi: string;
|
|
29
|
+
}
|
|
30
|
+
interface ClassicalText {
|
|
31
|
+
readonly chinese: string;
|
|
32
|
+
readonly english: string;
|
|
33
|
+
}
|
|
34
|
+
interface HexagramText {
|
|
35
|
+
readonly judgment: ClassicalText;
|
|
36
|
+
readonly image: ClassicalText;
|
|
37
|
+
readonly lines: readonly ClassicalText[];
|
|
38
|
+
readonly useNine?: ClassicalText;
|
|
39
|
+
readonly useSix?: ClassicalText;
|
|
40
|
+
}
|
|
41
|
+
interface Hexagram {
|
|
42
|
+
readonly number: number;
|
|
43
|
+
readonly hanzi: string;
|
|
44
|
+
readonly pinyin: string;
|
|
45
|
+
readonly wadeGiles: string;
|
|
46
|
+
readonly pinyinVariants?: readonly string[];
|
|
47
|
+
readonly english: string;
|
|
48
|
+
readonly symbol: string;
|
|
49
|
+
readonly binary: string;
|
|
50
|
+
readonly lower: Trigram;
|
|
51
|
+
readonly upper: Trigram;
|
|
52
|
+
readonly text: HexagramText;
|
|
53
|
+
}
|
|
54
|
+
type CastInput = string | CastLines | {
|
|
55
|
+
readonly hexagramNumber: number;
|
|
56
|
+
readonly movingLines?: readonly LinePosition[];
|
|
57
|
+
};
|
|
58
|
+
type Relative = "兄弟" | "父母" | "子孫" | "妻財" | "官鬼";
|
|
59
|
+
type Generation = "本宮" | "一世" | "二世" | "三世" | "四世" | "五世" | "游魂" | "歸魂";
|
|
60
|
+
interface Palace {
|
|
61
|
+
readonly trigram: Trigram;
|
|
62
|
+
readonly hanzi: string;
|
|
63
|
+
readonly phase: Phase;
|
|
64
|
+
readonly phaseHanzi: string;
|
|
65
|
+
readonly generation: Generation;
|
|
66
|
+
readonly generationIndex: number;
|
|
67
|
+
readonly shi: LinePosition;
|
|
68
|
+
readonly ying: LinePosition;
|
|
69
|
+
}
|
|
70
|
+
interface HanLine {
|
|
71
|
+
readonly position: LinePosition;
|
|
72
|
+
readonly stem: string;
|
|
73
|
+
readonly branch: string;
|
|
74
|
+
readonly najia: string;
|
|
75
|
+
readonly phase: Phase;
|
|
76
|
+
readonly phaseHanzi: string;
|
|
77
|
+
readonly relative: Relative;
|
|
78
|
+
readonly isShi: boolean;
|
|
79
|
+
readonly isYing: boolean;
|
|
80
|
+
}
|
|
81
|
+
type PhaseRelation = "same" | "generates" | "generatedBy" | "controls" | "controlledBy";
|
|
82
|
+
interface HanHexagram {
|
|
83
|
+
readonly palace: Palace;
|
|
84
|
+
readonly lines: readonly HanLine[];
|
|
85
|
+
readonly shiYing: {
|
|
86
|
+
readonly branch: "沖" | "合" | null;
|
|
87
|
+
/** Direction is always 世 relative to 應. */
|
|
88
|
+
readonly phase: PhaseRelation;
|
|
89
|
+
readonly label: "比和" | "世生應" | "應生世" | "世剋應" | "應剋世";
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
interface LineTransform {
|
|
93
|
+
readonly position: LinePosition;
|
|
94
|
+
readonly before: HanLine;
|
|
95
|
+
/** Destination line in its OWN palace, matching the September record. */
|
|
96
|
+
readonly after: HanLine;
|
|
97
|
+
/** Same destination line measured in the CAST palace, matching the November transformation frame. */
|
|
98
|
+
readonly afterInCastPalace: HanLine;
|
|
99
|
+
readonly returnRelation: "回頭生" | "回頭剋" | null;
|
|
100
|
+
readonly advanceRetreat: "進神" | "退神" | null;
|
|
101
|
+
}
|
|
102
|
+
interface TextSelection {
|
|
103
|
+
readonly hexagramNumber: number;
|
|
104
|
+
readonly hanzi: string;
|
|
105
|
+
readonly kind: "judgment" | "line" | "useNine" | "useSix";
|
|
106
|
+
readonly line: LinePosition | null;
|
|
107
|
+
readonly primary: boolean;
|
|
108
|
+
readonly text: ClassicalText;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare const HEXAGRAMS: readonly Hexagram[];
|
|
112
|
+
/** King Wen number is the stable identity; romanizations are display metadata only. */
|
|
113
|
+
declare const HEXAGRAMS_BY_NUMBER: Readonly<Record<number, Hexagram>>;
|
|
114
|
+
|
|
115
|
+
declare const PHASE_HANZI: Readonly<Record<Phase, string>>;
|
|
116
|
+
declare const TRIGRAMS: readonly Trigram[];
|
|
117
|
+
declare const PALACE_TABLE: Readonly<Record<TrigramId, readonly number[]>>;
|
|
118
|
+
|
|
119
|
+
declare function getTrigram(idOrBinary: TrigramId | string): Trigram;
|
|
120
|
+
declare function getHexagram(number: number): Hexagram;
|
|
121
|
+
declare function getHexagramByBinary(binary: string): Hexagram;
|
|
122
|
+
declare function getHexagramByTrigrams(lower: TrigramId, upper: TrigramId): Hexagram;
|
|
123
|
+
declare function linesFromHexagram(number: number, movingLines?: readonly LinePosition[]): CastLines;
|
|
124
|
+
declare function parseCastLines(input: CastInput): CastLines;
|
|
125
|
+
declare function getMovingLines(input: CastInput): readonly LinePosition[];
|
|
126
|
+
declare function getCastHexagram(input: CastInput): Hexagram;
|
|
127
|
+
declare function getTransformedHexagram(input: CastInput): Hexagram | null;
|
|
128
|
+
declare function getNuclearHexagram(number: number): {
|
|
129
|
+
hexagram: Hexagram;
|
|
130
|
+
selfNucleating: boolean;
|
|
131
|
+
palace: Palace;
|
|
132
|
+
};
|
|
133
|
+
declare function getPalace(number: number): Palace;
|
|
134
|
+
/** Relation of the first phase to the second; phases remain independent of western elements. */
|
|
135
|
+
declare function getPhaseRelation(first: Phase, second: Phase): PhaseRelation;
|
|
136
|
+
declare function getSixRelative(linePhase: Phase, palacePhase: Phase): Relative;
|
|
137
|
+
declare function getBranchRelation(first: string, second: string): "沖" | "合" | null;
|
|
138
|
+
declare function getHanHexagram(number: number): HanHexagram;
|
|
139
|
+
declare function getLineTransforms(input: CastInput): readonly LineTransform[];
|
|
140
|
+
declare function selectZhuXiTexts(input: CastInput): readonly TextSelection[];
|
|
141
|
+
/** Three independent fair coins per line: tails=2, heads=3. Exactly 18 RNG calls. */
|
|
142
|
+
declare function castThreeCoins(rng?: () => number): CastLines;
|
|
143
|
+
|
|
144
|
+
/** Only the fixed trigram-to-letter mapping is stored here; all addresses come from the tree. */
|
|
145
|
+
declare function getTrigramGate(trigramId: TrigramId): {
|
|
146
|
+
trigram: Trigram;
|
|
147
|
+
letter: {
|
|
148
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
149
|
+
name: string;
|
|
150
|
+
character: string | undefined;
|
|
151
|
+
value: number | undefined;
|
|
152
|
+
};
|
|
153
|
+
path: {
|
|
154
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
155
|
+
number: number;
|
|
156
|
+
from: {
|
|
157
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
158
|
+
name: string;
|
|
159
|
+
};
|
|
160
|
+
to: {
|
|
161
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
162
|
+
name: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
arcanum: {
|
|
166
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
167
|
+
number: number;
|
|
168
|
+
name: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
declare function getFamilySphere(trigramId: TrigramId): {
|
|
172
|
+
trigram: Trigram;
|
|
173
|
+
family: string;
|
|
174
|
+
sphere: {
|
|
175
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
176
|
+
name: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
declare function getTrigramPillars(trigramId: TrigramId): {
|
|
180
|
+
left: boolean;
|
|
181
|
+
middle: boolean;
|
|
182
|
+
right: boolean;
|
|
183
|
+
};
|
|
184
|
+
declare const LINE_POSITIONS: readonly Readonly<{
|
|
185
|
+
position: number;
|
|
186
|
+
tree: string;
|
|
187
|
+
pillar: string;
|
|
188
|
+
domain: string;
|
|
189
|
+
}>[];
|
|
190
|
+
declare function getHexagramKaabalah(number: number): {
|
|
191
|
+
gate: {
|
|
192
|
+
upper: {
|
|
193
|
+
trigram: Trigram;
|
|
194
|
+
letter: {
|
|
195
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
196
|
+
name: string;
|
|
197
|
+
character: string | undefined;
|
|
198
|
+
value: number | undefined;
|
|
199
|
+
};
|
|
200
|
+
path: {
|
|
201
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
202
|
+
number: number;
|
|
203
|
+
from: {
|
|
204
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
205
|
+
name: string;
|
|
206
|
+
};
|
|
207
|
+
to: {
|
|
208
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
209
|
+
name: string;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
arcanum: {
|
|
213
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
214
|
+
number: number;
|
|
215
|
+
name: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
lower: {
|
|
219
|
+
trigram: Trigram;
|
|
220
|
+
letter: {
|
|
221
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
222
|
+
name: string;
|
|
223
|
+
character: string | undefined;
|
|
224
|
+
value: number | undefined;
|
|
225
|
+
};
|
|
226
|
+
path: {
|
|
227
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
228
|
+
number: number;
|
|
229
|
+
from: {
|
|
230
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
231
|
+
name: string;
|
|
232
|
+
};
|
|
233
|
+
to: {
|
|
234
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
235
|
+
name: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
arcanum: {
|
|
239
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
240
|
+
number: number;
|
|
241
|
+
name: string;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
order: "upper-lower";
|
|
245
|
+
};
|
|
246
|
+
rulingArcanum: {
|
|
247
|
+
trigram: Trigram;
|
|
248
|
+
letter: {
|
|
249
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
250
|
+
name: string;
|
|
251
|
+
character: string | undefined;
|
|
252
|
+
value: number | undefined;
|
|
253
|
+
};
|
|
254
|
+
path: {
|
|
255
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
256
|
+
number: number;
|
|
257
|
+
from: {
|
|
258
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
259
|
+
name: string;
|
|
260
|
+
};
|
|
261
|
+
to: {
|
|
262
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
263
|
+
name: string;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
arcanum: {
|
|
267
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
268
|
+
number: number;
|
|
269
|
+
name: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
family: {
|
|
273
|
+
upper: {
|
|
274
|
+
trigram: Trigram;
|
|
275
|
+
family: string;
|
|
276
|
+
sphere: {
|
|
277
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
278
|
+
name: string;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
lower: {
|
|
282
|
+
trigram: Trigram;
|
|
283
|
+
family: string;
|
|
284
|
+
sphere: {
|
|
285
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
286
|
+
name: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
pillars: {
|
|
291
|
+
upper: {
|
|
292
|
+
left: boolean;
|
|
293
|
+
middle: boolean;
|
|
294
|
+
right: boolean;
|
|
295
|
+
};
|
|
296
|
+
lower: {
|
|
297
|
+
left: boolean;
|
|
298
|
+
middle: boolean;
|
|
299
|
+
right: boolean;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
declare function listHexagramGates(): {
|
|
304
|
+
hexagram: Hexagram;
|
|
305
|
+
gate: {
|
|
306
|
+
upper: {
|
|
307
|
+
trigram: Trigram;
|
|
308
|
+
letter: {
|
|
309
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
310
|
+
name: string;
|
|
311
|
+
character: string | undefined;
|
|
312
|
+
value: number | undefined;
|
|
313
|
+
};
|
|
314
|
+
path: {
|
|
315
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
316
|
+
number: number;
|
|
317
|
+
from: {
|
|
318
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
319
|
+
name: string;
|
|
320
|
+
};
|
|
321
|
+
to: {
|
|
322
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
323
|
+
name: string;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
arcanum: {
|
|
327
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
328
|
+
number: number;
|
|
329
|
+
name: string;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
lower: {
|
|
333
|
+
trigram: Trigram;
|
|
334
|
+
letter: {
|
|
335
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
336
|
+
name: string;
|
|
337
|
+
character: string | undefined;
|
|
338
|
+
value: number | undefined;
|
|
339
|
+
};
|
|
340
|
+
path: {
|
|
341
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
342
|
+
number: number;
|
|
343
|
+
from: {
|
|
344
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
345
|
+
name: string;
|
|
346
|
+
};
|
|
347
|
+
to: {
|
|
348
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
349
|
+
name: string;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
arcanum: {
|
|
353
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
354
|
+
number: number;
|
|
355
|
+
name: string;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
order: "upper-lower";
|
|
359
|
+
};
|
|
360
|
+
}[];
|
|
361
|
+
|
|
362
|
+
declare const SOVEREIGN_HEXAGRAMS: readonly Readonly<{
|
|
363
|
+
hexagramNumber: 1 | 2 | 11 | 12 | 19 | 20 | 24 | 44 | 43 | 33 | 34 | 23;
|
|
364
|
+
lunarMonth: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
365
|
+
branch: "子" | "丑" | "寅" | "卯" | "辰" | "巳" | "午" | "未" | "申" | "酉" | "戌" | "亥";
|
|
366
|
+
approximateSolarWindow: Readonly<{
|
|
367
|
+
start: Readonly<{
|
|
368
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
369
|
+
day: 4 | 5 | 6 | 7 | 8;
|
|
370
|
+
}>;
|
|
371
|
+
end: Readonly<{
|
|
372
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
373
|
+
day: 3 | 4 | 5 | 6 | 7;
|
|
374
|
+
}>;
|
|
375
|
+
}>;
|
|
376
|
+
}>[];
|
|
377
|
+
declare function getSovereignHexagram(number: number): Readonly<{
|
|
378
|
+
hexagramNumber: 1 | 2 | 11 | 12 | 19 | 20 | 24 | 44 | 43 | 33 | 34 | 23;
|
|
379
|
+
lunarMonth: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
380
|
+
branch: "子" | "丑" | "寅" | "卯" | "辰" | "巳" | "午" | "未" | "申" | "酉" | "戌" | "亥";
|
|
381
|
+
approximateSolarWindow: Readonly<{
|
|
382
|
+
start: Readonly<{
|
|
383
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
384
|
+
day: 4 | 5 | 6 | 7 | 8;
|
|
385
|
+
}>;
|
|
386
|
+
end: Readonly<{
|
|
387
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
388
|
+
day: 3 | 4 | 5 | 6 | 7;
|
|
389
|
+
}>;
|
|
390
|
+
}>;
|
|
391
|
+
}> | null;
|
|
392
|
+
|
|
393
|
+
/** Derive the complete record from the six stored lines; no date, network, or interpretation. */
|
|
394
|
+
declare function getIChingReading(input: CastInput): IChingReading;
|
|
395
|
+
declare function getIChingReading(hexagramNumber: number, movingLines?: readonly LinePosition[]): IChingReading;
|
|
396
|
+
declare function deriveReading(input: CastInput): {
|
|
397
|
+
lines: CastLines;
|
|
398
|
+
lineCode: string;
|
|
399
|
+
movingLines: readonly LinePosition[];
|
|
400
|
+
cast: {
|
|
401
|
+
hexagram: Hexagram;
|
|
402
|
+
han: HanHexagram;
|
|
403
|
+
nuclear: {
|
|
404
|
+
han: HanHexagram;
|
|
405
|
+
kaabalah: {
|
|
406
|
+
gate: {
|
|
407
|
+
upper: {
|
|
408
|
+
trigram: Trigram;
|
|
409
|
+
letter: {
|
|
410
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
411
|
+
name: string;
|
|
412
|
+
character: string | undefined;
|
|
413
|
+
value: number | undefined;
|
|
414
|
+
};
|
|
415
|
+
path: {
|
|
416
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
417
|
+
number: number;
|
|
418
|
+
from: {
|
|
419
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
420
|
+
name: string;
|
|
421
|
+
};
|
|
422
|
+
to: {
|
|
423
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
424
|
+
name: string;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
arcanum: {
|
|
428
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
429
|
+
number: number;
|
|
430
|
+
name: string;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
lower: {
|
|
434
|
+
trigram: Trigram;
|
|
435
|
+
letter: {
|
|
436
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
437
|
+
name: string;
|
|
438
|
+
character: string | undefined;
|
|
439
|
+
value: number | undefined;
|
|
440
|
+
};
|
|
441
|
+
path: {
|
|
442
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
443
|
+
number: number;
|
|
444
|
+
from: {
|
|
445
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
446
|
+
name: string;
|
|
447
|
+
};
|
|
448
|
+
to: {
|
|
449
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
450
|
+
name: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
arcanum: {
|
|
454
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
455
|
+
number: number;
|
|
456
|
+
name: string;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
order: "upper-lower";
|
|
460
|
+
};
|
|
461
|
+
rulingArcanum: {
|
|
462
|
+
trigram: Trigram;
|
|
463
|
+
letter: {
|
|
464
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
465
|
+
name: string;
|
|
466
|
+
character: string | undefined;
|
|
467
|
+
value: number | undefined;
|
|
468
|
+
};
|
|
469
|
+
path: {
|
|
470
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
471
|
+
number: number;
|
|
472
|
+
from: {
|
|
473
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
474
|
+
name: string;
|
|
475
|
+
};
|
|
476
|
+
to: {
|
|
477
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
478
|
+
name: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
arcanum: {
|
|
482
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
483
|
+
number: number;
|
|
484
|
+
name: string;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
family: {
|
|
488
|
+
upper: {
|
|
489
|
+
trigram: Trigram;
|
|
490
|
+
family: string;
|
|
491
|
+
sphere: {
|
|
492
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
493
|
+
name: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
lower: {
|
|
497
|
+
trigram: Trigram;
|
|
498
|
+
family: string;
|
|
499
|
+
sphere: {
|
|
500
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
501
|
+
name: string;
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
pillars: {
|
|
506
|
+
upper: {
|
|
507
|
+
left: boolean;
|
|
508
|
+
middle: boolean;
|
|
509
|
+
right: boolean;
|
|
510
|
+
};
|
|
511
|
+
lower: {
|
|
512
|
+
left: boolean;
|
|
513
|
+
middle: boolean;
|
|
514
|
+
right: boolean;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
hexagram: Hexagram;
|
|
519
|
+
selfNucleating: boolean;
|
|
520
|
+
palace: Palace;
|
|
521
|
+
};
|
|
522
|
+
kaabalah: {
|
|
523
|
+
gate: {
|
|
524
|
+
upper: {
|
|
525
|
+
trigram: Trigram;
|
|
526
|
+
letter: {
|
|
527
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
528
|
+
name: string;
|
|
529
|
+
character: string | undefined;
|
|
530
|
+
value: number | undefined;
|
|
531
|
+
};
|
|
532
|
+
path: {
|
|
533
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
534
|
+
number: number;
|
|
535
|
+
from: {
|
|
536
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
537
|
+
name: string;
|
|
538
|
+
};
|
|
539
|
+
to: {
|
|
540
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
541
|
+
name: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
arcanum: {
|
|
545
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
546
|
+
number: number;
|
|
547
|
+
name: string;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
lower: {
|
|
551
|
+
trigram: Trigram;
|
|
552
|
+
letter: {
|
|
553
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
554
|
+
name: string;
|
|
555
|
+
character: string | undefined;
|
|
556
|
+
value: number | undefined;
|
|
557
|
+
};
|
|
558
|
+
path: {
|
|
559
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
560
|
+
number: number;
|
|
561
|
+
from: {
|
|
562
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
563
|
+
name: string;
|
|
564
|
+
};
|
|
565
|
+
to: {
|
|
566
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
567
|
+
name: string;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
arcanum: {
|
|
571
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
572
|
+
number: number;
|
|
573
|
+
name: string;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
order: "upper-lower";
|
|
577
|
+
};
|
|
578
|
+
rulingArcanum: {
|
|
579
|
+
trigram: Trigram;
|
|
580
|
+
letter: {
|
|
581
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
582
|
+
name: string;
|
|
583
|
+
character: string | undefined;
|
|
584
|
+
value: number | undefined;
|
|
585
|
+
};
|
|
586
|
+
path: {
|
|
587
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
588
|
+
number: number;
|
|
589
|
+
from: {
|
|
590
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
591
|
+
name: string;
|
|
592
|
+
};
|
|
593
|
+
to: {
|
|
594
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
595
|
+
name: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
arcanum: {
|
|
599
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
600
|
+
number: number;
|
|
601
|
+
name: string;
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
family: {
|
|
605
|
+
upper: {
|
|
606
|
+
trigram: Trigram;
|
|
607
|
+
family: string;
|
|
608
|
+
sphere: {
|
|
609
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
610
|
+
name: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
lower: {
|
|
614
|
+
trigram: Trigram;
|
|
615
|
+
family: string;
|
|
616
|
+
sphere: {
|
|
617
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
618
|
+
name: string;
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
pillars: {
|
|
623
|
+
upper: {
|
|
624
|
+
left: boolean;
|
|
625
|
+
middle: boolean;
|
|
626
|
+
right: boolean;
|
|
627
|
+
};
|
|
628
|
+
lower: {
|
|
629
|
+
left: boolean;
|
|
630
|
+
middle: boolean;
|
|
631
|
+
right: boolean;
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
sovereign: Readonly<{
|
|
636
|
+
hexagramNumber: 1 | 2 | 11 | 12 | 19 | 20 | 24 | 44 | 43 | 33 | 34 | 23;
|
|
637
|
+
lunarMonth: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
638
|
+
branch: "子" | "丑" | "寅" | "卯" | "辰" | "巳" | "午" | "未" | "申" | "酉" | "戌" | "亥";
|
|
639
|
+
approximateSolarWindow: Readonly<{
|
|
640
|
+
start: Readonly<{
|
|
641
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
642
|
+
day: 4 | 5 | 6 | 7 | 8;
|
|
643
|
+
}>;
|
|
644
|
+
end: Readonly<{
|
|
645
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
646
|
+
day: 3 | 4 | 5 | 6 | 7;
|
|
647
|
+
}>;
|
|
648
|
+
}>;
|
|
649
|
+
}> | null;
|
|
650
|
+
};
|
|
651
|
+
transformed: {
|
|
652
|
+
hexagram: Hexagram;
|
|
653
|
+
han: HanHexagram;
|
|
654
|
+
nuclear: {
|
|
655
|
+
han: HanHexagram;
|
|
656
|
+
kaabalah: {
|
|
657
|
+
gate: {
|
|
658
|
+
upper: {
|
|
659
|
+
trigram: Trigram;
|
|
660
|
+
letter: {
|
|
661
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
662
|
+
name: string;
|
|
663
|
+
character: string | undefined;
|
|
664
|
+
value: number | undefined;
|
|
665
|
+
};
|
|
666
|
+
path: {
|
|
667
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
668
|
+
number: number;
|
|
669
|
+
from: {
|
|
670
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
671
|
+
name: string;
|
|
672
|
+
};
|
|
673
|
+
to: {
|
|
674
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
675
|
+
name: string;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
arcanum: {
|
|
679
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
680
|
+
number: number;
|
|
681
|
+
name: string;
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
lower: {
|
|
685
|
+
trigram: Trigram;
|
|
686
|
+
letter: {
|
|
687
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
688
|
+
name: string;
|
|
689
|
+
character: string | undefined;
|
|
690
|
+
value: number | undefined;
|
|
691
|
+
};
|
|
692
|
+
path: {
|
|
693
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
694
|
+
number: number;
|
|
695
|
+
from: {
|
|
696
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
697
|
+
name: string;
|
|
698
|
+
};
|
|
699
|
+
to: {
|
|
700
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
701
|
+
name: string;
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
arcanum: {
|
|
705
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
706
|
+
number: number;
|
|
707
|
+
name: string;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
order: "upper-lower";
|
|
711
|
+
};
|
|
712
|
+
rulingArcanum: {
|
|
713
|
+
trigram: Trigram;
|
|
714
|
+
letter: {
|
|
715
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
716
|
+
name: string;
|
|
717
|
+
character: string | undefined;
|
|
718
|
+
value: number | undefined;
|
|
719
|
+
};
|
|
720
|
+
path: {
|
|
721
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
722
|
+
number: number;
|
|
723
|
+
from: {
|
|
724
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
725
|
+
name: string;
|
|
726
|
+
};
|
|
727
|
+
to: {
|
|
728
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
729
|
+
name: string;
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
arcanum: {
|
|
733
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
734
|
+
number: number;
|
|
735
|
+
name: string;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
family: {
|
|
739
|
+
upper: {
|
|
740
|
+
trigram: Trigram;
|
|
741
|
+
family: string;
|
|
742
|
+
sphere: {
|
|
743
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
744
|
+
name: string;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
lower: {
|
|
748
|
+
trigram: Trigram;
|
|
749
|
+
family: string;
|
|
750
|
+
sphere: {
|
|
751
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
752
|
+
name: string;
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
pillars: {
|
|
757
|
+
upper: {
|
|
758
|
+
left: boolean;
|
|
759
|
+
middle: boolean;
|
|
760
|
+
right: boolean;
|
|
761
|
+
};
|
|
762
|
+
lower: {
|
|
763
|
+
left: boolean;
|
|
764
|
+
middle: boolean;
|
|
765
|
+
right: boolean;
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
hexagram: Hexagram;
|
|
770
|
+
selfNucleating: boolean;
|
|
771
|
+
palace: Palace;
|
|
772
|
+
};
|
|
773
|
+
kaabalah: {
|
|
774
|
+
gate: {
|
|
775
|
+
upper: {
|
|
776
|
+
trigram: Trigram;
|
|
777
|
+
letter: {
|
|
778
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
779
|
+
name: string;
|
|
780
|
+
character: string | undefined;
|
|
781
|
+
value: number | undefined;
|
|
782
|
+
};
|
|
783
|
+
path: {
|
|
784
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
785
|
+
number: number;
|
|
786
|
+
from: {
|
|
787
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
788
|
+
name: string;
|
|
789
|
+
};
|
|
790
|
+
to: {
|
|
791
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
792
|
+
name: string;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
arcanum: {
|
|
796
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
797
|
+
number: number;
|
|
798
|
+
name: string;
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
lower: {
|
|
802
|
+
trigram: Trigram;
|
|
803
|
+
letter: {
|
|
804
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
805
|
+
name: string;
|
|
806
|
+
character: string | undefined;
|
|
807
|
+
value: number | undefined;
|
|
808
|
+
};
|
|
809
|
+
path: {
|
|
810
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
811
|
+
number: number;
|
|
812
|
+
from: {
|
|
813
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
814
|
+
name: string;
|
|
815
|
+
};
|
|
816
|
+
to: {
|
|
817
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
818
|
+
name: string;
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
arcanum: {
|
|
822
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
823
|
+
number: number;
|
|
824
|
+
name: string;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
order: "upper-lower";
|
|
828
|
+
};
|
|
829
|
+
rulingArcanum: {
|
|
830
|
+
trigram: Trigram;
|
|
831
|
+
letter: {
|
|
832
|
+
id: NodeId<LetterTypes.HEBREW_LETTER>;
|
|
833
|
+
name: string;
|
|
834
|
+
character: string | undefined;
|
|
835
|
+
value: number | undefined;
|
|
836
|
+
};
|
|
837
|
+
path: {
|
|
838
|
+
id: NodeId<KaabalahTypes.PATH>;
|
|
839
|
+
number: number;
|
|
840
|
+
from: {
|
|
841
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
842
|
+
name: string;
|
|
843
|
+
};
|
|
844
|
+
to: {
|
|
845
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
846
|
+
name: string;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
arcanum: {
|
|
850
|
+
id: NodeId<TarotTypes.TAROT_ARK_ANNU>;
|
|
851
|
+
number: number;
|
|
852
|
+
name: string;
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
family: {
|
|
856
|
+
upper: {
|
|
857
|
+
trigram: Trigram;
|
|
858
|
+
family: string;
|
|
859
|
+
sphere: {
|
|
860
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
861
|
+
name: string;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
lower: {
|
|
865
|
+
trigram: Trigram;
|
|
866
|
+
family: string;
|
|
867
|
+
sphere: {
|
|
868
|
+
id: NodeId<KaabalahTypes.SPHERE>;
|
|
869
|
+
name: string;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
pillars: {
|
|
874
|
+
upper: {
|
|
875
|
+
left: boolean;
|
|
876
|
+
middle: boolean;
|
|
877
|
+
right: boolean;
|
|
878
|
+
};
|
|
879
|
+
lower: {
|
|
880
|
+
left: boolean;
|
|
881
|
+
middle: boolean;
|
|
882
|
+
right: boolean;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
sovereign: Readonly<{
|
|
887
|
+
hexagramNumber: 1 | 2 | 11 | 12 | 19 | 20 | 24 | 44 | 43 | 33 | 34 | 23;
|
|
888
|
+
lunarMonth: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
889
|
+
branch: "子" | "丑" | "寅" | "卯" | "辰" | "巳" | "午" | "未" | "申" | "酉" | "戌" | "亥";
|
|
890
|
+
approximateSolarWindow: Readonly<{
|
|
891
|
+
start: Readonly<{
|
|
892
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
893
|
+
day: 4 | 5 | 6 | 7 | 8;
|
|
894
|
+
}>;
|
|
895
|
+
end: Readonly<{
|
|
896
|
+
month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
897
|
+
day: 3 | 4 | 5 | 6 | 7;
|
|
898
|
+
}>;
|
|
899
|
+
}>;
|
|
900
|
+
}> | null;
|
|
901
|
+
} | null;
|
|
902
|
+
lineTransforms: readonly LineTransform[];
|
|
903
|
+
oracle: readonly TextSelection[];
|
|
904
|
+
};
|
|
905
|
+
type IChingReading = ReturnType<typeof deriveReading>;
|
|
906
|
+
/** Dates and question are caller-supplied labels; this helper never supplies a clock or interpretation. */
|
|
907
|
+
declare function formatRecord(input: CastInput, labels?: {
|
|
908
|
+
date?: string;
|
|
909
|
+
question?: string;
|
|
910
|
+
}): string;
|
|
911
|
+
|
|
912
|
+
export { type CastInput, type CastLines, type ClassicalText, type Generation, HEXAGRAMS, HEXAGRAMS_BY_NUMBER, type HanHexagram, type HanLine, type Hexagram, type HexagramText, type IChingReading, LINE_POSITIONS, type LinePosition, type LineTransform, type LineValue, PALACE_TABLE, PHASE_HANZI, type Palace, type Phase, type PhaseRelation, type Relative, SOVEREIGN_HEXAGRAMS, TRIGRAMS, type TextSelection, type Trigram, type TrigramId, castThreeCoins, formatRecord, getBranchRelation, getCastHexagram, getFamilySphere, getHanHexagram, getHexagram, getHexagramByBinary, getHexagramByTrigrams, getHexagramKaabalah, getIChingReading, getLineTransforms, getMovingLines, getNuclearHexagram, getPalace, getPhaseRelation, getSixRelative, getSovereignHexagram, getTransformedHexagram, getTrigram, getTrigramGate, getTrigramPillars, linesFromHexagram, listHexagramGates, parseCastLines, selectZhuXiTexts };
|