UNPKG

gnss_solutions

Version:

Javascript GNSS solution analysis library

21 lines (20 loc) 711 B
import * as err from "./errors"; import { Event } from "pondjs"; export declare function timestampFromArg(arg: any): Date; export declare class InvalidTimestampError extends err.CustomException { constructor(arg: any); } export declare class EmptyTimeRangeError extends err.CustomException { constructor(arg: string); } export declare class TimeMismatchError extends err.CustomException { constructor(time1: any, time2: any); } /** * Merge an array of events, with possibly overlapping keys, but keeping the * last non-nil value. * * @param {[Events]} events - Array of events * @return {Event} - Merged event */ export declare function mergeEvents(events: Array<any>): Event;