/** * astroengine yogas -- classical Vedic yogas (planetary combinations) judged on * the sidereal rasi (D1) chart. * * Covers the well-defined, placement-based yogas with no textual variation: the * five Pancha Mahapurusha yogas (a non-luminary in its own sign or exaltation * AND in a kendra from the Ascendant -- Ruchaka/Mars, Bhadra/Mercury, * Hamsa/Jupiter, Malavya/Venus, Shasha/Saturn); Gajakesari (Jupiter in a kendra * from the Moon); Budha-Aditya (Sun and Mercury in one sign); and * Chandra-Mangala (Moon and Mars in one sign). Own-sign/exaltation use the * engine's `dignities`; houses are whole-sign from the Ascendant. The * variant-laden yogas (Kemadruma, lordship-based raja/dhana) are left to a later * step. Mirrors the Python reference (astroengine/yogas.py). */ import { Engine, Zodiac, AlwaysBody } from "./chart.js"; export declare const YOGA_PLANETS: readonly AlwaysBody[]; export interface Yoga { yoga: string; planets: string[]; } /** The placement yogas present in a chart. `signs` maps each of the seven * classical planets to its 0-based sign index; `ascSign` is the Ascendant's * sign index. */ export declare function detectYogas(signs: Record, ascSign: number): Yoga[]; export interface Kemadruma { present: boolean; planets_checked: string[]; } /** Kemadruma yoga: the Moon is isolated -- no planet in the 2nd or 12th sign * from it, nor conjunct it. The planet set is parameterized (texts vary): the * default is the five tara grahas, `includeSun` adds the Sun, `includeNodes` * adds Rahu/Ketu when present in `signs`. */ export declare function kemadruma(signs: Record, includeSun?: boolean, includeNodes?: boolean): Kemadruma; /** Kemadruma yoga of a natal chart, from the sidereal rasi positions. */ export declare function kemadrumaAt(engine: Engine, natalJd: number, lat: number, lonEast: number, includeSun?: boolean, includeNodes?: boolean, zodiac?: Zodiac): Kemadruma; /** The placement yogas of a natal chart, from the sidereal rasi positions. */ export declare function yogasAt(engine: Engine, natalJd: number, lat: number, lonEast: number, zodiac?: Zodiac): Yoga[];