import { type ParentBody, type ShowerLink } from "../data/meteor-iau.ts"; import { type MeteorShower } from "../data/meteor-showers.ts"; /** * The parent body of a shower, found by the shower's IAU code, as the IAU Meteor Data Center's origin column names it. * * @param code - The IAU's three-letter code (`PER`). * @returns The comet or asteroid, or `null` when the shower has none named (or the code is not in the table). * * @example * ```ts * import { parentBodyOf } from "@johnmorrisdotca/chikyu-earth/meteors"; * * console.log(parentBodyOf("PER")?.designation, parentBodyOf("GEM")?.kind, parentBodyOf("COM")); * ``` */ export declare function parentBodyOf(code: string): ParentBody | null; /** * The showers that come from one parent body, found by its designation (the whole designation, or just its number or name: `2P` and `Encke` both find `2P/Encke`). * * @param designation - A designation: `1P/Halley`, `1P`, `Halley`, `(3200) Phaethon`. * @returns The showers, in the table's order (empty when none comes from it). * * @example * ```ts * import { showersOfParent } from "@johnmorrisdotca/chikyu-earth/meteors"; * * console.log(showersOfParent("1P/Halley").map((shower) => shower.code), showersOfParent("2P").map((shower) => shower.name)); * ``` */ export declare function showersOfParent(designation: string): MeteorShower[]; /** * Where a row's figures come from, in a sentence: the International Meteor Organization's table for the dates, the radiant, the speed and the rate, the IAU Meteor Data Center for the name, the parent body and the check, and * which of the radiant and speed were replaced by the IAU's. * * @param link - A shower's link (`METEOR_LINKS`). * @returns The sentence, in English. * * @example * ```ts * import { METEOR_LINKS, showerSource } from "@johnmorrisdotca/chikyu-earth/meteors"; * * console.log(showerSource(METEOR_LINKS.find((link) => link.code === "LYR")!)); * ``` */ export declare function showerSource(link: ShowerLink): string;