import { type RepairResult } from './utils';
/**
 * mdxjs hands the contents of every `{…}` to acorn as a JavaScript expression.
 * A bare backslash is only legal inside a string/template literal in JS, so a
 * markdown-style escape such as `{customer\_id}` — common when authors escape an
 * underscore out of habit — makes acorn throw "Could not parse expression with
 * acorn", which drops parsing for the whole surrounding `<Table>`.
 *
 * This pass deletes backslashes that sit in JS *code* position inside a `{…}`
 * expression. Backslashes within a '…', "…" or `…` literal are valid escapes
 * and are left untouched. Scoped to the malformed-retry path; the happy path
 * never runs it.
 */
export declare const repairExpressionEscapes: (html: string) => RepairResult;
