import type { ParsedEvent } from '../../../core/models/api.types';

export type TelemetryRangeSelection =
  | { type: 'preset'; seconds: number }
  | { type: 'end' }
  | { type: 'custom' };

export interface TelemetryLoadState {
  status: 'loading' | 'ok' | 'error';
  toMs: number;
  fromMs: number;
  telemetry: ParsedEvent[];
  parsedMeta?: { session_id: number; count: number };
}
