import { AuditEntry } from './audit-logger'; /** * Event type constants matching API's AuditEventType enum. * Defined locally to avoid cross-package dependency. * @see packages/api/src/audit/entities/audit-event.entity.ts */ export declare const AUDIT_EVENT_TYPE: { readonly TOOL_INVOCATION: "tool_invocation"; readonly GATEWAY_EXECUTE: "gateway_execute"; }; /** * Severity constants matching API's AuditEventSeverity enum. */ export declare const AUDIT_SEVERITY: { readonly LOW: "low"; readonly MEDIUM: "medium"; }; /** * Transform agentd's AuditEntry into the API's CreateAuditEventDto format. * * Key mappings: * - enforcementType/decisionSource → metadata (agentd-specific context) * - agentDid → namespace (required by API DTO) * - (derived) → eventType (TOOL_INVOCATION for agentd events) */ export declare function auditEntryToApiDto(e: AuditEntry & { id: string; }): Record; //# sourceMappingURL=audit-dto-mapper.d.ts.map