import { IChannelOptions, IEncryptedMessage, IEncryptionKeys, ISignKeys, IVectors, IVerifyVector } from '../types'; import { Channel } from './Channel'; import { CodecOption } from '@consento/codecs'; export declare function createEncryptionKeys(): IEncryptionKeys; export declare function createSignKeys(): ISignKeys; export declare function encryptMessage(encryptKey: Uint8Array, msgBuffer: Uint8Array): Uint8Array; export declare function verify(verifyKey: Uint8Array, signature: Uint8Array, body: Uint8Array): boolean; export declare function verifyMessage(verifyKey: Uint8Array, message: IEncryptedMessage): boolean; export declare function verifyBody(verifyKey: Uint8Array, message: IEncryptedMessage | Uint8Array, signVector?: IVerifyVector): Uint8Array; export declare function decryptBody(encryptKey: Uint8Array, decryptKey: Uint8Array, body: Uint8Array): Uint8Array; export declare function sign(signKey: Uint8Array, body: Uint8Array): Uint8Array; export declare function createSignVectors(): IVectors; export declare function createChannel(opts?: Omit, 'channelKey'>): Channel;