mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 09:49:24 +02:00
14 lines
425 B
TypeScript
14 lines
425 B
TypeScript
import type { Consumable, ReadableWritablePair } from "@yume-chan/stream-extra";
|
|
import type { MaybePromiseLike } from "@yume-chan/struct";
|
|
|
|
import type { AdbPacketData, AdbPacketInit } from "./packet.js";
|
|
|
|
export interface AdbDaemonDevice {
|
|
readonly serial: string;
|
|
|
|
readonly name: string | undefined;
|
|
|
|
connect(): MaybePromiseLike<
|
|
ReadableWritablePair<AdbPacketData, Consumable<AdbPacketInit>>
|
|
>;
|
|
}
|