import { Logger } from 'homebridge';
import { SwitchbotOperationMode } from '../types/accessoryTypes';
export declare class MetadataClient {
    private log;
    private readonly client;
    private readonly metaDataCache;
    private isScanningForMetadata;
    constructor(log: Logger);
    /**
     * Retreives the bot's operation mode.
     * There are two possible modes of operation: switch and press.
     * When the bot is set to switch mode, it behaves as a switch, this means it has "ON"/"OFF" states.
     * When the bot is set to press mode, it has no "ON"/"OFF" state, but rather a single mode - press mode.
     * Setting the bot's operation mode can be done via the offical SwitchBot application.
     */
    getDeviceOperationMode: (address: string, scanDuration: number) => SwitchbotOperationMode;
    getDeviceBatteryStatus: (address: string, scanDuration: number) => number;
    private getDeviceMetaData;
    private scanForDeviceMetadata;
    private handleScannedMetadata;
    private getMetadataFromCache;
}
//# sourceMappingURL=metaDataClient.d.ts.map