export type RangeKey = '24h' | '7d' | '31d' | '365d'; // [Zeitstempel in ms, Verbrauch in kWh] export type VerbrauchPoint = [number, number]; export interface VerbrauchResponse { success: boolean; data?: VerbrauchPoint[]; error?: string; } // Auflösung eines Fensters in Flux ('1h', '1d' oder '1mo') export type Every = '1h' | '1d' | '1mo';