/*****************************************************************************************************************/ import type { CartesianCoordinate, GeographicCoordinate, GeographicCoordinateAtEpoch, Observer } from './common'; /*****************************************************************************************************************/ /** * * getLocalHorizon() * * Calculates the local horizon depression for a given observer (in degrees). * * @param h - The observer for which to calculate the local horizon depression., or a number representing * the observer's elevation above sea level (in SI metres). * @param k - The observer's atmospheric refraction (unitless) * @returns The local horizon depression (in degrees). */ export declare function getLocalHorizon(h: number | Observer, k?: number): number; /*****************************************************************************************************************/ /** * * getGeocentricRotationalVelocity() * * Calculates the geocentric equatorial velocity of an observer carried by the rotation of the * Earth, e.g., the velocity of an observer at rest at the surface, which carries them towards the * east at up to ~465 metres per second at the equator, and which vanishes at the poles. * * The velocity is resolved in the geocentric equatorial frame, e.g., the frame the velocity of a * spacecraft is resolved in, and so it is the velocity an observer at the surface gives to the * corrections that take one, e.g., the diurnal aberration is the aberration of this velocity. * * @param datetime - The date and time of the observation, which orients the observer about the axis of rotation. * @param observer - The geographic coordinate of the observer. * @returns The geocentric equatorial velocity of the observer (in SI metres per second). * */ export declare function getGeocentricRotationalVelocity(datetime: Date, observer: GeographicCoordinate): Required; /*****************************************************************************************************************/ /** * * getGeographicCoordinate() * * Resolves the geographic coordinate of an observer for the epoch of an observation, e.g., an * observer given as a coordinate is returned as they are, and one given as a coordinate at an * epoch, e.g., a spacecraft resolved from its ephemeris, is resolved for the datetime given. * * N.B. An observer given as a function is the caller's code, and it is given a copy of the * datetime, e.g., a Date is mutable, and a function that mutates the one it is given must not * carry that mutation into the datetime of the caller. * * @param datetime - The date and time of the observation to resolve the observer for. * @param observer - The geographic coordinate of the observer, or their coordinate as a function of the epoch. * @returns The geographic coordinate of the observer at the epoch of the observation. * */ export declare function getGeographicCoordinate(datetime: Date, observer: GeographicCoordinate | GeographicCoordinateAtEpoch): GeographicCoordinate; /*****************************************************************************************************************/