import type { Device, DeviceChannel, DeviceHealth } from "./types.js"; /** * Assess the health of a device based on its state and channel data. * * Checks for stale readings, low battery, and offline status, returning * a summary with the worst severity as the overall health level. * * @param device - The device to assess. * @param channels - The device's channel readings (used for timestamp comparison). * @param now - Optional current time for testability (defaults to `new Date()`). */ export declare function assessDeviceHealth(device: Device, channels: DeviceChannel[], now?: Date): DeviceHealth; /** * Check whether a channel reading is considered stale. * * @param channel - The channel to check. * @param now - Optional current time for testability. * @returns `true` if the channel's last reading is older than 5 minutes. */ export declare function isChannelStale(channel: DeviceChannel, now?: Date): boolean; //# sourceMappingURL=device-health.d.ts.map