/** * Two-line element set TEXT PARSING and conversion to CCSDS OMM records. * * FORMAT CONVERSION ONLY — no propagation, no frames, no physics of any kind. * Elements are parsed out of 69-column fixed-width text and restated under * CCSDS field names; they are never ADVANCED. Nothing here integrates, rotates, * or evaluates an orbit. * * That distinction is the whole reason this file survived the excision of * `src/astro/` (graph task `sdn-js-astro-ships-a-js-propagator`). OWNER LAW * 2026-08-09, verbatim: "There is no JS physics at all. Everything we are doing * is through WASM space data module SDK no exceptions." JavaScript in a shipped * bundle holds exactly four things — UI state, rendering glue, unit/format * conversion, and dispatch. This is the third one, and it must stay the third * one: if a future edit here needs to know where an object IS rather than what * its element set SAYS, that belongs in `propagator/sgp4` reached through the * space-data-module-sdk browser harness, never in this file. * * Field names follow the OMM FlatBuffer surface used across SDN (see * src/ui/runtime/omm-flatbuffer.ts), so the output of tleToOMM() can be fed * directly to the OMM builders and to any module that takes an OMM record. */ /** The two element lines of a TLE, plus the optional title line. */ export interface TleLines { line1: string; line2: string; name?: string; } export interface OmmRecord { CCSDS_OMM_VERS: number; CREATION_DATE: string; OBJECT_NAME: string; OBJECT_ID: string; CENTER_NAME: string; REFERENCE_FRAME: string; TIME_SYSTEM: string; MEAN_ELEMENT_THEORY: string; EPOCH: string; MEAN_MOTION: number; ECCENTRICITY: number; INCLINATION: number; RA_OF_ASC_NODE: number; ARG_OF_PERICENTER: number; MEAN_ANOMALY: number; EPHEMERIS_TYPE: string; CLASSIFICATION_TYPE: string; NORAD_CAT_ID: number; ELEMENT_SET_NO: number; REV_AT_EPOCH: number; BSTAR: number; MEAN_MOTION_DOT: number; MEAN_MOTION_DDOT: number; } /** * Convert a TLE to a CCSDS OMM record. * * Accepts either a single string (2 or 3 lines) or (line1, line2[, name]). * MEAN_MOTION_DOT / MEAN_MOTION_DDOT are reported in rev/day^2 and rev/day^3 * per CCSDS 502.0 (the raw TLE fields store n-dot/2 and n-ddot/6). */ export declare function tleToOMM(tle: string | TleLines, line2?: string, name?: string): OmmRecord; //# sourceMappingURL=tle.d.ts.map