import { ApiHttpError } from "@voyant-travel/hono"; type DuplicateRelationshipsValueInput = { code: string; message: string; resource: string; fields: string[][]; }; /** * Translate a duplicate unique-key insert into a deterministic 409 the Settings * UI can render as an inline field error, rather than letting the Postgres * unique-violation (SQLSTATE 23505) bubble up as a generic 500. Mirrors the * `duplicateInventoryValueError` helper so every reference-data create returns * the same `{ error, code, details }` shape (voyant#2612). */ export declare function duplicateRelationshipsValueError(input: DuplicateRelationshipsValueInput): ApiHttpError; export {};