import { IParkingStructure } from "../../entities/ParkingRepositoryEntities"; export interface ParkingStructureCountOptions { from: Date; to: Date; intervalMs: number; } export interface HistoricalParkingAverageQueryResult { from: Date; to: Date; 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; }