import { type EthSignature } from './secp.js'; /** * EIP-191 personal_sign: keccak256("\x19Ethereum Signed Message:\n" + len + message). * * `message` is treated as opaque bytes. If you have a string, encode it to UTF-8 first. */ export declare function personalSignDigest(message: Buffer | Uint8Array): Buffer; /** * EIP-191 personal_sign returning a 65-byte serialized sig (r || s || v) where v = recovery + 27. */ export declare function personalSign(message: Buffer | Uint8Array, privateKey: Buffer | Uint8Array): Buffer; /** * Serialize an EthSignature to the 65-byte form used by personal_sign / eth_sign_typed_data: * r (32) || s (32) || v (1, where v = recovery + 27). */ export declare function serializeEthSignature(sig: EthSignature): Buffer; export declare function deserializeEthSignature(bytes: Buffer | Uint8Array): EthSignature; //# sourceMappingURL=sign-message.d.ts.map