import type { NobjcObject } from "objc-js";
import type { _NSData } from "../Foundation/NSData.js";
export interface _MTRKeypair {
    /** Returns a copy of the public key for the keypair. */
    copyPublicKey?(): NobjcObject;
    /**
     * Returns public key for the keypair without adding a reference. DEPRECATED - please use copyPublicKey, otherwise this will leak.
     */
    publicKey?(): NobjcObject;
    /**
     * A function to sign a message using ECDSA Message that needs to be signed A signature that consists of: 2 EC elements (r and s), in raw <r ,s> point form (see SEC1). Sometimes also called RFC 4754 form or P1363 form. Either this selector or signMessageECDSA_DER must be supported by a MTRKeypair.
     */
    signMessageECDSA_RAW$?(message: _NSData): _NSData;
    /**
     * A function to sign a message using ECDSA Message that needs to be signed An ASN.1 DER-encoded signature (per X9.62). Either this selector or signMessageECDSA_RAW must be supported by a MTRKeypair.
     */
    signMessageECDSA_DER$?(message: _NSData): _NSData;
}
