export { AuditService } from './AuditService';
export { AuditStore } from './AuditStore';
export type { IAuditEntry, IAuditLoggedPayload } from '../../types/AuditTypes';

// DI registration helper
import type { Builder } from '@novadi/core';
import { IStore } from '../../storage/IStore';
import { AuditStore } from './AuditStore';
import { AuditService } from './AuditService';

export function registerAudit(builder: Builder): void {
  builder.registerType(AuditStore).as<IStore>();
  builder.registerType(AuditService).as<AuditService>();
}
