import { Vec3 } from './quaternion.js'; import { default as ITRFCoord } from './itrfcoord.js'; export { Vec3 }; export interface RiseSetType { rise: Date; set: Date; } export interface PhaseNameType { phase: number; name: string; fracillum: number; } /** * * Compute moon position in Earth-centered frame * Algorithm 31 from Vallado * * @param thedate Date for which to compute position * @returns 3-vector representing moon position in GCRS frame, meters */ export declare const posGCRS: (thedate: Date) => Vec3; /** * * Compute phase of moon from Vallado * * @param thedate Date for which to compute position * @returns Moon phase in radians, in range [-pi pi] */ export declare const phase: (thedate: Date) => number; /** * * @param thedate Date for which to compute fraction * @returns Fraction of moon illuminated by sun as seen from Earth, * in range [0,1] */ export declare const fractionIlluminated: (thedate: Date) => number; /** * * @param thedate Date for which to get phase name * @returns Struct with numerical phase, string describing phase, and * fraction of sun illuminated */ export declare const phaseName: (thedate: Date) => PhaseNameType; /** * * riseSet * Return rise and set time on the given Julian date * * @param thedate Date Object * @param coord Coordinate at which to communicate rise & set * @returns JSON with moon rise and set times as javascript Dates */ export declare const riseSet: (thedate: Date, coord: ITRFCoord) => RiseSetType; //# sourceMappingURL=lunar_calcs.d.ts.map