import type HWTransport from "@ledgerhq/hw-transport"; import { DeviceOpen, DeviceSelect, DeviceTransport } from "@ledgerhq/wallet-api-core"; import type { WalletAPIClient } from "../WalletAPIClient"; export declare class DeviceModule { private client; constructor(client: WalletAPIClient); /** * Open low-level transport in the connected wallet * * @param params - Params for the transport * * @returns An instance of Transport compatible with @ledgerhq/hw-transport * @throws {@link RpcError} if an error occurred on server side */ transport(params: DeviceTransport["params"]): Promise; /** * Open low-level transport in the connected wallet * * @param params - Params to open the transport * * @returns An instance of Transport compatible with @ledgerhq/hw-transport * @throws {@link RpcError} if an error occurred on server side */ open(params: DeviceOpen["params"]): Promise; /** * Select a device in the connected wallet * * @param params - Params to select and check the device * * @returns A deviceId to use with the `device.open` method * @throws {@link RpcError} if an error occurred on server side */ select(params: DeviceSelect["params"]): Promise; } //# sourceMappingURL=Device.d.ts.map