import type { AndroidKeyEventAction, AndroidScreenPowerMode } from "../android/index.js"; import type { ScrcpyOptions } from "../base/index.js"; import type { ScrcpyInjectScrollControlMessage, ScrcpyInjectTouchControlMessage, ScrcpySetClipboardControlMessage, ScrcpyUHidCreateControlMessage } from "../latest.js"; import { ScrcpyInjectKeyCodeControlMessage } from "./inject-key-code.js"; import { ScrcpyUHidInputControlMessage } from "./uhid.js"; export declare class ScrcpyControlMessageSerializer { #private; constructor(options: ScrcpyOptions); injectKeyCode(message: Omit): Uint8Array; injectText(text: string): Uint8Array; /** * `pressure` is a float value between 0 and 1. */ injectTouch(message: Omit): Uint8Array; /** * `scrollX` and `scrollY` are float values between 0 and 1. */ injectScroll(message: Omit): Uint8Array | undefined; backOrScreenOn(action: AndroidKeyEventAction): Uint8Array | undefined; setDisplayPower(mode: AndroidScreenPowerMode): Uint8Array; expandNotificationPanel(): Uint8Array; expandSettingPanel(): Uint8Array; collapseNotificationPanel(): Uint8Array; rotateDevice(): Uint8Array; setClipboard(message: Omit): Uint8Array | [Uint8Array, Promise]; uHidCreate(message: Omit): Uint8Array; uHidInput(message: Omit): Uint8Array; uHidDestroy(id: number): Uint8Array; startApp(name: string, options?: { forceStop?: boolean; searchByName?: boolean; }): Uint8Array; resetVideo(): Uint8Array; } //# sourceMappingURL=serializer.d.ts.map