import type { RequestHandler } from 'express'; /** * These typings should be used as a guide to what should be sent, but cannot be trusted as what actually *is* sent. */ export type StatePatchV2Body = { local?: { should_be_running__release?: number; name?: string; /** * @deprecated in favor of name, to match the GET endpoint */ device_name?: string; status?: string; is_online?: boolean; note?: string; os_version?: string; os_variant?: string; supervisor_version?: string; provisioning_progress?: number | null; provisioning_state?: string | null; ip_address?: string; mac_address?: string; download_progress?: number | null; api_port?: number; api_secret?: string; memory_usage?: number; memory_total?: number; storage_block_device?: string; storage_usage?: number; storage_total?: number; cpu_temp?: number; cpu_usage?: number; cpu_id?: string; is_undervolted?: boolean; is_on__commit?: string | null; apps?: Array<{ services?: { [imageId: string]: { releaseId: number; status?: string; download_progress?: number | null; }; }; }>; }; }; export declare const statePatchV2: RequestHandler;