//#region src/device/device-types.d.ts /** HAL interface reference within a device capability entry. */ type DeviceInterfaceInfo = { name: string; instance?: string; }; /** Runtime capability snapshot (`helper::Device::Capabilities`). */ type DeviceCapability = { name: string; interfaces: DeviceInterfaceInfo[]; }; /** Static board information (`helper::Device::BoardInfo`). */ type DeviceBoardInfo = { name: string; chip?: string; version?: string; description?: string; manufacturer?: string; }; /** Camera device entry (`hal::video::CameraIface::DeviceInfo`). */ type DeviceCameraInfo = { id: number; name: string; device_path?: string; supported_formats?: string[]; }; /** Network status snapshot within connectivity info. */ type DeviceNetworkStatus = { interface_type?: string; link_state?: string; ip_state?: string; reachability?: string; }; /** Network connectivity snapshot (`helper::Device::NetworkConnectivityInfo`). */ type DeviceNetworkConnectivityInfo = { instance_name: string; status?: DeviceNetworkStatus; state?: string; network_ready?: boolean; internet_ready?: boolean; }; /** Static battery information (`helper::Device::PowerBatteryInfo`). */ type DevicePowerBatteryInfo = { name: string; chemistry?: string; abilities?: string[]; }; /** Battery charge state (`hal::power::BatteryIface::ChargeState`). */ type DeviceBatteryChargeState = 'NotCharging' | 'Charging' | 'Full' | 'Discharging' | 'Unknown'; /** Battery power source (`hal::power::BatteryIface::PowerSource`). */ type DeviceBatteryPowerSource = 'Battery' | 'External' | 'Unknown'; /** Battery level source (`hal::power::BatteryIface::LevelSource`). */ type DeviceBatteryLevelSource = 'VoltageCurve' | 'FuelGauge' | 'Unknown'; /** Runtime battery state (`helper::Device::PowerBatteryState`). */ type DevicePowerBatteryState = { is_present?: boolean; power_source?: DeviceBatteryPowerSource; charge_state?: DeviceBatteryChargeState; level_source?: DeviceBatteryLevelSource; voltage_mv?: number; percentage?: number; vbus_voltage_mv?: number | null; system_voltage_mv?: number | null; is_low?: boolean; is_critical?: boolean; }; /** Battery charge configuration (`helper::Device::PowerBatteryChargeConfig`). */ type DevicePowerBatteryChargeConfig = { enabled?: boolean; target_voltage_mv?: number; charge_current_ma?: number; precharge_current_ma?: number; termination_current_ma?: number; }; //#endregion export { DeviceCameraInfo as a, DeviceNetworkConnectivityInfo as c, DevicePowerBatteryInfo as d, DevicePowerBatteryState as f, DeviceBoardInfo as i, DeviceNetworkStatus as l, DeviceBatteryLevelSource as n, DeviceCapability as o, DeviceBatteryPowerSource as r, DeviceInterfaceInfo as s, DeviceBatteryChargeState as t, DevicePowerBatteryChargeConfig as u }; //# sourceMappingURL=device-types-DxFVgkVJ.d.mts.map