import type { AuditActorType } from './actors.js'; import type { AuditEventRow, AuditTarget } from './base.js'; export interface WireAuditActor { id: string; name: string; avatarUrl?: string; } /** An `AuditEventRow` as the list route sends it: the date as ISO text, tenancy and request context left behind. */ export interface WireAuditEvent { id: string; actorId: string; actorType: AuditActorType; action: string; targets: AuditTarget[]; metadata: Record; occurredAt: string; } export interface WireAuditPage { events: WireAuditEvent[]; actors: Record; nextCursor?: string; } export declare function toWireAuditEvent(row: AuditEventRow): WireAuditEvent; //# sourceMappingURL=wire.d.ts.map