import type { ECDH } from './types.js'; /** * Wraps an X25519 secret key into an ECDH method that can be used to compute a shared secret with a public key. * @param mySecretKey A `Uint8Array` of length 32 representing the bytes of my secret key * @returns an `ECDH` method with the signature `(theirPublicKey: Uint8Array) => Promise` * * @throws 'invalid_argument:...' if the secret key size is wrong */ export declare function createX25519ECDH(mySecretKey: Uint8Array): ECDH; //# sourceMappingURL=ECDH.d.ts.map