import { MessageSign } from "@ledgerhq/wallet-api-core"; import type { WalletAPIClient } from "../WalletAPIClient"; export declare class MessageModule { private client; constructor(client: WalletAPIClient); /** * Let the user sign the provided message. * In Ethereum context, this is an [EIP-191 message](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-191.md) * or an [EIP-712 message](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md) * @param accountId - Ledger Live id of the account * @param message - Message the user should sign * * @returns Message signed * @throws {@link RpcError} if an error occurred on server side */ sign(accountId: string, message: Buffer, options?: MessageSign["params"]["options"], meta?: Record): Promise; } //# sourceMappingURL=Message.d.ts.map