import { OfacScreening } from '../entities/ofac-screening.entity';

export const OFAC_SCREENING_REPOSITORY = Symbol('IOfacScreeningRepository');

export interface IOfacScreeningRepository {
  create(data: Partial<OfacScreening>): OfacScreening;
  save(screening: OfacScreening): Promise<OfacScreening>;
  findByUserId(userId: string): Promise<OfacScreening[]>;
  count(options?: { where?: Record<string, any> }): Promise<number>;

  /** Find OFAC matches (blacklisted), paginated */
  findMatchesPaginated(page: number, limit: number): Promise<[OfacScreening[], number]>;
}
