/** Sentinels for `ts_headline` — swapped to `<mark>` only after HTML escape. */
declare const HEADLINE_START_SEL = "\u27E6";
declare const HEADLINE_STOP_SEL = "\u27E7";
/** Options object for Postgres `ts_headline` matching the sentinel pair. */
declare const HEADLINE_OPTS: {
    readonly StartSel: "⟦";
    readonly StopSel: "⟧";
};
/**
 * XSS-safe `ts_headline` HTML: escape first, then swap sentinels to `<mark>`.
 */
declare function buildSafeHeadlineHtml(fragment: string): string;

export { HEADLINE_OPTS, HEADLINE_START_SEL, HEADLINE_STOP_SEL, buildSafeHeadlineHtml };
