export interface SensorData { id?: number; device_id: string; topic: string; data_type: string; value: string; timestamp: Date; created_at?: Date; } export declare class SensorDataModel { static getAll(limit?: number, offset?: number): Promise; static getByDeviceId(deviceId: string, limit?: number): Promise; static getByDeviceIdAndType(deviceId: string, dataType: string, limit?: number): Promise; static getByType(dataType: string, limit?: number): Promise; static getByTimeRange(deviceId: string, dataType: string, hours?: number): Promise; static getLatestByDevice(deviceId: string): Promise; static getCount(): Promise; static getCountByDeviceId(deviceId: string): Promise; static getCountByType(dataType: string): Promise; static insert(data: Omit): Promise; static updateLatestByDeviceAndType(deviceId: string, dataType: string, value: string): Promise; static upsertByDeviceAndType(deviceId: string, dataType: string, value: string, topic?: string): Promise; } //# sourceMappingURL=sensorData.d.ts.map