import { TravelRuleRecord } from '../entities/travel-rule-record.entity';

export const TRAVEL_RULE_REPOSITORY = Symbol('ITravelRuleRepository');

export interface ITravelRuleRepository {
  create(data: Partial<TravelRuleRecord>): TravelRuleRecord;
  save(record: TravelRuleRecord): Promise<TravelRuleRecord>;
  findByTransactionId(transactionId: string): Promise<TravelRuleRecord | null>;
  count(): Promise<number>;
}
