/// import { KeyPair } from "../Models"; import { BinaryNode } from "../Internal"; import { proto } from '../Proto'; export declare const makeNoiseHandler: ({ public: publicKey, private: privateKey }: KeyPair) => { encrypt: (plaintext: Uint8Array) => Buffer; decrypt: (ciphertext: Uint8Array) => Buffer; authenticate: (data: Uint8Array) => void; mixIntoKey: (data: Uint8Array) => void; finishInit: () => void; processHandshake: ({ serverHello }: proto.HandshakeMessage, noiseKey: KeyPair) => Buffer; encodeFrame: (data: Buffer | Uint8Array) => Uint8Array; decodeFrame: (newData: Buffer | Uint8Array, onFrame: (buff: Uint8Array | BinaryNode) => void) => void; };