import { RemainingCashCopy } from '../../../core'; /** Rows shown per section before the rest fold into an "Other (#)" row (Figma shows two). */ export declare const ROW_LIMIT = 2; /** * The grey bank tile on the "Other Accounts" row (Figma). It is MXUI's own `InstitutionLogo` fallback * image; passing it as `logoUrl` shows it straight away, instead of after a failed request for an * empty institution guid. */ export declare const DEFAULT_INSTITUTION_LOGO_URL = "https://content.moneydesktop.com/storage/MD_Assets/serenity/default_institution_logo.png"; export interface GroupedRows { shown: T[]; others?: { count: number; total: number; }; } /** Largest rows first (stable for ties), capped at `ROW_LIMIT`; the remainder as a count and total. */ export declare const groupRows: (rows: T[]) => GroupedRows; /** * `-$220.00`, not `$-220.00`: the sign goes before the currency symbol. Rounded to cents first so a * sub-cent negative (or `-0`) reads `$0.00`, never `-$0.00`. */ export declare const formatSignedCurrency: (amount: number) => string; export declare const getCaption: (copy: RemainingCashCopy, days: number) => string; export declare const getOtherLabel: (templateOne: string, templateMulti: string, count: number) => string;