/** * `quest-dev device` — manage the alias registry and introspect device ports. */ import { type ResolvedDevice } from '../daemon/resolve.js'; import { type DaemonRecord } from '../daemon/registry.js'; import { type BatteryInfo } from '../utils/adb.js'; export interface DeviceInfo { alias: string | undefined; serial: string; address: string; daemonPort: number | null; cdpPort: number | null; castPort: number | null; stayAwake: boolean; battery: string | null; } /** Pure: assemble a DeviceInfo from resolved identity + optional daemon record * + optional battery. A live daemon record implies stay-awake is on. */ export declare function buildDeviceInfo(resolved: ResolvedDevice, record: DaemonRecord | null, battery: BatteryInfo | null): DeviceInfo; export declare function deviceSet(alias: string, address: string): Promise; export declare function deviceRm(alias: string): void; export declare function deviceList(json: boolean): Promise; export declare function deviceInfo(ref: string | undefined, json: boolean): Promise; //# sourceMappingURL=device.d.ts.map