@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
9 lines (8 loc) • 449 B
TypeScript
/**
* Decode a caller's supported HTML text references exactly once.
*
* Replacement scans the original string: a decoded ampersand is never
* reinterpreted as the beginning of another reference. Unknown references
* stay literal. This is text conversion, not HTML output sanitization.
*/
export declare function decodeHtmlTextEntitiesOnce(value: string, entities: Readonly<Record<string, string>>, decodeDecimalReferences?: boolean): string;