import type { ButtonController } from "../internal/core/ButtonController"; import type { ButtonKey, DeviceControllerOptions, DeviceScreens, PercentCoordinates } from "../internal/core/types"; export type ButtonFactory = () => ButtonController & { left(): Promise; right(): Promise; both(): Promise; pressSequence(keys: ButtonKey[], delayMs?: number): Promise; }; export type TapFactory = (deviceKey: string) => { tapQuick: (point: PercentCoordinates) => Promise; tapLong: (point: PercentCoordinates, delayMs?: number) => Promise; sign: (delayMs?: number) => Promise; reject: () => Promise; navigateNext: () => Promise; navigatePrevious: () => Promise; mainButton: () => Promise; secondaryButton: () => Promise; enterMenu: () => Promise; exitMenu: () => Promise; enableBlindSigningSettings: () => Promise; continueToBlindSigning: () => Promise; acceptBlindSigning: () => Promise; }; export type DeviceControllerClientFactory = (baseURL: string, opts?: { timeoutMs?: number; clientHeader?: string; screens?: DeviceScreens; }) => DeviceControllerClient; export type DeviceControllerClient = { buttonFactory: ButtonFactory; tapFactory: TapFactory; }; export declare const deviceControllerClientFactory: DeviceControllerClientFactory; export type { ButtonKey, DeviceControllerOptions, DeviceScreens, PercentCoordinates, }; //# sourceMappingURL=DeviceController.d.ts.map