import type { ActionAuditConfig, AuditStatus } from "./types.js"; /** Minimal view of the action run context the recorder needs. */ export interface AuditRunContextLike { actionName?: string; caller?: string; userEmail?: string; orgId?: string | null; threadId?: string; turnId?: string; networkProtocol?: "a2a" | "mcp" | "provider-api"; networkId?: string; networkPeer?: string; } export interface RecordActionAuditInput { config: ActionAuditConfig | undefined; args: unknown; ctx: AuditRunContextLike | undefined; status: AuditStatus; result?: unknown; error?: unknown; } /** * Record one audit event. Resolves the actor, target, ownership (for scoped * reads), and redacted inputs, then appends a row. Never throws. */ export declare function recordActionAudit(input: RecordActionAuditInput): Promise; //# sourceMappingURL=record.d.ts.map