UNPKG

kaabalah

Version:

The de-facto library for any esoteric calculations and tooling

30 lines (28 loc) 1.56 kB
/** * Tarot interpretation functions */ type Deck = "papus_pt" | "papus" | "mythic" | "egyptian" | "rider-waite"; type MajorArcana = "01_the_magician" | "02_the_high_priestess" | "03_the_empress" | "04_the_emperor" | "05_the_hierophant" | "06_the_lover" | "07_the_chariot" | "08_justice" | "09_the_hermit" | "10_the_wheel_of_fortune" | "11_strength" | "12_the_hanged_man" | "13_death" | "14_temperance" | "15_the_devil" | "16_the_house_of_god" | "17_the_star" | "18_the_moon" | "19_the_sun" | "20_judgement" | "21_the_fool" | "22_the_world"; type TarotCard = { number: number; tarotCard: string; tarotCardFilename: string; egyptianCardName?: string; meaning: string; type: "major" | "minor" | "daat+royalship"; deck: string; suit?: string; isInverted?: boolean; }; declare const majorArcana: MajorArcana[]; declare const ARKANNUS: TarotCard[]; /** * Shuffles a deck of tarot cards and optionally includes inverted cards * @param cards - Array of tarot cards to shuffle * @param includeInvertedCards - Whether to include inverted cards in the shuffle * @param shuffleCount - Number of times to shuffle the deck (default: 6) * @param shuffleDelay - Delay between shuffles in milliseconds (default: 300) * @returns Promise that resolves to the shuffled deck */ declare function shuffleTarotDeck(cards: TarotCard[], includeInvertedCards?: boolean, shuffleCount?: number, shuffleDelay?: number): Promise<TarotCard[]>; export { ARKANNUS, type Deck, type MajorArcana, type TarotCard, majorArcana, shuffleTarotDeck };