import { Seam } from '../seam.js'

/**
 * Retailer integration and export paths. SEAM — owned by #18.
 *
 * Fixed already, so this ticket cannot widen it:
 *   - export MIRRORS READ EXACTLY. No second rule set (#14 decision 5).
 *   - every export writes an export_event.
 *   - an amendment is an OUTBOUND EVENT, not only an in-app state change (#16).
 *
 * #3 established we owe a hand-back to the retailer's existing system of
 * record — Coupa, Bamboo Rose, Partners Online, Oracle-adjacent, or none at all.
 */
export interface Exporter {
  export(req: { solicitationId: string; classes: string[] }): Promise<Uint8Array>
}

export const exporter: Exporter = {
  async export() { throw new Seam('#18', 'retailer integration and export paths') },
}
