import { Block, Event } from '@textile/threads-core';
import { Options } from './coding';
/**
 * CreateEvent creates a new Event object using the input raw Event body.
 * @param body Input block. Should be an IPLD Block wrapping the raw Event body.
 * @param readKey The input read key for encrypting the Event wrapper.
 * @param key The input symmetric key for raw data encryption.
 * @param opts Additional encoding/encryption options.
 */
export declare function createEvent(body: Block, readKey: Uint8Array, key?: Uint8Array, opts?: Options): Promise<Event>;
