import { Repository } from 'typeorm'; import { UserDevice } from '../entities'; import { RegisterDeviceDto, UpdateDeviceDto } from '../dto'; export declare class DevicesService { private readonly deviceRepository; private readonly logger; constructor(deviceRepository: Repository); findByUser(userId: string, tenantId: string): Promise; findActiveByUser(userId: string, tenantId: string): Promise; findById(deviceId: string, userId: string, tenantId: string): Promise; register(userId: string, tenantId: string, dto: RegisterDeviceDto): Promise; update(deviceId: string, userId: string, tenantId: string, dto: UpdateDeviceDto): Promise; unregister(deviceId: string, userId: string, tenantId: string): Promise; delete(deviceId: string, userId: string, tenantId: string): Promise; markAsUsed(deviceId: string): Promise; markAsInactive(deviceId: string): Promise; countActiveDevices(userId: string, tenantId: string): Promise; cleanupInactiveDevices(daysInactive?: number): Promise; }