import { IParkingStructure } from "../entities/ParkingRepositoryEntities"; export interface ParkingStructureCountOptions { startUnixEpochMs: number; endUnixEpochMs: number; intervalMs: number; } export interface HistoricalParkingAverageQueryResult { fromUnixEpochMs: number; toUnixEpochMs: number; averageSpotsAvailable: number; } export interface ParkingGetterRepository { getParkingStructures(): Promise; getParkingStructureById(id: string): Promise; /** * Get historical averages of parking structure data using the filtering options. * @param id * @param options */ getHistoricalAveragesOfParkingStructureCounts(id: string, options: ParkingStructureCountOptions): Promise; }