import { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAccessory, Service } from 'homebridge';
import { HejDevice } from './requests/index.js';
import { HejhomePlatformConfig } from './settings.js';
export declare class HejhomePlatform implements DynamicPlatformPlugin {
    readonly log: Logging;
    readonly config: HejhomePlatformConfig;
    readonly api: API;
    readonly Service: typeof Service;
    readonly Characteristic: typeof Characteristic;
    readonly accessories: Map<string, PlatformAccessory>;
    readonly discoveredCacheUUIDs: string[];
    token: string | null;
    private tokenExpiry;
    constructor(log: Logging, config: HejhomePlatformConfig, api: API);
    private initializeToken;
    private refreshToken;
    private getToken;
    configureAccessory(accessory: PlatformAccessory): void;
    discoverDevices(): Promise<void>;
    initHejAccessory(platform: HejhomePlatform, accessory: PlatformAccessory, device: HejDevice): void;
}
