import { SECP256K1PublicKey } from '@mailchain/crypto'; /** * Gets the public key from signature and compares it to the expected address to validate it's correct. * * The public key that {@link SECP256K1PublicKey.fromSignature} returns will verify the message with the signature. * However it's not guaranteed that the returned public key will be for the expected address. * @param message the message being signed * @param signature the signature of the message made with the private key part of the public key we are trying to extract */ declare function ethereumPublicKeyFromSignature(message: Uint8Array, signature: Uint8Array, expectedAddress: Uint8Array): Promise; export { ethereumPublicKeyFromSignature };