/** * Feed ids compared in one encoding. * * `toHex` emits bare lowercase hex while Hermes' `parsed[].id` has been seen * both ways; comparing raw would miss every feed over a `0x` prefix and price * nothing, which is a silent failure rather than a loud one. * * Its own module, importing nothing, because the two places that must agree on * this — the reserve-pricing code in `simulate.ts` and the Hermes source in * `lib/pyth.ts` — cannot share a definition otherwise. `lib/pyth.ts` is reached * from `initializeSuilend` and is deliberately near-leaf, so importing * `simulate.ts` for one four-line function would drag `@mysten/sui/bcs`, the * generated structs and the `utils` barrel in behind it. The previous answer was * a second copy in `lib/pyth.ts`; two definitions of the encoding that decides * whether a feed matches is exactly the thing that goes wrong quietly. */ export declare const normalizeFeedId: (id: string) => string;