export type DHKeyPair = { public: Uint8Array; secret: Uint8Array; }; export interface DH { readonly NAME: string; readonly DHLEN: number; generateKeypair(): DHKeyPair; dh(kp: DHKeyPair, pk: Uint8Array): Uint8Array; } export declare const X25519: DH;