import { Observable } from 'rxjs';
import { AuditEvent, SessionPermissions } from '../models/permission.model';

/** Per docs/backend/TRACK-S-SECURITY-RBAC-CONTRACT.md §2-3. */
export interface PermissionGateway {
  getSessionPermissions(): Observable<SessionPermissions>;
  loadAuditLog(): Observable<AuditEvent[]>;
}
