/** * The text tier — themed prose, the enum pill, and the muted placeholder every * container shows for a value it cannot print (W2 §The Kit). * * A screen formats its own figures with `Intl` now, so nothing here formats: * what is left is DISPLAY — a face, a tone, and the one total coercion that * turns an unrenderable value into a designed dash rather than bad text. */ import { type PropsWithChildren, type ReactNode } from "react"; import { type KitStyled, type KitTone } from "./tokens.js"; /** The pill vocabulary is the ONE tone vocabulary; the name stays because * Badge and the specs already speak it. */ export type EnumTone = KitTone; /** Turn "past_due" / "pastDue" into "Past due". */ export declare function humanizeEnum(value: string): string; export interface EnumBadgeProps extends KitStyled { /** The raw enum value from data. */ value?: string | null; /** Optional value → display label overrides. */ labels?: Record; /** Optional value → tone overrides. */ tones?: Record; /** Fallback tone when no override matches. */ tone?: EnumTone; } /** A status pill for enum fields — humanized label, tone-mapped color. */ export declare function EnumBadge({ value, labels, tones, tone, style }: EnumBadgeProps): import("react").JSX.Element | null; export interface TextProps extends KitStyled { text?: ReactNode; variant?: "body" | "heading" | "caption" | "label" | "code"; /** Paints the text — a `danger` figure is how an overdue amount reads red. */ tone?: KitTone; } /** Themed text. Heading renders an

; others render a . */ export declare function Text({ text, variant, tone, style, children }: PropsWithChildren): import("react").JSX.Element;