kaabalah 6.2.1 → 6.2.2

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.
Files changed (34) hide show
  1. package/README.md +21 -1
  2. package/dist/{chunk-Y62OU26O.js → chunk-25YFW677.js} +147 -9
  3. package/dist/chunk-25YFW677.js.map +1 -0
  4. package/dist/{chunk-L3HJSZML.js → chunk-HSPUNESW.js} +6 -6
  5. package/dist/{chunk-L3HJSZML.js.map → chunk-HSPUNESW.js.map} +1 -1
  6. package/dist/{chunk-BOGH5XQA.mjs → chunk-NMIXWQBN.mjs} +3 -3
  7. package/dist/{chunk-BOGH5XQA.mjs.map → chunk-NMIXWQBN.mjs.map} +1 -1
  8. package/dist/{chunk-SDSFI577.mjs → chunk-VWGXOGEJ.mjs} +142 -10
  9. package/dist/chunk-VWGXOGEJ.mjs.map +1 -0
  10. package/dist/cli.js +61 -2
  11. package/dist/cli.js.map +1 -1
  12. package/dist/core/index.d.mts +2 -4
  13. package/dist/core/index.d.ts +2 -4
  14. package/dist/{constants-C0XjrYIG.d.mts → correspondence-model-DWXbAjC-.d.mts} +279 -1
  15. package/dist/{constants-C0XjrYIG.d.ts → correspondence-model-DWXbAjC-.d.ts} +279 -1
  16. package/dist/gematria/index.d.mts +1 -2
  17. package/dist/gematria/index.d.ts +1 -2
  18. package/dist/index.d.mts +2 -3
  19. package/dist/index.d.ts +2 -3
  20. package/dist/index.js +45 -21
  21. package/dist/index.mjs +2 -2
  22. package/dist/semantic/index.d.mts +1 -1
  23. package/dist/semantic/index.d.ts +1 -1
  24. package/dist/semantic/index.js +8 -8
  25. package/dist/semantic/index.mjs +2 -2
  26. package/dist/tarot/index.d.mts +10 -3
  27. package/dist/tarot/index.d.ts +10 -3
  28. package/dist/tarot/index.js +38 -14
  29. package/dist/tarot/index.mjs +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunk-SDSFI577.mjs.map +0 -1
  32. package/dist/chunk-Y62OU26O.js.map +0 -1
  33. package/dist/correspondence-model-BrtIu5tW.d.mts +0 -281
  34. package/dist/correspondence-model-CpFOWeBr.d.ts +0 -281
@@ -1,7 +1,5 @@
1
- import { D as NodeType, E as NodeId, O as Node } from '../constants-C0XjrYIG.mjs';
2
- export { Q as BaseNode, v as COLORS, w as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, x as LetterTypes, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, B as MiscTypes, M as MusicalNoteData, J as NodeData, N as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, S as SphereData, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, A as TantraTypes, T as TarotArkAnnuData, z as TarotTypes, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, y as WesternAstrologyTypes, W as WorldData, G as id, I as parseId } from '../constants-C0XjrYIG.mjs';
3
- import { k as SystemKey, P as PartKey, l as TreeOfLife, f as TreeWorkspaceDescriptor, b as CorrespondenceEdge, c as TreeNote, T as TreeNoteTarget, h as CorrespondenceMatch, i as CorrespondenceMap, e as TreeOverlay } from '../correspondence-model-BrtIu5tW.mjs';
4
- export { B as Bridge, a as CorrespondenceMetadata, C as CorrespondenceSource, g as CorrespondenceStep, L as Loader, j as SYSTEMS, S as System, d as TreeOverlayCorrespondence, U as Unloader, m as makeCorrespondenceId } from '../correspondence-model-BrtIu5tW.mjs';
1
+ import { R as SystemKey, U as PartKey, Z as TreeOfLife, a5 as NodeType, a6 as NodeId, aa as Node, G as TreeWorkspaceDescriptor, z as CorrespondenceEdge, B as TreeNote, A as TreeNoteTarget, J as CorrespondenceMatch, K as CorrespondenceMap, E as TreeOverlay } from '../correspondence-model-DWXbAjC-.mjs';
2
+ export { ab as BaseNode, Y as Bridge, v as COLORS, w as COLORS_DATA, C as ColorData, y as CorrespondenceMetadata, x as CorrespondenceSource, I as CorrespondenceStep, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, _ as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, $ as LetterTypes, V as Loader, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, a4 as MiscTypes, M as MusicalNoteData, a9 as NodeData, a3 as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, Q as SYSTEMS, S as SphereData, O as System, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, a2 as TantraTypes, T as TarotArkAnnuData, a1 as TarotTypes, D as TreeOverlayCorrespondence, X as Unloader, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, a0 as WesternAstrologyTypes, W as WorldData, a7 as id, N as makeCorrespondenceId, a8 as parseId } from '../correspondence-model-DWXbAjC-.mjs';
5
3
 
