/** * Rendering of BoondManager's HTML note fields as a short plain-text excerpt. * Each invariant here has a regression test (`format/html.test.ts`). */ /** Max length (in code points) of the `text` excerpt used to identify an action. */ export declare const MAX_TEXT_EXCERPT = 80; /** Decodes numeric and common named entities so the excerpt reads as text, not as markup. */ export declare function decodeHtmlEntities(input: string): string; /** * Renders BoondManager's HTML note fields (`/actions`.text is a `
…
`) * as a short single-line excerpt. Only strings are excerpted — `text: null` and * nested objects are skipped by the caller rather than printed as `null` / * `[object Object]`. * * Truncation runs on code points (`Array.from`), never on UTF-16 code units, so * an emoji sitting on the boundary can't be cut into an unpaired surrogate. */ export declare function textExcerpt(raw: string): string | undefined; //# sourceMappingURL=html.d.ts.map