export interface DeviceStateResult { success: boolean; regs?: Record; decoded?: Record; accessible?: boolean; error?: string; } /** Pure: extract the device_state JSON from mixed daemon output (scan lines reverse). */ export declare function parseDeviceState(out: string): DeviceStateResult; export declare function getDeviceState(signal?: AbortSignal): Promise;