export interface Device { id?: number; clientid: string; device_name?: string; username?: string; firmware_version?: string; device_ip_port?: string; last_ip_port?: string; status?: 'online' | 'offline' | 'unknown'; last_event_time?: Date; last_online_time?: Date; last_offline_time?: Date; online_duration?: number; connect_count?: number; rssi?: number; created_at?: Date; updated_at?: Date; } export declare class DeviceModel { static getAll(limit?: number, offset?: number): Promise; static getByStatus(status: string): Promise; static getByClientId(clientid: string): Promise; static getBySearch(searchTerm: string): Promise; static getCountByStatus(status: string): Promise; static getCountBySearch(searchTerm: string): Promise; static getCount(): Promise; static getStatusStats(): Promise; static getDeviceStats(): Promise; static create(deviceData: Omit): Promise; static update(clientId: string, updateData: Partial>): Promise; static updateOnlineDuration(clientId: string, duration: number): Promise; static deleteByClientId(clientId: string): Promise; } //# sourceMappingURL=device.d.ts.map