import type {
  ReferenceItem,
  RefSchema,
  ReferenceTypeConfig,
} from '../reference/types';

export type { ReferenceItem, RefSchema, ReferenceTypeConfig };

/**
 * A multi-reference cell holds an array of denormalized reference objects —
 * the plural sibling of the `reference` cell's `Record<string, unknown> | null`.
 * Each object carries the schema's `idField`, `displayField` and (optionally)
 * the image field, so the view renders without re-fetching.
 */
export type MultiReferenceValue = Record<string, unknown>[] | null;
