/** * activity-value-renderer.tsx * * Pure, transport-agnostic value renderer for Activity / Time Machine diffs. * Reuses the same display-type logic as dynamic-columns.tsx (currency, status, * date, boolean, badge, relation, url, tags, color, number, percent) so the * diff cells and the table cells are always consistent. * * Kept in its own module so it has no dependency on tanstack-table or the * column-factory machinery — only React + metacore-ui primitives. */ import * as React from 'react'; import type { ColumnDefinition } from './types'; export interface ActivityValueRendererProps { /** The raw value to display (from before/after/changes). */ value: unknown; /** Column metadata for display formatting. Optional — falls back to string. */ col?: ColumnDefinition; /** IANA timezone (org config) for datetime cells. */ timeZone?: string; /** ISO 4217 currency for money cells. */ currency?: string; /** BCP-47 locale tag (e.g. 'es', 'en'). Defaults to 'es'. */ locale?: string; } /** * Renders a single field value from an activity event using the same display * type logic as `defaultGetDynamicColumns`. Pass a `ColumnDefinition` to get * rich formatting (currency, status badge, date, boolean, etc.); without it * the component falls back to a plain string representation. */ export declare const ActivityValueRenderer: React.FC; //# sourceMappingURL=activity-value-renderer.d.ts.map