export type ActorType = 'user' | 'service' | 'system' | 'operator';
export type AuditEvent = {
    audit_event_id: string;
    timestamp: string;
    actor_type: ActorType;
    actor_id: string;
    tenant_id: string;
    entity_id: string;
    action: string;
    resource_type: string;
    resource_id: string;
    correlation_id?: string;
    request_id?: string;
    before_hash?: string;
    after_hash?: string;
    decision?: string;
    reason_code?: string;
    metadata_redacted: Record<string, unknown>;
};
export declare function redactMetadata(metadata: Record<string, unknown>): Record<string, unknown>;
export declare function createAuditEvent(partial: Omit<AuditEvent, 'metadata_redacted' | 'timestamp'> & {
    metadata?: Record<string, unknown>;
}): AuditEvent;
