import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import Long from "long"; import { LocalizedMessage } from "./message.js"; export declare const protobufPackage = "zitadel.event.v1"; export interface Event { editor: Editor | undefined; aggregate: Aggregate | undefined; sequence: Long; creationDate: Date | undefined; payload: { [key: string]: any; } | undefined; type: EventType | undefined; } export interface Editor { userId: string; displayName: string; service: string; } export interface Aggregate { id: string; type: AggregateType | undefined; resourceOwner: string; } export interface EventType { type: string; localized: LocalizedMessage | undefined; } export interface AggregateType { type: string; localized: LocalizedMessage | undefined; } export declare const Event: MessageFns; export declare const Editor: MessageFns; export declare const Aggregate: MessageFns; export declare const EventType: MessageFns; export declare const AggregateType: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {};