import type { WatchlistType } from "../types"; export interface BlockingResult { isBlocked: boolean; reason?: WatchlistType; watchlistEntry?: Record | null; } /** * Result of bulk blocking check. * Maps email (lowercase) -> BlockingResult */ export type BulkBlockingResult = Map; export interface IBlockingService { /** * Check if a single email is blocked. */ isBlocked(email: string, organizationId?: number | null): Promise; /** * Bulk check multiple emails in a single query. * Returns Map for efficient lookup. */ areBlocked(emails: string[], organizationId?: number | null): Promise; }