import { FieldDescriptor, FieldOption } from './types.js'; export type DisplayValue = { kind: 'empty'; } | { kind: 'text'; text: string; } | { kind: 'chips'; items: string[]; } /** Files: each name, and a link when it is an uploaded ref with a safe url. */ | { kind: 'files'; items: { name: string; url: string | null; }[]; } /** Repeater rows: one entry per row, each a list of `label: value` pairs. */ | { kind: 'rows'; rows: { label: string; text: string; }[][]; }; /** * The read-only rendering of one field's value. `options` overrides the * descriptor's own list when they were resolved dynamically (`options_from`). */ export declare function displayValue(field: FieldDescriptor, value: unknown, options?: FieldOption[] | undefined): DisplayValue;