export declare const SIGNATURE_LENGTH = 65; export declare function randomPrivateKey(): Uint8Array; export declare function sign(msg: Uint8Array | string, privKey: Uint8Array): Promise; export declare function signHash(hash: Uint8Array, privKey: Uint8Array): Promise; export declare function recoverPublicKey(hash: Uint8Array | string, sig: Uint8Array): Uint8Array; export declare function getPublicKey(privKey: Uint8Array): Uint8Array; export declare function verify(sig: Uint8Array, hash: Uint8Array | string, publicKey: Uint8Array): boolean; export declare function publicKeyBytesToAddress(publicKey: Uint8Array): Uint8Array; export declare function publicKeyToEthAddress(key: Uint8Array): Uint8Array; //# sourceMappingURL=secp256k1.d.ts.map