import { Logo, LogoRef } from '../../../core'; /** * The V2 beat envelope (LargeTransactionV2 onward) sends an entity logo as an opaque guid instead * of V1's named `institution_guid` / `merchant_guid` / `category_guid` fields. The entity is * carried only by the guid's prefix, so this maps a guid back onto the named `Logo` shape the * existing renderers (`SubHeader`, mxui logo components) already understand. * * An unrecognized prefix returns `undefined` rather than guessing: rendering a merchant logo for * an institution guid would silently show the wrong image. */ export declare const logoFromEntityGuid: (guid?: string, alt?: string) => Logo | undefined; /** * Resolves a V2 `LogoRef` (header or row) onto the named `Logo` shape. The one mapping both the * header and the rows go through, so the two can never disagree about precedence: * * - `icon` becomes V1's `logo_name` / `logo_color` and wins over `guid`, as `logo_name` does in * `SubHeader`. * - Otherwise `guid` resolves by prefix (`logoFromEntityGuid`). For an `MCH-` guid, a `CAT-` * `fallback_guid` becomes the merchant's `category_guid`: `MerchantLogo` draws that category as a * tile when the merchant image fails to load, and without it the tile is the Uncategorized icon. * Only a category fallback is applied, because a category tile is the only fallback * `MerchantLogo` has. * * `fallbackAlt` names the logo when the ref carries no `alt` (rows pass their `primary_text`). */ export declare const logoFromRef: (ref?: LogoRef, fallbackAlt?: string) => Logo | undefined;