import { Observable } from 'rxjs';
import { ReconciliationRecord, Refund, Settlement } from '../models/reconciliation.model';

/** Per docs/backend/PHASE-7-PAYMENTS-RECONCILIATION-CONTRACT.md §1-3. */
export interface FinanceGateway {
  loadRefunds(orderId?: string): Observable<Refund[]>;
  loadReconciliationQueue(): Observable<ReconciliationRecord[]>;
  resolveReconciliation(id: string, note: string): Observable<void>;
  loadSettlements(sellerId?: string): Observable<Settlement[]>;
}