6
4
  interface TreeOptions {
7
5
  system: SystemKey;
@@ -1,7 +1,5 @@
1
- import { D as NodeType, E as NodeId, O as Node } from '../constants-C0XjrYIG.js';
2
- export { Q as BaseNode, v as COLORS, w as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, x as LetterTypes, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, B as MiscTypes, M as MusicalNoteData, J as NodeData, N as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, S as SphereData, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, A as TantraTypes, T as TarotArkAnnuData, z as TarotTypes, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, y as WesternAstrologyTypes, W as WorldData, G as id, I as parseId } from '../constants-C0XjrYIG.js';
3
- import { k as SystemKey, P as PartKey, l as TreeOfLife, f as TreeWorkspaceDescriptor, b as CorrespondenceEdge, c as TreeNote, T as TreeNoteTarget, h as CorrespondenceMatch, i as CorrespondenceMap, e as TreeOverlay } from '../correspondence-model-CpFOWeBr.js';
4
- export { B as Bridge, a as CorrespondenceMetadata, C as CorrespondenceSource, g as CorrespondenceStep, L as Loader, j as SYSTEMS, S as System, d as TreeOverlayCorrespondence, U as Unloader, m as makeCorrespondenceId } from '../correspondence-model-CpFOWeBr.js';
1
+ import { R as SystemKey, U as PartKey, Z as TreeOfLife, a5 as NodeType, a6 as NodeId, aa as Node, G as TreeWorkspaceDescriptor, z as CorrespondenceEdge, B as TreeNote, A as TreeNoteTarget, J as CorrespondenceMatch, K as CorrespondenceMap, E as TreeOverlay } from '../correspondence-model-DWXbAjC-.js';
2
+ export { ab as BaseNode, Y as Bridge, v as COLORS, w as COLORS_DATA, C as ColorData, y as CorrespondenceMetadata, x as CorrespondenceSource, I as CorrespondenceStep, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, _ as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, $ as LetterTypes, V as Loader, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, a4 as MiscTypes, M as MusicalNoteData, a9 as NodeData, a3 as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, Q as SYSTEMS, S as SphereData, O as System, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, a2 as TantraTypes, T as TarotArkAnnuData, a1 as TarotTypes, D as TreeOverlayCorrespondence, X as Unloader, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, a0 as WesternAstrologyTypes, W as WorldData, a7 as id, N as makeCorrespondenceId, a8 as parseId } from '../correspondence-model-DWXbAjC-.js';
5
3
 
6
4
  interface TreeOptions {
7
5
  system: SystemKey;
@@ -453,4 +453,282 @@ declare const COLORS: {
453
453
  };
454
454
  declare const COLORS_DATA: Record<keyof typeof COLORS, ColorData>;
455
455
 
456
- export { TantraTypes as A, MiscTypes as B, type ColorData as C, type NodeType as D, type NodeId as E, FOUR_WORLDS as F, id as G, type HebrewLetterData as H, parseId as I, type NodeData as J, KaabalahTypes as K, type LatinLetterData as L, type MusicalNoteData as M, NumerologyTypes as N, type Node as O, type PathData as P, BaseNode as Q, type SphereData as S, type TarotArkAnnuData as T, type WorldData as W, FOUR_WORLDS_DATA as a, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, LetterTypes as x, WesternAstrologyTypes as y, TarotTypes as z };
456
+ /**
457
+ * TreeOfLife represents a graph structure for mapping Kaabalah, Tarot, Astrology and other
458
+ * esoteric correspondences. It can be used to create multiple independent instances
459
+ * for different use cases or to isolate different sets of correspondences.
460
+ */
461
+ declare class TreeOfLife {
462
+ private nodes;
463
+ private adjacent;
464
+ private edges;
465
+ private mutationSources;
466
+ private modules;
467
+ private getCurrentMutationSource;
468
+ runWithMutationSource<T>(source: CorrespondenceSource, fn: () => T): T;
469
+ /**
470
+ * Loads the tree of life system to be used
471
+ * @param systemKey - the key of the system to load
472
+ */
473
+ loadSystem(systemKey: SystemKey): void;
474
+ /**
475
+ * Loads a part of a system into the tree of life
476
+ * @param partKey - the key of the part to load
477
+ */
478
+ loadPart(partKey: PartKey): void;
479
+ /**
480
+ * Unloads the tree of life system and all its parts
481
+ */
482
+ unloadSystem(): void;
483
+ get activeSystem(): SystemKey | null;
484
+ get availableParts(): string[];
485
+ get loadedParts(): PartKey[];
486
+ get availableBridges(): Bridge[];
487
+ get bridgedParts(): string[];
488
+ /**
489
+ * Upserts a node to the tree
490
+ * @param node - the node to upsert
491
+ * @returns the id of the added node
492
+ */
493
+ upsertNode<T extends NodeType>(node: Node<T>): NodeId<T>;
494
+ getNode<T extends NodeType>(id: NodeId<T>): Node<T> | undefined;
495
+ getNodes(): Node<NodeType>[];
496
+ getEdge(left: NodeId<NodeType>, right: NodeId<NodeType>): CorrespondenceEdge | undefined;
497
+ getEdges(nodeId?: NodeId<NodeType>): CorrespondenceEdge[];
498
+ /**
499
+ * Links two nodes bi-directionally
500
+ * @param firstNode - the id of the first node
501
+ * @param secondNode - the id of the second node
502
+ */
503
+ link(firstNode: NodeId<NodeType>, secondNode: NodeId<NodeType>, options?: {
504
+ metadata?: CorrespondenceMetadata;
505
+ source?: CorrespondenceSource;
506
+ }): void;
507
+ /**
508
+ * Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
509
+ * @param id - the id of the node to get the relations for
510
+ * @param nodeType - the node type to filter the relations by
511
+ * @returns the current node and all its direct relations
512
+ */
513
+ related<T extends NodeType, U extends NodeType>(id: NodeId<T>, nodeType?: U): Node<U>[];
514
+ /**
515
+ * Sugar for `related(id, type)[0]`
516
+ * @param id - the id of the node to get the related node for
517
+ * @param type - the type of the node to get the related node for
518
+ * @returns the related node
519
+ */
520
+ relatedFirst<T extends NodeType, U extends NodeType>(id: NodeId<T>, type: U): Node<U> | undefined;
521
+ /**
522
+ * Gets all the types of nodes that are directly connected to the given node
523
+ * @param id - the id of the node to get related types for
524
+ * @returns array of node types that are directly connected
525
+ */
526
+ relatedTypes<T extends NodeType>(id: NodeId<T>): T[];
527
+ /**
528
+ * BFS up to depth k, optional type filter for the result set
529
+ * @param id - the id of the node to get the extended relations for
530
+ * @param depth - the depth of the walk
531
+ * @param type - the type of the nodes to filter the result set by
532
+ * @returns the current node and all its extended relations
533
+ */
534
+ walk<T extends NodeType, U extends NodeType>(id: NodeId<T>, depth?: number, type?: U): Node<U>[];
535
+ /**
536
+ * Removes a node and all its relations from the graph, cleaning up adjacency sets.
537
+ * @param id - the id of the node to remove
538
+ */
539
+ removeNode(id: NodeId<NodeType>): void;
540
+ addNumber({ number, nodeId }: {
541
+ number: number;
542
+ nodeId?: NodeId<NodeType>;
543
+ }): NodeId<NumerologyTypes>;
544
+ /**
545
+ * Adds a sphere (sephirah) to the tree with its Hebrew and English names
546
+ * @param sphere - the identifier for the sphere
547
+ * @param data - the sphere's Hebrew and English names
548
+ * @returns the sphere's id
549
+ */
550
+ addSphere({ sphere, data, relatedNumber, }: {
551
+ sphere: string;
552
+ data: NodeData<KaabalahTypes.SPHERE>;
553
+ relatedNumber: number;
554
+ }): NodeId<KaabalahTypes.SPHERE>;
555
+ /**
556
+ * Adds a path between two spheres with its associated number
557
+ * @param leftSphere - the id of the first sphere
558
+ * @param rightSphere - the id of the second sphere
559
+ * @param relatedNumber - the number associated with this path
560
+ * @returns the path's id
561
+ */
562
+ addPath({ leftSphere, rightSphere, relatedNumber, data, }: {
563
+ leftSphere: NodeId<KaabalahTypes.SPHERE>;
564
+ rightSphere: NodeId<KaabalahTypes.SPHERE>;
565
+ relatedNumber: number;
566
+ data?: Omit<NodeData<KaabalahTypes.PATH>, "from" | "to">;
567
+ }): NodeId<KaabalahTypes.PATH>;
568
+ addLetters({ path, letters, }: {
569
+ path: NodeId<KaabalahTypes.PATH>;
570
+ letters: {
571
+ letter: string;
572
+ type: NodeType;
573
+ data?: NodeData<NodeType>;
574
+ }[];
575
+ }): void;
576
+ addWesternAstrologySign({ spheres, path, house, planets, element, modality, sign, relatedNumber, }: {
577
+ spheres: NodeId<KaabalahTypes.SPHERE>[];
578
+ path: NodeId<KaabalahTypes.PATH>;
579
+ house: NodeId<WesternAstrologyTypes.HOUSE>;
580
+ planets: NodeId<WesternAstrologyTypes.PLANET>[];
581
+ element: NodeId<WesternAstrologyTypes.WESTERN_ELEMENT>;
582
+ modality: NodeId<WesternAstrologyTypes.MODALITIES>;
583
+ sign: string;
584
+ relatedNumber: number;
585
+ }): NodeId<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
586
+ addTarotArkAnnu({ node, tarotArkAnnu, data, relatedNumber, suit, }: {
587
+ node: NodeId<NodeType>;
588
+ tarotArkAnnu: string;
589
+ data: NodeData<TarotTypes.TAROT_ARK_ANNU>;
590
+ relatedNumber: number;
591
+ suit?: string;
592
+ }): NodeId<TarotTypes.TAROT_ARK_ANNU>;
593
+ }
594
+
595
+ /**
596
+ * Loads the Hermetic Qabalah system into the tree of life
597
+ */
598
+ declare function loadHermeticQabalah(tree: TreeOfLife): TreeOfLife;
599
+ declare function loadColors(tree: TreeOfLife): TreeOfLife;
600
+ declare function loadMusicalNotes(tree: TreeOfLife): TreeOfLife;
601
+ declare const LOADERS$2: {
602
+ base: typeof loadHermeticQabalah;
603
+ colors: typeof loadColors;
604
+ music: typeof loadMusicalNotes;
605
+ westernAstrology: Loader;
606
+ };
607
+
608
+ declare const LOADERS$1: {
609
+ base: Loader;
610
+ colors: Loader;
611
+ music: Loader;
612
+ westernAstrology: Loader;
613
+ tarot: Loader;
614
+ };
615
+
616
+ /**
617
+ * Loads the Lurianic Kabbalah system into the tree of life
618
+ */
619
+ declare function loadLurianicKabbalah(tree: TreeOfLife): TreeOfLife;
620
+ declare const LOADERS: {
621
+ base: typeof loadLurianicKabbalah;
622
+ };
623
+
624
+ type System = {
625
+ SYSTEM: "kaabalah" | "hermetic-qabalah" | "lurianic-kabbalah";
626
+ LOADERS: Record<string, Loader>;
627
+ UNLOADERS: Record<string, Unloader>;
628
+ BRIDGES: Bridge[];
629
+ };
630
+ declare const SYSTEMS: System[];
631
+ type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
632
+ type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
633
+ type Loader = (t: TreeOfLife) => TreeOfLife;
634
+ type Unloader = (t: TreeOfLife) => void;
635
+ type Bridge = {
636
+ id: string;
637
+ needs: PartKey[];
638
+ run: (t: TreeOfLife) => void;
639
+ };
640
+
641
+ type CorrespondenceSource = {
642
+ kind: "manual";
643
+ } | {
644
+ kind: "system";
645
+ system: SystemKey;
646
+ } | {
647
+ kind: "part";
648
+ system: SystemKey;
649
+ part: PartKey;
650
+ } | {
651
+ kind: "bridge";
652
+ system: SystemKey;
653
+ bridgeId: string;
654
+ parts: PartKey[];
655
+ } | {
656
+ kind: "overlay";
657
+ overlayId: string;
658
+ label?: string;
659
+ };
660
+ interface CorrespondenceMetadata {
661
+ kind?: string;
662
+ label?: string;
663
+ tags?: string[];
664
+ attributes?: Record<string, unknown>;
665
+ }
666
+ interface CorrespondenceEdge {
667
+ id: string;
668
+ left: NodeId<NodeType>;
669
+ right: NodeId<NodeType>;
670
+ metadata?: CorrespondenceMetadata;
671
+ sources: readonly CorrespondenceSource[];
672
+ }
673
+ type TreeNoteTarget = {
674
+ kind: "node";
675
+ nodeId: NodeId<NodeType>;
676
+ } | {
677
+ kind: "correspondence";
678
+ left: NodeId<NodeType>;
679
+ right: NodeId<NodeType>;
680
+ };
681
+ interface TreeNote {
682
+ id: string;
683
+ text: string;
684
+ kind?: string;
685
+ target: TreeNoteTarget;
686
+ metadata?: Record<string, unknown>;
687
+ }
688
+ type TreeOverlayCorrespondence = {
689
+ op: "add";
690
+ left: NodeId<NodeType>;
691
+ right: NodeId<NodeType>;
692
+ metadata?: CorrespondenceMetadata;
693
+ } | {
694
+ op: "remove";
695
+ left: NodeId<NodeType>;
696
+ right: NodeId<NodeType>;
697
+ } | {
698
+ op: "annotate";
699
+ left: NodeId<NodeType>;
700
+ right: NodeId<NodeType>;
701
+ metadata?: CorrespondenceMetadata;
702
+ };
703
+ interface TreeOverlay {
704
+ id: string;
705
+ name?: string;
706
+ version?: string;
707
+ nodes?: Node<NodeType>[];
708
+ correspondences?: TreeOverlayCorrespondence[];
709
+ notes?: TreeNote[];
710
+ }
711
+ interface TreeWorkspaceDescriptor {
712
+ id?: string;
713
+ name?: string;
714
+ version?: string;
715
+ system?: SystemKey;
716
+ parts?: readonly string[];
717
+ cacheKey?: string;
718
+ }
719
+ interface CorrespondenceStep {
720
+ from: NodeId<NodeType>;
721
+ to: NodeId<NodeType>;
722
+ edge: CorrespondenceEdge;
723
+ }
724
+ interface CorrespondenceMatch<T extends NodeType = NodeType> {
725
+ node: Node<T>;
726
+ distance: number;
727
+ path: readonly CorrespondenceStep[];
728
+ }
729
+ type CorrespondenceMap = Partial<{
730
+ [K in NodeType]: CorrespondenceMatch<K>[];
731
+ }>;
732
+ declare function makeCorrespondenceId(left: NodeId<NodeType>, right: NodeId<NodeType>): string;
733
+
734
+ export { LetterTypes as $, type TreeNoteTarget as A, type TreeNote as B, type ColorData as C, type TreeOverlayCorrespondence as D, type TreeOverlay as E, FOUR_WORLDS as F, type TreeWorkspaceDescriptor as G, type HebrewLetterData as H, type CorrespondenceStep as I, type CorrespondenceMatch as J, type CorrespondenceMap as K, type LatinLetterData as L, type MusicalNoteData as M, makeCorrespondenceId as N, type System as O, type PathData as P, SYSTEMS as Q, type SystemKey as R, type SphereData as S, type TarotArkAnnuData as T, type PartKey as U, type Loader as V, type WorldData as W, type Unloader as X, type Bridge as Y, TreeOfLife as Z, KaabalahTypes as _, FOUR_WORLDS_DATA as a, WesternAstrologyTypes as a0, TarotTypes as a1, TantraTypes as a2, NumerologyTypes as a3, MiscTypes as a4, type NodeType as a5, type NodeId as a6, id as a7, parseId as a8, type NodeData as a9, type Node as aa, BaseNode as ab, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, type CorrespondenceSource as x, type CorrespondenceMetadata as y, type CorrespondenceEdge as z };
@@ -453,4 +453,282 @@ declare const COLORS: {
453
453
  };
454
454
  declare const COLORS_DATA: Record<keyof typeof COLORS, ColorData>;
455
455
 
456
- export { TantraTypes as A, MiscTypes as B, type ColorData as C, type NodeType as D, type NodeId as E, FOUR_WORLDS as F, id as G, type HebrewLetterData as H, parseId as I, type NodeData as J, KaabalahTypes as K, type LatinLetterData as L, type MusicalNoteData as M, NumerologyTypes as N, type Node as O, type PathData as P, BaseNode as Q, type SphereData as S, type TarotArkAnnuData as T, type WorldData as W, FOUR_WORLDS_DATA as a, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, LetterTypes as x, WesternAstrologyTypes as y, TarotTypes as z };
456
+ /**
457
+ * TreeOfLife represents a graph structure for mapping Kaabalah, Tarot, Astrology and other
458
+ * esoteric correspondences. It can be used to create multiple independent instances
459
+ * for different use cases or to isolate different sets of correspondences.
460
+ */
461
+ declare class TreeOfLife {
462
+ private nodes;
463
+ private adjacent;
464
+ private edges;
465
+ private mutationSources;
466
+ private modules;
467
+ private getCurrentMutationSource;
468
+ runWithMutationSource<T>(source: CorrespondenceSource, fn: () => T): T;
469
+ /**
470
+ * Loads the tree of life system to be used
471
+ * @param systemKey - the key of the system to load
472
+ */
473
+ loadSystem(systemKey: SystemKey): void;
474
+ /**
475
+ * Loads a part of a system into the tree of life
476
+ * @param partKey - the key of the part to load
477
+ */
478
+ loadPart(partKey: PartKey): void;
479
+ /**
480
+ * Unloads the tree of life system and all its parts
481
+ */
482
+ unloadSystem(): void;
483
+ get activeSystem(): SystemKey | null;
484
+ get availableParts(): string[];
485
+ get loadedParts(): PartKey[];
486
+ get availableBridges(): Bridge[];
487
+ get bridgedParts(): string[];
488
+ /**
489
+ * Upserts a node to the tree
490
+ * @param node - the node to upsert
491
+ * @returns the id of the added node
492
+ */
493
+ upsertNode<T extends NodeType>(node: Node<T>): NodeId<T>;
494
+ getNode<T extends NodeType>(id: NodeId<T>): Node<T> | undefined;
495
+ getNodes(): Node<NodeType>[];
496
+ getEdge(left: NodeId<NodeType>, right: NodeId<NodeType>): CorrespondenceEdge | undefined;
497
+ getEdges(nodeId?: NodeId<NodeType>): CorrespondenceEdge[];
498
+ /**
499
+ * Links two nodes bi-directionally
500
+ * @param firstNode - the id of the first node
501
+ * @param secondNode - the id of the second node
502
+ */
503
+ link(firstNode: NodeId<NodeType>, secondNode: NodeId<NodeType>, options?: {
504
+ metadata?: CorrespondenceMetadata;
505
+ source?: CorrespondenceSource;
506
+ }): void;
507
+ /**
508
+ * Gets the current node and all its direct relations, or, when filtered by node type, only the direct relations of that type.
509
+ * @param id - the id of the node to get the relations for
510
+ * @param nodeType - the node type to filter the relations by
511
+ * @returns the current node and all its direct relations
512
+ */
513
+ related<T extends NodeType, U extends NodeType>(id: NodeId<T>, nodeType?: U): Node<U>[];
514
+ /**
515
+ * Sugar for `related(id, type)[0]`
516
+ * @param id - the id of the node to get the related node for
517
+ * @param type - the type of the node to get the related node for
518
+ * @returns the related node
519
+ */
520
+ relatedFirst<T extends NodeType, U extends NodeType>(id: NodeId<T>, type: U): Node<U> | undefined;
521
+ /**
522
+ * Gets all the types of nodes that are directly connected to the given node
523
+ * @param id - the id of the node to get related types for
524
+ * @returns array of node types that are directly connected
525
+ */
526
+ relatedTypes<T extends NodeType>(id: NodeId<T>): T[];
527
+ /**
528
+ * BFS up to depth k, optional type filter for the result set
529
+ * @param id - the id of the node to get the extended relations for
530
+ * @param depth - the depth of the walk
531
+ * @param type - the type of the nodes to filter the result set by
532
+ * @returns the current node and all its extended relations
533
+ */
534
+ walk<T extends NodeType, U extends NodeType>(id: NodeId<T>, depth?: number, type?: U): Node<U>[];
535
+ /**
536
+ * Removes a node and all its relations from the graph, cleaning up adjacency sets.
537
+ * @param id - the id of the node to remove
538
+ */
539
+ removeNode(id: NodeId<NodeType>): void;
540
+ addNumber({ number, nodeId }: {
541
+ number: number;
542
+ nodeId?: NodeId<NodeType>;
543
+ }): NodeId<NumerologyTypes>;
544
+ /**
545
+ * Adds a sphere (sephirah) to the tree with its Hebrew and English names
546
+ * @param sphere - the identifier for the sphere
547
+ * @param data - the sphere's Hebrew and English names
548
+ * @returns the sphere's id
549
+ */
550
+ addSphere({ sphere, data, relatedNumber, }: {
551
+ sphere: string;
552
+ data: NodeData<KaabalahTypes.SPHERE>;
553
+ relatedNumber: number;
554
+ }): NodeId<KaabalahTypes.SPHERE>;
555
+ /**
556
+ * Adds a path between two spheres with its associated number
557
+ * @param leftSphere - the id of the first sphere
558
+ * @param rightSphere - the id of the second sphere
559
+ * @param relatedNumber - the number associated with this path
560
+ * @returns the path's id
561
+ */
562
+ addPath({ leftSphere, rightSphere, relatedNumber, data, }: {
563
+ leftSphere: NodeId<KaabalahTypes.SPHERE>;
564
+ rightSphere: NodeId<KaabalahTypes.SPHERE>;
565
+ relatedNumber: number;
566
+ data?: Omit<NodeData<KaabalahTypes.PATH>, "from" | "to">;
567
+ }): NodeId<KaabalahTypes.PATH>;
568
+ addLetters({ path, letters, }: {
569
+ path: NodeId<KaabalahTypes.PATH>;
570
+ letters: {
571
+ letter: string;
572
+ type: NodeType;
573
+ data?: NodeData<NodeType>;
574
+ }[];
575
+ }): void;
576
+ addWesternAstrologySign({ spheres, path, house, planets, element, modality, sign, relatedNumber, }: {
577
+ spheres: NodeId<KaabalahTypes.SPHERE>[];
578
+ path: NodeId<KaabalahTypes.PATH>;
579
+ house: NodeId<WesternAstrologyTypes.HOUSE>;
580
+ planets: NodeId<WesternAstrologyTypes.PLANET>[];
581
+ element: NodeId<WesternAstrologyTypes.WESTERN_ELEMENT>;
582
+ modality: NodeId<WesternAstrologyTypes.MODALITIES>;
583
+ sign: string;
584
+ relatedNumber: number;
585
+ }): NodeId<WesternAstrologyTypes.WESTERN_ZODIAC_SIGN>;
586
+ addTarotArkAnnu({ node, tarotArkAnnu, data, relatedNumber, suit, }: {
587
+ node: NodeId<NodeType>;
588
+ tarotArkAnnu: string;
589
+ data: NodeData<TarotTypes.TAROT_ARK_ANNU>;
590
+ relatedNumber: number;
591
+ suit?: string;
592
+ }): NodeId<TarotTypes.TAROT_ARK_ANNU>;
593
+ }
594
+
595
+ /**
596
+ * Loads the Hermetic Qabalah system into the tree of life
597
+ */
598
+ declare function loadHermeticQabalah(tree: TreeOfLife): TreeOfLife;
599
+ declare function loadColors(tree: TreeOfLife): TreeOfLife;
600
+ declare function loadMusicalNotes(tree: TreeOfLife): TreeOfLife;
601
+ declare const LOADERS$2: {
602
+ base: typeof loadHermeticQabalah;
603
+ colors: typeof loadColors;
604
+ music: typeof loadMusicalNotes;
605
+ westernAstrology: Loader;
606
+ };
607
+
608
+ declare const LOADERS$1: {
609
+ base: Loader;
610
+ colors: Loader;
611
+ music: Loader;
612
+ westernAstrology: Loader;
613
+ tarot: Loader;
614
+ };
615
+
616
+ /**
617
+ * Loads the Lurianic Kabbalah system into the tree of life
618
+ */
619
+ declare function loadLurianicKabbalah(tree: TreeOfLife): TreeOfLife;
620
+ declare const LOADERS: {
621
+ base: typeof loadLurianicKabbalah;
622
+ };
623
+
624
+ type System = {
625
+ SYSTEM: "kaabalah" | "hermetic-qabalah" | "lurianic-kabbalah";
626
+ LOADERS: Record<string, Loader>;
627
+ UNLOADERS: Record<string, Unloader>;
628
+ BRIDGES: Bridge[];
629
+ };
630
+ declare const SYSTEMS: System[];
631
+ type SystemKey = (typeof SYSTEMS)[number]["SYSTEM"];
632
+ type PartKey = keyof typeof LOADERS$1 | keyof typeof LOADERS$2 | keyof typeof LOADERS;
633
+ type Loader = (t: TreeOfLife) => TreeOfLife;
634
+ type Unloader = (t: TreeOfLife) => void;
635
+ type Bridge = {
636
+ id: string;
637
+ needs: PartKey[];
638
+ run: (t: TreeOfLife) => void;
639
+ };
640
+
641
+ type CorrespondenceSource = {
642
+ kind: "manual";
643
+ } | {
644
+ kind: "system";
645
+ system: SystemKey;
646
+ } | {
647
+ kind: "part";
648
+ system: SystemKey;
649
+ part: PartKey;
650
+ } | {
651
+ kind: "bridge";
652
+ system: SystemKey;
653
+ bridgeId: string;
654
+ parts: PartKey[];
655
+ } | {
656
+ kind: "overlay";
657
+ overlayId: string;
658
+ label?: string;
659
+ };
660
+ interface CorrespondenceMetadata {
661
+ kind?: string;
662
+ label?: string;
663
+ tags?: string[];
664
+ attributes?: Record<string, unknown>;
665
+ }
666
+ interface CorrespondenceEdge {
667
+ id: string;
668
+ left: NodeId<NodeType>;
669
+ right: NodeId<NodeType>;
670
+ metadata?: CorrespondenceMetadata;
671
+ sources: readonly CorrespondenceSource[];
672
+ }
673
+ type TreeNoteTarget = {
674
+ kind: "node";
675
+ nodeId: NodeId<NodeType>;
676
+ } | {
677
+ kind: "correspondence";
678
+ left: NodeId<NodeType>;
679
+ right: NodeId<NodeType>;
680
+ };
681
+ interface TreeNote {
682
+ id: string;
683
+ text: string;
684
+ kind?: string;
685
+ target: TreeNoteTarget;
686
+ metadata?: Record<string, unknown>;
687
+ }
688
+ type TreeOverlayCorrespondence = {
689
+ op: "add";
690
+ left: NodeId<NodeType>;
691
+ right: NodeId<NodeType>;
692
+ metadata?: CorrespondenceMetadata;
693
+ } | {
694
+ op: "remove";
695
+ left: NodeId<NodeType>;
696
+ right: NodeId<NodeType>;
697
+ } | {
698
+ op: "annotate";
699
+ left: NodeId<NodeType>;
700
+ right: NodeId<NodeType>;
701
+ metadata?: CorrespondenceMetadata;
702
+ };
703
+ interface TreeOverlay {
704
+ id: string;
705
+ name?: string;
706
+ version?: string;
707
+ nodes?: Node<NodeType>[];
708
+ correspondences?: TreeOverlayCorrespondence[];
709
+ notes?: TreeNote[];
710
+ }
711
+ interface TreeWorkspaceDescriptor {
712
+ id?: string;
713
+ name?: string;
714
+ version?: string;
715
+ system?: SystemKey;
716
+ parts?: readonly string[];
717
+ cacheKey?: string;
718
+ }
719
+ interface CorrespondenceStep {
720
+ from: NodeId<NodeType>;
721
+ to: NodeId<NodeType>;
722
+ edge: CorrespondenceEdge;
723
+ }
724
+ interface CorrespondenceMatch<T extends NodeType = NodeType> {
725
+ node: Node<T>;
726
+ distance: number;
727
+ path: readonly CorrespondenceStep[];
728
+ }
729
+ type CorrespondenceMap = Partial<{
730
+ [K in NodeType]: CorrespondenceMatch<K>[];
731
+ }>;
732
+ declare function makeCorrespondenceId(left: NodeId<NodeType>, right: NodeId<NodeType>): string;
733
+
734
+ export { LetterTypes as $, type TreeNoteTarget as A, type TreeNote as B, type ColorData as C, type TreeOverlayCorrespondence as D, type TreeOverlay as E, FOUR_WORLDS as F, type TreeWorkspaceDescriptor as G, type HebrewLetterData as H, type CorrespondenceStep as I, type CorrespondenceMatch as J, type CorrespondenceMap as K, type LatinLetterData as L, type MusicalNoteData as M, makeCorrespondenceId as N, type System as O, type PathData as P, SYSTEMS as Q, type SystemKey as R, type SphereData as S, type TarotArkAnnuData as T, type PartKey as U, type Loader as V, type WorldData as W, type Unloader as X, type Bridge as Y, TreeOfLife as Z, KaabalahTypes as _, FOUR_WORLDS_DATA as a, WesternAstrologyTypes as a0, TarotTypes as a1, TantraTypes as a2, NumerologyTypes as a3, MiscTypes as a4, type NodeType as a5, type NodeId as a6, id as a7, parseId as a8, type NodeData as a9, type Node as aa, BaseNode as ab, SPHERES as b, SPHERES_DATA as c, PLANETS as d, MODALITIES as e, WESTERN_ZODIAC_SIGNS as f, WESTERN_ELEMENTS as g, WESTERN_HOUSES as h, WESTERN_ASPECTS as i, MELKITZEDEKI_PATHS as j, LURIANIC_PATHS as k, LATIN_LETTERS as l, LATIN_LETTERS_DATA as m, HEBREW_LETTERS as n, HEBREW_LETTERS_DATA as o, TAROT_SUITS as p, TAROT_ARKANNUS as q, TAROT_DECKS as r, TAROT_ARKANNUS_DATA as s, MUSICAL_NOTES as t, MUSICAL_NOTES_DATA as u, COLORS as v, COLORS_DATA as w, type CorrespondenceSource as x, type CorrespondenceMetadata as y, type CorrespondenceEdge as z };
@@ -1,5 +1,4 @@
1
- import { l as TreeOfLife } from '../correspondence-model-BrtIu5tW.mjs';
2
- import { E as NodeId, x as LetterTypes } from '../constants-C0XjrYIG.mjs';
1
+ import { a6 as NodeId, $ as LetterTypes, Z as TreeOfLife } from '../correspondence-model-DWXbAjC-.mjs';
3
2
 
4
3
  /**
5
4
  * Extended master numbers used in gematria reduction.
@@ -1,5 +1,4 @@
1
- import { l as TreeOfLife } from '../correspondence-model-CpFOWeBr.js';
2
- import { E as NodeId, x as LetterTypes } from '../constants-C0XjrYIG.js';
1
+ import { a6 as NodeId, $ as LetterTypes, Z as TreeOfLife } from '../correspondence-model-DWXbAjC-.js';
3
2
 
4
3
  /**
5
4
  * Extended master numbers used in gematria reduction.
package/dist/index.d.mts CHANGED
@@ -1,9 +1,8 @@
1
1
  export { ASTROCARTOGRAPHY_DEFAULT_PLANETS, AngleType, AnnualProfection, AspectEdge, AspectName, AspectPerfection, AspectSpec, AstrocartographyHorizonLine, AstrocartographyHorizonPoint, AstrocartographyLineProximity, AstrocartographyMap, AstrocartographyMapOptions, AstrocartographyMeridianLine, AstrocartographyParan, AstrocartographyQueryOptions, AstrocartographyQueryResult, AzaltResult, BirthChart, BirthChartOptions, CalcFlag, CompositeChart, CompositeChartOptions, DEFAULT_ASPECT_SPECS, DOMICILE_RULERS, DecanResult, DodecatemoriaResult, EXALTATIONS, EssentialDignityResult, FirdariaMajorPeriod, FirdariaOptions, FirdariaPlanet, FirdariaResult, FirdariaSubPeriod, HouseSystem, HydratedNode, HydratedPlanet, MonthlyProfection, MonthlyProfectionsResult, PLANET_AND_NODE_NAMES, Planet, PlanetEquatorial, ResolveSwissEphRuntimeAssetsOptions, RiseTransitFlag, SIGNS, SLOW_PLANETS, Sign, SolarReturnChart, SolarReturnOptions, SwissEphRuntimeAssetPaths, SynastryChart, SynastryChartOptions, TraditionalPlanet, TransitAspectEdge, TransitAspectPoint, TransitChart, TransitChartOptions, TransitPlanet, TransitRangeOptions, TransitRangeResult, TwoChartOptions, VirtualNodes, ZodiacPosition, closeSwissEph, computeAspects, computeAstrocartographyMap, computeEquatorialPositions, computeGMST, computeHorizonLongitude, computeICLongitude, computeMCLongitude, computeMidpoints, computeSynastryAspects, computeTransitAspects, findHouseOf, findParansAtLatitude, formatDegreeMinutes, geographicAngularDifference, getAnnualProfection, getAspectMatch, getBirthChart, getCompositeChart, getDecan, getDetriment, getDodecatemoria, getDomicileRuler, getEssentialDignity, getExaltation, getFall, getFirdaria, getMonthlyProfections, getOppositeSign, getSolarReturnChart, getSwissEph, getSynastryChart, getTransitChart, getTransitRange, getZodiacPosition, normalizeAngle, queryAstrocartographyLocation, resolveSwissEphRuntimeAssets, shorterArcMidpoint } from './astrology/index.mjs';
2
- export { Q as BaseNode, v as COLORS, w as COLORS_DATA, C as ColorData, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, K as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, x as LetterTypes, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, B as MiscTypes, M as MusicalNoteData, O as Node, J as NodeData, E as NodeId, D as NodeType, N as NumerologyTypes, d as PLANETS, P as PathData, b as SPHERES, c as SPHERES_DATA, S as SphereData, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, A as TantraTypes, T as TarotArkAnnuData, z as TarotTypes, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, y as WesternAstrologyTypes, W as WorldData, G as id, I as parseId } from './constants-C0XjrYIG.mjs';
3
- export { B as Bridge, b as CorrespondenceEdge, i as CorrespondenceMap, h as CorrespondenceMatch, a as CorrespondenceMetadata, C as CorrespondenceSource, g as CorrespondenceStep, L as Loader, P as PartKey, j as SYSTEMS, S as System, k as SystemKey, c as TreeNote, T as TreeNoteTarget, l as TreeOfLife, e as TreeOverlay, d as TreeOverlayCorrespondence, f as TreeWorkspaceDescriptor, U as Unloader, m as makeCorrespondenceId } from './correspondence-model-BrtIu5tW.mjs';
2
+ export { ab as BaseNode, Y as Bridge, v as COLORS, w as COLORS_DATA, C as ColorData, z as CorrespondenceEdge, K as CorrespondenceMap, J as CorrespondenceMatch, y as CorrespondenceMetadata, x as CorrespondenceSource, I as CorrespondenceStep, F as FOUR_WORLDS, a as FOUR_WORLDS_DATA, n as HEBREW_LETTERS, o as HEBREW_LETTERS_DATA, H as HebrewLetterData, _ as KaabalahTypes, l as LATIN_LETTERS, m as LATIN_LETTERS_DATA, k as LURIANIC_PATHS, L as LatinLetterData, $ as LetterTypes, V as Loader, j as MELKITZEDEKI_PATHS, e as MODALITIES, t as MUSICAL_NOTES, u as MUSICAL_NOTES_DATA, a4 as MiscTypes, M as MusicalNoteData, aa as Node, a9 as NodeData, a6 as NodeId, a5 as NodeType, a3 as NumerologyTypes, d as PLANETS, U as PartKey, P as PathData, b as SPHERES, c as SPHERES_DATA, Q as SYSTEMS, S as SphereData, O as System, R as SystemKey, q as TAROT_ARKANNUS, s as TAROT_ARKANNUS_DATA, r as TAROT_DECKS, p as TAROT_SUITS, a2 as TantraTypes, T as TarotArkAnnuData, a1 as TarotTypes, B as TreeNote, A as TreeNoteTarget, Z as TreeOfLife, E as TreeOverlay, D as TreeOverlayCorrespondence, G as TreeWorkspaceDescriptor, X as Unloader, i as WESTERN_ASPECTS, g as WESTERN_ELEMENTS, h as WESTERN_HOUSES, f as WESTERN_ZODIAC_SIGNS, a0 as WesternAstrologyTypes, W as WorldData, a7 as id, N as makeCorrespondenceId, a8 as parseId } from './correspondence-model-DWXbAjC-.mjs';
4
3
  export { CreateTreeWorkspaceOptions, TreeCorrespondenceQueryOptions, TreeFindNodesOptions, TreeOptions, TreeVisualRequest, TreeVisualResolver, TreeVisualResult, TreeWorkspace, createTree, createTreeWorkspace, getCanonicalTree } from './core/index.mjs';
5
4
  export { GematriaData, calculateGematria, reverseGematria } from './gematria/index.mjs';
6
5
  export { OduNumbers, calculateOdu } from './ifa/index.mjs';
7
6
  export { MASTER_NUMBERS, NumerologyData, NumerologyData as NumerologyModuleTypes, calculateChallenges, calculateCycles, calculateFibonacciCycle, calculateKaabalisticLifePath, calculatePersonalCycles, calculatePersonalMonths, calculatePersonalPeriods, calculatePersonalYear, calculateStraightAcrossReductionLifePath, getDateEnergies, isMasterNumber, reduceToSingle, reduceToSingleWithSteps } from './numerology/index.mjs';
8
7
  export { HouseNumber, HouseThemeAxis, HouseThemeLookup, HouseThemeProfile, HouseThemeScope, OCCULT_THEME_STOPWORDS, OccultThemeCorrespondence, OccultThemeCorrespondences, TarotMajorArchetypeReference, TarotThemeCorrespondences, TarotThemeLookup, TarotThemeProfile, TokenizeOccultThemeTextOptions, getHouseThemeProfile, getTarotThemeProfile, listHouseThemeProfiles, listTarotThemeProfiles, tokenizeOccultThemeText } from './semantic/index.mjs';
9
- export { ARKANNUS, Deck, DrawTarotSpreadOptions, MajorArcana, TAROT_IMAGE_BASE_URL, TarotArchetype, TarotArchetypeLookup, TarotAssetPathType, TarotAstrologyCorrespondence, TarotAstrologyCorrespondenceType, TarotCard, TarotCardKind, TarotCardProfile, TarotDeckDescription, TarotDeckId, TarotDeckMetadata, TarotImageLookup, TarotInquirerGender, TarotRepresentation, TarotSpreadCardConstraint, TarotSpreadCardType, TarotSpreadContextKey, TarotSpreadDefinition, TarotSpreadDrawResult, TarotSpreadId, TarotSpreadInquirerRule, TarotSpreadMinorRank, TarotSpreadResolvedSelectionCard, TarotSpreadSelectionCard, TarotSpreadSelectionContext, TarotSpreadSlotDefinition, TarotSpreadSlotMetadata, TarotSpreadValidationErrorCode, TarotSpreadValidationInput, TarotSpreadValidationIssue, TarotSpreadValidationResult, drawTarotSpread, getTarotArchetype, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection } from './tarot/index.mjs';
8
+ export { ARKANNUS, DEFAULT_TAROT_TREE_ID, Deck, DrawTarotSpreadOptions, MajorArcana, TAROT_IMAGE_BASE_URL, TAROT_TREE_IDS, TarotArchetype, TarotArchetypeLookup, TarotAssetPathType, TarotAstrologyCorrespondence, TarotAstrologyCorrespondenceType, TarotCard, TarotCardKind, TarotCardProfile, TarotDeckDescription, TarotDeckId, TarotDeckMetadata, TarotImageLookup, TarotInquirerGender, TarotRepresentation, TarotSpreadCardConstraint, TarotSpreadCardType, TarotSpreadContextKey, TarotSpreadDefinition, TarotSpreadDrawResult, TarotSpreadId, TarotSpreadInquirerRule, TarotSpreadMinorRank, TarotSpreadResolvedSelectionCard, TarotSpreadSelectionCard, TarotSpreadSelectionContext, TarotSpreadSlotDefinition, TarotSpreadSlotMetadata, TarotSpreadValidationErrorCode, TarotSpreadValidationInput, TarotSpreadValidationIssue, TarotSpreadValidationResult, TarotTreeId, drawTarotSpread, getTarotArchetype, getTarotCardByNumber, getTarotCardNumber, getTarotCardProfile, getTarotRepresentation, getTarotRepresentations, getTarotSpread, listTarotDecks, listTarotSpreads, listTarotTrees, majorArcana, resolveTarotImageUrl, shuffleTarotDeck, validateTarotSpreadSelection } from './tarot/index.mjs';