import { Satellite } from '../3d/ZenSpace3DTypes'; import { SatelliteTrack } from '../charts/GroundTrackMap'; export interface UseGroundTrackHistoryOptions { /** * How long to retain ground-track history. Default 90 minutes (≈ one * full LEO orbit). Older points fall off the front of the buffer. */ historyMinutes?: number; /** * Hard cap on points per satellite. Default 600. Protects against * runaway history when the upstream data source ticks faster than * expected. The shorter of `historyMinutes` and `maxPoints` wins. */ maxPoints?: number; /** * Optional default colour to assign to each track. The hook does not * synthesise palette assignments — pass per-id via `colorBySatelliteId` * if you want per-satellite colours. */ color?: string; /** Map of satellite-id → colour string. */ colorBySatelliteId?: Record; } /** * Build per-satellite ground-track history from a live ECI position feed. * * @param satellites Live satellite array (ECI km positions). Pass * `useSimulationScene().satellites` directly. * @param options History length and palette options. * @returns `SatelliteTrack[]` ready for ``. */ export declare function useGroundTrackHistory(satellites: Satellite[], options?: UseGroundTrackHistoryOptions): SatelliteTrack[]; export default useGroundTrackHistory;