import { API } from 'homebridge'; import { DummyConfig } from './types.js'; import { DummyAccessory } from '../accessory/base.js'; import { Log } from '../tools/log.js'; export declare enum HistoryType { CUSTOM = "custom", WEATHER = "weather", DOOR = "door", MOTION = "motion" } export type HistoryEntry = { humidity?: number; power?: number; status?: number; temp?: number; time?: number; }; type Accessory = DummyAccessory; export declare class History { private readonly api; private readonly log; private static _instance; static instance(api: API, log: Log): History; private readonly historyServices; private readonly persistPath; private readonly cleanedUp; constructor(api: API, log: Log); record(accessory: Accessory, type: HistoryType, entry: HistoryEntry, updateLastActivation?: boolean): void; private createHistoryService; private getFilename; private cleanup; private fileExists; } export {};