import { Signature, Arrayish } from "ethers/utils"; import { Wallet } from "ethers"; import { TransactionRequest } from "ethers/providers"; /** * Verifies a signed message using the secp256k1 library. It is an optimisied library for signature verification * and it is faster than etherj's elliptic. * @param message Message * @param signature Signature */ export declare function verifyMessageSecp256k1(message: Arrayish | string, signature: Signature | string): string; /** * Sign a transaction using secp256k1 * Based on https://github.com/ethers-io/ethers.js/blob/v4-legacy/src.ts/wallet.ts#L69 * @param tx A full and unsigned transaction without the from field * @param wallet Signer of transaction */ export declare function signSecp256k1(tx: Omit, wallet: Wallet): Promise; //# sourceMappingURL=secp256k1lib.d.ts.map