/** KeyValue — one record's fields as two-column label/value rows (W2 §The Kit). */ import { type ReactNode } from "react"; import { type KitStyled } from "../tokens.js"; export interface KeyValueItem { /** Field key; supports dot-paths ("client.name"). */ key: string; /** Row label; defaults to a humanized last path segment. */ label?: string; /** Kit elements rendered as this row's VALUE (the label stays) — the DataTable * cell contract, for a single record. Written as a function it is called once, * with the record, so ONE element arrives and there is nothing to match. */ cell?: ReactNode; } export interface KeyValueProps extends KitStyled { /** The record being described, from a tool call. */ record: Record; /** The fields to show, in order; a bare string is its key. Omitted, they are * the record's own keys. */ items?: Array; /** Hairline rule between rows. */ dividers?: boolean; } export declare function KeyValue({ record, items: rawItems, dividers, style }: KeyValueProps): import("react").JSX.Element;