import type { Device } from '../../../balena-model.js'; /** * These typings should be used as a guide to what should be sent, but cannot be trusted as what actually *is* sent. */ export type StatePatchV3Body = { [uuid: string]: { status?: string; os_version?: string | null; os_variant?: string | null; supervisor_version?: string; provisioning_progress?: number | null; provisioning_state?: string | null; ip_address?: string; mac_address?: string; api_port?: number; api_secret?: string | null; memory_usage?: number | null; memory_total?: number | null; storage_block_device?: string | null; storage_usage?: number | null; storage_total?: number | null; cpu_temp?: number | null; cpu_usage?: number | null; cpu_id?: string | null; is_undervolted?: boolean; /** * Used for setting dependent devices as online, so shouldn't be used in practice */ is_online?: boolean; apps?: { [uuid: string]: { /** * We report the overall release uuid the supervisor considers the active one, even though there may be info for multiple releases. */ release_uuid?: string; releases?: { [releaseUUID: string]: { update_status?: NonNullable; services?: { [name: string]: { image: string; status?: string; download_progress?: number | null; }; }; }; }; }; }; }; }; export declare const resolveDeviceUuids: (body: unknown) => string[]; export declare const statePatchV3: import("express").RequestHandler | undefined; }> | undefined; }> | undefined; }>, Record, Record>;