import { Account } from './Account'; import { EventChain } from './EventChain'; export declare class Event { /** * Base58 encoded JSON string with the body of the event. * */ body: string; /** * Time when the event was signed. * */ timestamp: number; /** * Hash to the previous event * */ previous: string; /** * URI of the public key used to sign the event * */ signkey: string; /** * Base58 encoded signature of the event * */ signature: string; /** * Base58 encoded SHA256 hash of the event * */ hash: string; constructor(body?: any, previous?: string); getHash(): string; getMessage(): string; verifySignature(): boolean; getResourceVersion(): string; getBody(): any; signWith(account: Account): Event; addTo(chain: EventChain): Event; }