import { PariKey } from "../cryptoUtils"; /** * 生成Rsa用于签名的公钥和私钥 */ export declare const genHmacSignKey: (hash?: string) => Promise; export declare const signHmac: (key: string, content: string, hash?: string) => Promise; /** * 用公钥进行验签 * @param key * @param content * @param signature * @param hash * @returns */ export declare const verifyHmac: (key: string, content: string, signature: string, hash?: string) => Promise;