export declare const EVENT_SENSITIVITIES: readonly ["public", "personal", "confidential", "restricted"]; export type EventSensitivity = (typeof EVENT_SENSITIVITIES)[number]; export declare const EVENT_ACTOR_KINDS: readonly ["user", "agent", "system", "integration"]; export type EventActorKind = (typeof EVENT_ACTOR_KINDS)[number]; export interface EventEnvelope = Record> { id: string; type: string; schemaVersion: number; source: { kind: string; id: string; deviceId?: string; }; subject: { kind: string; id: string; }; actor: { kind: EventActorKind; id?: string; }; scope: { workspaceId: string; projectId?: string; agentId?: string; }; occurredAt: string; observedAt: string; correlationId: string; causationId?: string; dedupeKey: string; sensitivity: EventSensitivity; payload: TPayload; } export type PublishEventInput = Record> = Omit, 'id' | 'observedAt' | 'correlationId'> & { id?: string; observedAt?: string; correlationId?: string; }; export interface PublishedEvent { event: EventEnvelope; inserted: boolean; batchIds: string[]; }