import { Distance } from './distance.js';
import { OpeningHours } from './opening-hours.js';
import { ParkingType } from './parking-types.js';

declare class ParkingData {
    id: number;
    driver: string;
    geom: string;
    name: string;
    type: ParkingType;
    city: string;
    color: string | null;
    capacity: number;
    freeslots: number;
    diag: string;
    threshold: number;
    timestamp: number;
    distances: string;
    currentTimestamp: number;
    address: string;
    gmaps: string;
    link: string;
    offline: boolean;
    opening: OpeningHours;
    open: number;
    phone: string;
    website: string;
    openingFlag: string;
    constructor(data: Partial<ParkingData>);
    getDistances(): Distance[];
    getDistancesCompleted(parkings: ParkingData[]): (Distance & Omit<ParkingData, "getDistances" | "getDistancesCompleted" | "isAvailable" | "isFull">)[];
    isAvailable(): boolean;
    isFull(): boolean;
}

export { ParkingData };
