import { GardenaConnection } from './GardenaConnection.js'; import { GardenaDevice } from './GardenaDevice.js'; export declare class GardenaLocationError extends Error { } export type GardenaRawLocationsJson = { data: GardenaRawLocationJson[]; }; export type GardenaRawLocationJson = { id: string; type: string; attributes: { name: string; }; }; export declare class GardenaLocation { private connection; readonly id: string; readonly name: string; readonly type: string; devices: GardenaDevice[]; private ws; private wsPingInterval; private wsPongTimeout; private keepWsAlive; constructor(connection: GardenaConnection, json: GardenaRawLocationJson); getDevices(): Promise; updateDevicesList(): Promise; private onWSOpen; private onWSPong; private onWSError; private onWSMessage; private onWSClose; private resetWS; private closeWS; activateRealtimeUpdates(): Promise; deactivateRealtimeUpdates(): Promise; }