import type { KeyPair } from "../common/index.js";
import type { CryptoService } from "./crypto.js";
import type { EncodeFunc } from "./crypto.js";
export declare class GM implements CryptoService {
    generateKeyPair(): KeyPair;
    compressPublicKey(publicKey: Buffer | string): Buffer;
    publicKeyToAddress(publicKey: Buffer | string): string;
    getPublicKeyFromPrivateKey(privateKey: string, compressed?: boolean): string;
    hash(data: Buffer): Buffer;
    encodeHash(encodeFunc: EncodeFunc): Buffer;
    sign(data: Buffer, privateKey: string): string;
    verify(data: Buffer, signature: string, uncompressedPublicKey: string): boolean;
}
//# sourceMappingURL=crypto-sm2p256v1.d.ts.map