Pure text / Markdown classification + label-stripping
helpers used by the metadata resolver chain. Constants live in
text-utils-constants.ts; byte-budget truncators and sentence-
extraction live in text-truncate.ts. This file re-exports the
full public surface so existing call-sites keep working.
Bounded-context rules:
No upward imports — pure helpers, no I/O, no globals.
Deterministic — same input always produces same output.
Locale-agnostic — every helper works on raw Markdown / prose
in any of the 14 publishing languages. Banner-row detection is
driven by structural shape (double-bold + pipe-separator), not by
a hard-coded English vocabulary.
Description
Pure text / Markdown classification + label-stripping helpers used by the metadata resolver chain. Constants live in
text-utils-constants.ts; byte-budget truncators and sentence- extraction live intext-truncate.ts. This file re-exports the full public surface so existing call-sites keep working.Bounded-context rules: