import { PrivKey, PubKey } from '../internal.js'; /** * Flips the bits of 32 random bytes in order to ensure a x25519 interger scalar. */ export declare function adjustScalarBytes(bytes: Uint8Array): Uint8Array; /** * Calculates a shared secret between an X25519 privkey and pubkey. */ export declare function getSharedSecret(privKey: Uint8Array, pubKey: Uint8Array): Uint8Array; /** * Mutiplies an X25519 point with the given scalar. */ export declare function scalarMult(pubKey: Uint8Array, privKey: Uint8Array): Uint8Array; /** * Converts an Ed25519 privkey to X25519. */ export declare function toMontgomeryPriv(privKey: PrivKey): Uint8Array; /** Converts an Ed25519 pubkey to X25519. */ export declare function toMongomeryPub(pubKey: PubKey): Uint8Array; //# sourceMappingURL=x25519.d.ts.map