// package: types // file: events.proto /* tslint:disable */ import * as jspb from "google-protobuf"; import * as access_path_pb from "./access_path_pb"; import * as proof_pb from "./proof_pb"; export class Event extends jspb.Message { hasAccessPath(): boolean; clearAccessPath(): void; getAccessPath(): access_path_pb.AccessPath | undefined; setAccessPath(value?: access_path_pb.AccessPath): void; getSequenceNumber(): string; setSequenceNumber(value: string): void; getEventData(): Uint8Array | string; getEventData_asU8(): Uint8Array; getEventData_asB64(): string; setEventData(value: Uint8Array | string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Event.AsObject; static toObject(includeInstance: boolean, msg: Event): Event.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Event, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Event; static deserializeBinaryFromReader(message: Event, reader: jspb.BinaryReader): Event; } export namespace Event { export type AsObject = { accessPath?: access_path_pb.AccessPath.AsObject, sequenceNumber: string, eventData: Uint8Array | string, } } export class EventWithProof extends jspb.Message { getTransactionVersion(): string; setTransactionVersion(value: string): void; getEventIndex(): string; setEventIndex(value: string): void; hasEvent(): boolean; clearEvent(): void; getEvent(): Event | undefined; setEvent(value?: Event): void; hasProof(): boolean; clearProof(): void; getProof(): proof_pb.EventProof | undefined; setProof(value?: proof_pb.EventProof): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): EventWithProof.AsObject; static toObject(includeInstance: boolean, msg: EventWithProof): EventWithProof.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: EventWithProof, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): EventWithProof; static deserializeBinaryFromReader(message: EventWithProof, reader: jspb.BinaryReader): EventWithProof; } export namespace EventWithProof { export type AsObject = { transactionVersion: string, eventIndex: string, event?: Event.AsObject, proof?: proof_pb.EventProof.AsObject, } } export class EventsList extends jspb.Message { clearEventsList(): void; getEventsList(): Array; setEventsList(value: Array): void; addEvents(value?: Event, index?: number): Event; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): EventsList.AsObject; static toObject(includeInstance: boolean, msg: EventsList): EventsList.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: EventsList, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): EventsList; static deserializeBinaryFromReader(message: EventsList, reader: jspb.BinaryReader): EventsList; } export namespace EventsList { export type AsObject = { eventsList: Array, } } export class EventsForVersions extends jspb.Message { clearEventsForVersionList(): void; getEventsForVersionList(): Array; setEventsForVersionList(value: Array): void; addEventsForVersion(value?: EventsList, index?: number): EventsList; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): EventsForVersions.AsObject; static toObject(includeInstance: boolean, msg: EventsForVersions): EventsForVersions.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: EventsForVersions, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): EventsForVersions; static deserializeBinaryFromReader(message: EventsForVersions, reader: jspb.BinaryReader): EventsForVersions; } export namespace EventsForVersions { export type AsObject = { eventsForVersionList: Array, } }