@zodiacs/engine 0.1.1-rc.14

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.
@@ -0,0 +1,478 @@
1
+ import { DeltaT } from './deltat.js';
2
+ export { DELTA_T_MODEL, DELTA_T_TABLE, DeltaTSegment, DeltaTTable, deltaT, deltaTAt } from './deltat.js';
3
+ import { B as BodyName, b as Chart, d as BirthInput, D as DateInput, e as ChartPoints, M as MoonPhase, a as BodyPosition, S as SynastryResult, T as TransitResult, f as Sect, g as MinimalBody, E as Element, I as InterAspect, h as Modality, P as PairSummary } from './types-CeafogFp.js';
4
+ export { A as Angles, i as Aspect, j as AspectType, c as ChartFlag, C as ChartInput, k as ENGINE_VERSION, l as EPHEMERIS, m as HouseNumber, H as HouseSystem, n as Houses, o as MoonPhaseName, p as PointName, q as PointPosition, r as Polarity, s as SignDefinition, Z as ZodiacSign } from './types-CeafogFp.js';
5
+ import { LongitudeCrossing, CrossingSearchOptions, CrossingSearchResult } from './crossings.js';
6
+ export { BodyLongitudeAt, findLongitudeCrossingsWith, searchLongitudeCrossingsWith } from './crossings.js';
7
+ export { A as ASPECTS, a as ASPECT_BODIES, b as ASPECT_TYPES, c as AngleInput, d as AspectDefinition, e as AspectMotion, E as ELEMENTS, H as HOUSE_SYSTEMS, M as MODALITIES, P as PLACIDUS_POLAR_FALLBACK, f as POLAR_FALLBACK, g as POLAR_UNDEFINED_HOUSE_SYSTEMS, S as SIGNS, h as SIGN_NAMES, i as STATIONARY_RELATIVE_SPEED, j as alcabitiusCusps, k as aspectMotion, l as campanusCusps, m as computeAngles, n as computeHouses, o as degreeInSign, p as eastPointOf, q as equalCusps, r as equalMcCusps, s as findAspects, t as houseOf, u as isPolarUndefinedHouseSystem, v as kochCusps, w as matchAspect, x as meanObliquity, y as meridianCusps, z as morinusCusps, B as normalizeLongitude, C as placidusCusps, D as porphyryCusps, F as ramcOf, G as regiomontanusCusps, I as separation, J as signForLongitude, K as signIndexForLongitude, L as topocentricCusps, N as vehlowCusps, O as vertexOf, Q as wholeSignCusps } from './internal-math-BE2hcSHd.js';
8
+
9
+ /** Geometry over full ecliptic positions; no independent ephemeris is implied. */
10
+
11
+ /** Site-compatible maximum orb, in degrees, for a pair without Sun or Moon. */
12
+ declare const DECLINATION_ORB = 1;
13
+ /** Site-compatible maximum orb when either identifier is exactly Sun or Moon. */
14
+ declare const DECLINATION_ORB_LUMINARY = 1.5;
15
+ interface DeclinationOrbPolicy {
16
+ /** Inclusive maximum difference in degrees for an ordinary pair. */
17
+ orb: number;
18
+ /** Inclusive maximum when Sun or Moon is a member of the pair. */
19
+ luminaryOrb: number;
20
+ }
21
+ declare const DEFAULT_DECLINATION_ORB_POLICY: Readonly<DeclinationOrbPolicy>;
22
+ /**
23
+ * Horizontal unit-vector magnitude below which RA is numerically undefined.
24
+ * This is a floating-point singularity convention, not a physical error bound.
25
+ */
26
+ declare const RA_POLE_TOLERANCE: number;
27
+ /**
28
+ * Degrees of ecliptic latitude within which a supplied row labelled exactly
29
+ * "Sun" is never flagged out of bounds by declinationsForBodies, by convention
30
+ * (0.001°, 3.6″). A chart's own Sun, in chartDeclinations, is exempt at any
31
+ * latitude. See outOfBounds.
32
+ */
33
+ declare const SUN_BOUND_LATITUDE = 0.001;
34
+ interface EquatorialCoordinates {
35
+ /** Right ascension in degrees [0,360), or null at a numerical celestial pole. */
36
+ ra: number | null;
37
+ /** Declination in degrees [-90,90], north positive. */
38
+ dec: number;
39
+ /** False exactly when ra is null; consult RA_POLE_TOLERANCE. */
40
+ raDefined: boolean;
41
+ }
42
+ interface DeclinationBody {
43
+ body: string;
44
+ /** Ecliptic longitude in degrees; finite values wrap into [0,360). */
45
+ lon: number;
46
+ /** Full ecliptic latitude in degrees [-90,90], not an assumed zero. */
47
+ lat: number;
48
+ }
49
+ interface DeclinationRow extends DeclinationBody, EquatorialCoordinates {
50
+ /**
51
+ * Strictly |declination| > the supplied true obliquity, with no uncertainty
52
+ * allowance, except for the Sun, by convention. In chartDeclinations the
53
+ * chart's own Sun row is never out of bounds, at any latitude. In
54
+ * declinationsForBodies a row labelled exactly "Sun" is exempt while its
55
+ * ecliptic latitude is within SUN_BOUND_LATITUDE, and flagged by the strict
56
+ * rule beyond it. The real Sun does pass the bound at about half of all
57
+ * solstices, by up to about 1.1″, but the ephemeris's solar declination is
58
+ * off by up to about 2.7″ near the present and its solar latitude by tens of
59
+ * arcseconds far from it (−68″ in year 2, +26″ in 3902), more than the
60
+ * effect, so the flag could not say which.
61
+ */
62
+ outOfBounds: boolean;
63
+ /**
64
+ * |declination| − trueObliquity, in arcseconds: positive beyond the bound,
65
+ * negative inside it. For every row but the exempt Sun, outOfBounds is
66
+ * exactly boundMarginArcsec > 0. The flag describes the ephemeris's position;
67
+ * it agrees with the real sky only where |boundMarginArcsec| exceeds the
68
+ * ephemeris's declination error for that body (see the README).
69
+ */
70
+ boundMarginArcsec: number;
71
+ }
72
+ type DeclinationAspectType = "parallel" | "contraparallel";
73
+ interface DeclinationAspect {
74
+ a: string;
75
+ b: string;
76
+ type: DeclinationAspectType;
77
+ /**
78
+ * Degrees from the selected parallel or contraparallel: the exact
79
+ * min(|decA − decB|, |decA + decB|) of the two declination doubles,
80
+ * rounded to the nearest double.
81
+ */
82
+ orb: number;
83
+ /** Inclusive maximum allowed by the explicit pair policy. */
84
+ maximumOrb: number;
85
+ decA: number;
86
+ decB: number;
87
+ /**
88
+ * Ecliptic-longitude separation of the two supplied longitudes, reduced
89
+ * exactly modulo 360, in degrees [0,180]; not sky separation. Rounded once.
90
+ */
91
+ separation: number;
92
+ }
93
+ interface Declinations {
94
+ /**
95
+ * True obliquity of date in degrees: the bound for out-of-bounds flags. From
96
+ * chartDeclinations it is astronomy-engine's, at the chart instant on its TT
97
+ * clock: the IAU 2006 mean obliquity plus astronomy-engine's five-term
98
+ * truncation of the IAU 2000B nutation in obliquity. Elsewhere it is the
99
+ * value supplied.
100
+ */
101
+ trueObliquity: number;
102
+ rows: DeclinationRow[];
103
+ aspects: DeclinationAspect[];
104
+ orbPolicy: DeclinationOrbPolicy;
105
+ convention: "true-equator-and-equinox-of-date; full-ecliptic-longitude-and-latitude";
106
+ /** This derived feature is not asserted to be covered by the natal receipt. */
107
+ receiptScope: "not-included-in-natal-receipt";
108
+ }
109
+ interface ChartDeclinations extends Declinations {
110
+ /** Observation instant, retaining the engine's UTC-label/UT1 convention. */
111
+ utc: string;
112
+ /** The evaluated provider Delta-T used to obtain true obliquity. */
113
+ deltaT: DeltaT;
114
+ }
115
+ /**
116
+ * Rotate full ecliptic longitude/latitude into the equator associated with the
117
+ * explicitly supplied true obliquity. Both angles and the obliquity are degrees.
118
+ * The source frame/corrections must already be appropriate: this rotation does
119
+ * not add light time, aberration, precession or an ephemeris precision guarantee.
120
+ */
121
+ declare function eclipticToEquatorial(longitudeDeg: number, latitudeDeg: number, trueObliquityDeg: number): EquatorialCoordinates;
122
+ /** Declination from full longitude/latitude and explicitly supplied obliquity. */
123
+ declare function declinationOf(lon: number, lat: number, trueObliquity: number): number;
124
+ /** Inclusive pair allowance; the returned value makes the applied policy explicit. */
125
+ declare function declinationOrb(a: string, b: string, policy?: Readonly<DeclinationOrbPolicy>): number;
126
+ /**
127
+ * Site-compatible nearest declination aspect for each supplied pair. Inclusive
128
+ * orbs, decided exactly on the declination doubles; a parallel wins an exact
129
+ * tie at the equator. Every supplied body is eligible, including nodes; no
130
+ * longitude-aspect body filter is inferred.
131
+ */
132
+ declare function findDeclinationAspects(bodies: readonly DeclinationBody[], trueObliquity: number, policy?: Readonly<DeclinationOrbPolicy>): DeclinationAspect[];
133
+ /** Pure derived output; the chart wrapper supplies a provider obliquity of date. */
134
+ declare function declinationsForBodies(bodies: readonly DeclinationBody[], trueObliquity: number, policy?: Readonly<DeclinationOrbPolicy>): Declinations;
135
+
136
+ interface ReturnSeason {
137
+ /** One-based return number. */
138
+ index: number;
139
+ crossings: LongitudeCrossing[];
140
+ first: Date;
141
+ last: Date;
142
+ }
143
+ interface SaturnReturnResult {
144
+ natalLon: number;
145
+ natalRetrograde: boolean;
146
+ seasons: ReturnSeason[];
147
+ }
148
+ /**
149
+ * Every instant in (from, to] when `body` sits exactly on `targetLongitude`,
150
+ * from the engine's apparent geocentric longitudes, in time order. This is
151
+ * {@link findLongitudeCrossingsWith} on the engine's ephemeris, with its
152
+ * conventions: a root exactly at `from` is not reported and one exactly at
153
+ * `to` is, an exact sample is reported once, and a pair of crossings around a
154
+ * station that falls between two samples is found and kept. There is no
155
+ * sample budget; {@link searchLongitudeCrossings} takes one and refuses
156
+ * instead of throwing. Invalid input throws RangeError.
157
+ */
158
+ declare function findLongitudeCrossings(body: BodyName, targetLongitude: number, from: Date, to: Date, stepDays?: number): LongitudeCrossing[];
159
+ /**
160
+ * {@link findLongitudeCrossings} under an optional budget of ephemeris
161
+ * evaluations, `maxSamples`, with the step as `stepDays` (default 5). Over
162
+ * budget, it returns `{ status: "refused", reason: "sample-budget" }` with no
163
+ * crossings rather than throwing.
164
+ */
165
+ declare function searchLongitudeCrossings(body: BodyName, targetLongitude: number, from: Date, to: Date, options?: CrossingSearchOptions): CrossingSearchResult;
166
+ declare function groupIntoSeasons(crossings: readonly LongitudeCrossing[], gapDays?: number): ReturnSeason[];
167
+
168
+ type NatalSource = Chart | BirthInput;
169
+ type SaturnReturnSource = NatalSource | DateInput;
170
+ /**
171
+ * Apparent geocentric tropical positions for an instant. Speeds are sampled
172
+ * up to six hours either side of it, so an instant nearer either end of the
173
+ * Date range, or one astronomy-engine cannot evaluate, throws RangeError.
174
+ */
175
+ declare function positions(date: DateInput): BodyPosition[];
176
+ /** Build a natal chart from an already resolved UTC instant. */
177
+ declare function natalChart(birth: BirthInput): Chart;
178
+ /**
179
+ * Equatorial coordinates and declination aspects derived from a natal chart's
180
+ * full ecliptic positions, on its own Delta T clock. A supplied Chart's
181
+ * numerical positions remain caller claims, as with chartPoints and synastry.
182
+ * This additional analysis is not included in the natal receipt.
183
+ */
184
+ declare function chartDeclinations(natal: NatalSource): ChartDeclinations;
185
+ /**
186
+ * The chart's points: the mean lunar node and its opposite, and Black Moon
187
+ * Lilith (the mean lunar apogee), for any chart; with a birth time and place,
188
+ * also the Vertex, the East Point, the chart's sect and the seven lots of
189
+ * Paulus Alexandrinus. A supplied Chart is checked as `transits` checks one;
190
+ * its lots are taken from its own ascendant and bodies.
191
+ */
192
+ declare function chartPoints(natal: NatalSource): ChartPoints;
193
+ /** Snapshot of current positions and their major aspects to a natal chart. */
194
+ declare function transits(natal: NatalSource, date: DateInput): TransitResult;
195
+ /** Major inter-chart aspects and element/modality balances. */
196
+ declare function synastry(first: NatalSource, second: NatalSource): SynastryResult;
197
+ /** High-precision Moon phase derived from the same positions as charts. */
198
+ declare function moonPhase(date: DateInput): MoonPhase;
199
+ /** Natal Saturn and return seasons through approximately age 92. */
200
+ declare function saturnReturn(birth: SaturnReturnSource): SaturnReturnResult;
201
+
202
+ /** Fixed tropical-year convention for secondary progressions. */
203
+ declare const PROGRESSION_DAYS_PER_YEAR = 365.2422;
204
+ /**
205
+ * Map elapsed life to the instant whose positions are progressed: one
206
+ * 365.2422-day tropical year advances one 86,400,000-millisecond day after
207
+ * birth, both counted in UTC milliseconds as Date counts them (no leap
208
+ * seconds), not in ephemeris days. This is elapsed-time arithmetic, not
209
+ * calendar-year or local civil-time arithmetic. Targets before birth use the
210
+ * same signed mapping, which is not a converse progression. Inputs are
211
+ * resolved DateInput instants; they and the returned Date are independent objects.
212
+ */
213
+ declare function progressedInstant(birthUtc: DateInput, target: DateInput): Date;
214
+ /**
215
+ * The same twelve rows as positions(), at progressedInstant(birthUtc, target):
216
+ * Sun, Moon, eight planets and the true north/south lunar nodes. Speed remains
217
+ * the ephemeris rate in degrees per day at that instant, a central difference
218
+ * over ±0.001 day (±0.25 day for the nodes); numerically it is also degrees
219
+ * per tropical year of life, not degrees per lived day. An instant the
220
+ * ephemeris cannot evaluate throws RangeError. No progressed angles, houses,
221
+ * chart points or receipt are calculated.
222
+ */
223
+ declare function progressedBodies(birthUtc: DateInput, target: DateInput): BodyPosition[];
224
+
225
+ /**
226
+ * Explicit longitude-aspect policies. This API does not change natal charts,
227
+ * synastry defaults, or the existing calculation-receipt conventions.
228
+ *
229
+ * Arithmetic is exact on the binary64 inputs: each longitude, speed, angle,
230
+ * orb and threshold is the exact value of its double, every comparison is
231
+ * decided on exact values, and only the reported orb is rounded, once.
232
+ */
233
+ type ConfiguredAspectMotion = "applying" | "separating" | "stationary";
234
+ /** Degrees of orb, including the boundary, for each instantaneous motion. */
235
+ interface AspectOrbLimits {
236
+ readonly applying: number;
237
+ readonly separating: number;
238
+ readonly stationary: number;
239
+ }
240
+ /** A number supplies the same limit for all three motions. */
241
+ type AspectOrbInput = number | AspectOrbLimits;
242
+ /** Names fix angles only: there is no universally prescribed orb for a minor aspect. */
243
+ declare const CONFIGURED_ASPECT_ANGLES: Readonly<{
244
+ readonly conjunction: 0;
245
+ readonly semisextile: 30;
246
+ readonly semisquare: 45;
247
+ readonly sextile: 60;
248
+ readonly quintile: 72;
249
+ readonly square: 90;
250
+ readonly trine: 120;
251
+ readonly sesquiquadrate: 135;
252
+ readonly biquintile: 144;
253
+ readonly quincunx: 150;
254
+ readonly opposition: 180;
255
+ }>;
256
+ interface AspectRuleInput {
257
+ /** A named angle above, or a custom lowercase identifier with an explicit angle. */
258
+ readonly type: string;
259
+ readonly angle?: number;
260
+ readonly orb: AspectOrbInput;
261
+ /** Optional replacement for orb when either label is exactly Sun or Moon. */
262
+ readonly luminaryOrb?: AspectOrbInput;
263
+ }
264
+ interface ResolvedAspectRule {
265
+ readonly type: string;
266
+ readonly angle: number;
267
+ readonly orb: AspectOrbLimits;
268
+ readonly luminaryOrb?: AspectOrbLimits;
269
+ }
270
+ interface AspectPolicyInput {
271
+ /** Defaults to the five existing major aspects and their existing orbs. */
272
+ readonly aspects?: readonly AspectRuleInput[];
273
+ /** Exact, case-sensitive labels to include; defaults to the ten physical bodies. */
274
+ readonly bodies?: readonly string[];
275
+ /** Per-body upper bounds. Both members' caps apply after the rule/luminary limit. */
276
+ readonly bodyOrbs?: Readonly<Record<string, AspectOrbInput>>;
277
+ /** Degrees/day; equal speeds are stationary even when this threshold is zero. */
278
+ readonly stationaryRelativeSpeed?: number;
279
+ }
280
+ interface AspectPolicy {
281
+ readonly schema: "zodiacs.aspect-policy.v1";
282
+ readonly aspects: readonly ResolvedAspectRule[];
283
+ readonly bodies: readonly string[];
284
+ readonly bodyOrbs: Readonly<Record<string, AspectOrbLimits>>;
285
+ readonly stationaryRelativeSpeed: number;
286
+ readonly conventions: {
287
+ readonly coordinates: "ecliptic-longitude-degrees-[0,360)";
288
+ readonly speed: "longitude-degrees-per-day;same-time-basis";
289
+ readonly motion: "instantaneous-orb-rate;right-derivative-at-circular-corners;exact-separating-unless-stationary";
290
+ readonly orb: "inclusive;luminary-replaces-rule;minimum-of-rule-and-both-body-caps";
291
+ readonly matching: "one-per-pair;smallest-absolute-orb;definition-order-on-tie";
292
+ readonly ordering: "ascending-orb;input-pair-order-on-tie";
293
+ /**
294
+ * Every input is the exact value of its double; separation, orb, motion,
295
+ * eligibility, matching and ordering are decided exactly, without a
296
+ * tolerance. The reported orb is the exact orb rounded to nearest, ties to even.
297
+ */
298
+ readonly arithmetic: "exact-binary64;reported-orb-rounded-half-even";
299
+ };
300
+ }
301
+ interface AspectPosition {
302
+ readonly body: string;
303
+ readonly lon: number;
304
+ /** Required, finite, and on a common time basis. Missing/null speed is rejected. */
305
+ readonly speed: number;
306
+ }
307
+ interface ConfiguredAspect {
308
+ readonly a: string;
309
+ readonly b: string;
310
+ readonly type: string;
311
+ readonly angle: number;
312
+ /** |separation − angle|, decided exactly and reported rounded to the nearest double. */
313
+ readonly orb: number;
314
+ readonly maximumOrb: number;
315
+ readonly motion: ConfiguredAspectMotion;
316
+ readonly applying: boolean;
317
+ }
318
+ /** Policy is calculation context, not an authenticated receipt or a physical accuracy bound. */
319
+ interface ConfiguredAspectResult {
320
+ readonly schema: "zodiacs.configured-aspects.v1";
321
+ readonly policy: AspectPolicy;
322
+ readonly aspects: readonly ConfiguredAspect[];
323
+ }
324
+ /**
325
+ * Resolve, snapshot and deeply freeze a policy. No caller object is retained.
326
+ * Named types cannot be assigned a different angle. Custom types need an angle
327
+ * in [0,180]. Empty aspect/body selections intentionally return no matches.
328
+ * Body caps can tighten, never widen, the selected rule/luminary allowance.
329
+ */
330
+ declare function createAspectPolicy(input?: AspectPolicyInput): AspectPolicy;
331
+ /** Independent immutable copy of the historical five-aspect/ten-body defaults. */
332
+ declare const DEFAULT_ASPECT_POLICY: AspectPolicy;
333
+ /**
334
+ * Return at most one eligible aspect per pair, with the resolved policy.
335
+ * Supply a policy made by createAspectPolicy (or DEFAULT_ASPECT_POLICY).
336
+ * Speeds are required even for unselected rows: unknown speed is not stationary.
337
+ * Every row is validated, duplicates reject, and absent selected bodies are
338
+ * allowed. Separation, orb, motion, eligibility, the closest rule and the
339
+ * result order are decided on exact values; equal exact orbs keep definition
340
+ * order within a pair and input pair order in the result, as legacy
341
+ * findAspects does. The returned policy and results are immutable; they are
342
+ * not natal receipts.
343
+ */
344
+ declare function findConfiguredAspects(positions: readonly AspectPosition[], policy: AspectPolicy): ConfiguredAspectResult;
345
+
346
+ /**
347
+ * The Moon's mean anomaly l, mean argument of latitude F and mean longitude of
348
+ * the ascending node Ω, in degrees, for Julian centuries of TT from J2000.
349
+ * These are the fundamental arguments of the IERS Conventions (2003, 2010),
350
+ * eq. 5.43, from Simon et al. (1994), referred to the mean ecliptic and
351
+ * equinox of date.
352
+ */
353
+ declare function lunarMeanArguments(centuries: number): {
354
+ l: number;
355
+ F: number;
356
+ node: number;
357
+ };
358
+ /** The Moon's mean orbital inclination to the ecliptic, 5°08′43.4″. */
359
+ declare const MEAN_LUNAR_INCLINATION = 5.1453964;
360
+ /**
361
+ * The mean ascending node of the Moon: Ω of {@link lunarMeanArguments}, plus
362
+ * the nutation in longitude `nutation` (degrees) to refer it to the true
363
+ * equinox of date like every other longitude the engine reports.
364
+ */
365
+ declare function meanNodeLongitude(centuries: number, nutation: number): number;
366
+ /**
367
+ * The mean lunar apogee, Black Moon Lilith: the point of the mean lunar orbit
368
+ * 180° from the mean perigee. Its argument of latitude is F − l + 180°, and it
369
+ * is carried from the orbit, inclined at {@link MEAN_LUNAR_INCLINATION}, to
370
+ * the ecliptic, so it has a latitude of up to about 5°. The nutation in
371
+ * longitude `nutation` (degrees) refers it to the true equinox of date.
372
+ */
373
+ declare function meanApogee(centuries: number, nutation: number): {
374
+ lon: number;
375
+ lat: number;
376
+ };
377
+ /**
378
+ * Day or night: day when the Sun is above the horizon, which on the ecliptic
379
+ * is the half from the descendant through the midheaven to the ascendant
380
+ * (houses 7 to 12 counted from the ascendant). A Sun exactly on the ascendant
381
+ * counts as below the horizon, and one exactly on the descendant as above it.
382
+ */
383
+ declare function sectOf(ascendant: number, sun: number): Sect;
384
+ /** The longitudes the lots are taken from. */
385
+ interface LotInputs {
386
+ ascendant: number;
387
+ sun: number;
388
+ moon: number;
389
+ mercury: number;
390
+ venus: number;
391
+ mars: number;
392
+ jupiter: number;
393
+ saturn: number;
394
+ }
395
+ /** The lots, in the order {@link hellenisticLots} returns them. */
396
+ declare const LOTS: readonly ["Lot of Fortune", "Lot of Spirit", "Lot of Eros", "Lot of Necessity", "Lot of Courage", "Lot of Victory", "Lot of Nemesis"];
397
+ /**
398
+ * The seven lots of Paulus Alexandrinus, *Introductory Matters* (378 CE),
399
+ * ch. 23. Each is the ascendant plus the arc from one point to another, taken
400
+ * by day as given and reversed by night:
401
+ *
402
+ * - Fortune: from the Sun to the Moon.
403
+ * - Spirit: from the Moon to the Sun.
404
+ * - Eros: from Spirit to Venus.
405
+ * - Necessity: from Mercury to Fortune.
406
+ * - Courage: from Mars to Fortune.
407
+ * - Victory: from Spirit to Jupiter.
408
+ * - Nemesis: from Saturn to Fortune.
409
+ *
410
+ * Ptolemy (*Tetrabiblos* III.10) takes Fortune by the day formula at night
411
+ * too; that variant is `ascendant + moon − sun` whatever the sect.
412
+ */
413
+ declare function hellenisticLots(inputs: LotInputs, sect: Sect): {
414
+ point: (typeof LOTS)[number];
415
+ lon: number;
416
+ }[];
417
+ /**
418
+ * The antiscion of a longitude: its mirror image across the solstitial axis,
419
+ * 0° Cancer to 0° Capricorn, so that the two points have the same declination
420
+ * on the ecliptic. 10° Taurus (40°) and 20° Leo (140°) are antiscia.
421
+ */
422
+ declare function antiscion(longitude: number): number;
423
+ /**
424
+ * The contra-antiscion: the mirror image across the equinoctial axis, 0° Aries
425
+ * to 0° Libra, the antiscion's opposite point.
426
+ */
427
+ declare function contraAntiscion(longitude: number): number;
428
+ /**
429
+ * The nearer midpoint of two longitudes, halfway along the shorter arc between
430
+ * them. When the two are exactly opposite, both midpoints are equally near;
431
+ * this returns the one 90° past the first.
432
+ */
433
+ declare function midpoint(first: number, second: number): number;
434
+
435
+ /**
436
+ * The span over which this engine's positions have been compared with an
437
+ * independent ephemeris: from 1800-01-01T00:00Z up to, not including,
438
+ * 2200-01-01T00:00Z. Charts outside it are still computed, and carry the
439
+ * `outside-reference-span` flag.
440
+ */
441
+ declare const REFERENCE_SPAN: Readonly<{
442
+ readonly from: "1800-01-01T00:00:00.000Z";
443
+ readonly to: "2200-01-01T00:00:00.000Z";
444
+ }>;
445
+ /**
446
+ * The span of Terrestrial Time over which the ephemeris is evaluated at all:
447
+ * the years astronomy-engine 2.1.19 itself tabulates, J2000 ± 730,000 days of
448
+ * TT (0001-04-30T12:00 to 3998-09-03T12:00 TT). That is the range of its Pluto
449
+ * model's state table; for any other time its source says: "The target time is
450
+ * outside the year range 0000..4000. Calculate it by crawling backward from 0000
451
+ * or forward from 4000. ... This is super slow." Beyond the table its other
452
+ * series diverge as well: on 30000-06-01 the Sun came out 29° off the ecliptic.
453
+ *
454
+ * Every instant a calculation evaluates, the instant and its speed samples, must
455
+ * lie inside on the calculation's own ΔT clock, or the call throws RangeError.
456
+ * With the model ΔT, instants from 0001-05-01T00:00Z to 3998-09-02T00:00Z are
457
+ * always inside. Being inside is not an accuracy claim: see REFERENCE_SPAN.
458
+ */
459
+ declare const EPHEMERIS_SPAN: Readonly<{
460
+ readonly timeScale: "TT";
461
+ /** Days of Terrestrial Time from J2000.0, 2000-01-01T12:00 TT, inclusive. */
462
+ readonly daysFromJ2000: Readonly<{
463
+ readonly from: -730000;
464
+ readonly to: 730000;
465
+ }>;
466
+ /** The same bounds as Terrestrial Time labels (not UTC). */
467
+ readonly fromTT: "0001-04-30T12:00:00";
468
+ readonly toTT: "3998-09-03T12:00:00";
469
+ }>;
470
+ /** True when the instant lies outside REFERENCE_SPAN. */
471
+ declare function outsideReferenceSpan(utc: Date): boolean;
472
+
473
+ declare function findInterAspects(first: readonly MinimalBody[], second: readonly MinimalBody[]): InterAspect[];
474
+ declare function elementBalance(bodies: readonly MinimalBody[]): Record<Element, number>;
475
+ declare function modalityBalance(bodies: readonly MinimalBody[]): Record<Modality, number>;
476
+ declare function summarizePair(first: readonly MinimalBody[], second: readonly MinimalBody[], topCount?: number): PairSummary;
477
+
478
+ export { type AspectOrbInput, type AspectOrbLimits, type AspectPolicy, type AspectPolicyInput, type AspectPosition, type AspectRuleInput, BirthInput, BodyName, BodyPosition, CONFIGURED_ASPECT_ANGLES, Chart, type ChartDeclinations, ChartPoints, type ConfiguredAspect, type ConfiguredAspectMotion, type ConfiguredAspectResult, CrossingSearchOptions, CrossingSearchResult, DECLINATION_ORB, DECLINATION_ORB_LUMINARY, DEFAULT_ASPECT_POLICY, DEFAULT_DECLINATION_ORB_POLICY, DateInput, type DeclinationAspect, type DeclinationAspectType, type DeclinationBody, type DeclinationOrbPolicy, type DeclinationRow, type Declinations, DeltaT, EPHEMERIS_SPAN, Element, type EquatorialCoordinates, InterAspect, LOTS, LongitudeCrossing, type LotInputs, MEAN_LUNAR_INCLINATION, MinimalBody, Modality, MoonPhase, type NatalSource, PROGRESSION_DAYS_PER_YEAR, PairSummary, RA_POLE_TOLERANCE, REFERENCE_SPAN, type ResolvedAspectRule, type ReturnSeason, SUN_BOUND_LATITUDE, type SaturnReturnResult, type SaturnReturnSource, Sect, SynastryResult, TransitResult, antiscion, chartDeclinations, chartPoints, contraAntiscion, createAspectPolicy, declinationOf, declinationOrb, declinationsForBodies, eclipticToEquatorial, elementBalance, findConfiguredAspects, findDeclinationAspects, findInterAspects, findLongitudeCrossings, groupIntoSeasons, hellenisticLots, lunarMeanArguments, meanApogee, meanNodeLongitude, midpoint, modalityBalance, moonPhase, natalChart, outsideReferenceSpan, positions, progressedBodies, progressedInstant, saturnReturn, searchLongitudeCrossings, sectOf, summarizePair, synastry, transits };