import { Beat } from '../../../core'; export interface TransactionInsightTagProps { /** The beat matched to the row by `associated_transaction_guid`. */ beat: Beat; /** Caption color for the legacy branch (the two surfaces use different tokens). */ legacyColor?: string; /** Whether the legacy caption is bold (the list row is, the table cell is). */ legacyBold?: boolean; /** Truncate the legacy caption (the list row does; the table cell wraps its own column). */ legacyTruncate?: boolean; } /** * The transaction row's insight tag, shared by the list row and the table's amount cell so the two * cannot drift (`insights_v2.2.md` ยง10.1). Three-way branch on the matched beat: * * - `v2` โ†’ `insights_payload.pill.text` drawn as a `StatusPill`; nothing when the envelope has * no `pill` (the insight tags no row). * - `error` โ†’ nothing. A flagged beat with no envelope must never fall back to `short_title`: that * caption is filled from the same V2 copy block and would hide the failure. * - `legacy` โ†’ `short_title` as the plain caption, exactly as before. * * On tap both branches post `mx/moneyDashboard/insightOnTransaction` with the beat guid, as today. * The caller keeps the `showInsights` gate. */ declare const TransactionInsightTag: ({ beat, legacyBold, legacyColor, legacyTruncate, }: TransactionInsightTagProps) => import("react/jsx-runtime").JSX.Element | null; export default TransactionInsightTag;