/** * Strips markdown syntax from a string and returns plain text. * * Used by SummariserService to guarantee that the `tldr` returned from the LLM * is plain text regardless of whether the model emits markdown formatting. * * Transformation pipeline (order matters — see spec for rationale): * 1. Unwrap markdown images: ![alt](url) -> alt * 2. Unwrap markdown links: [text](url) -> text * 3. Strip line-leading block markers (#, -, *, +, >, 1.) at line starts * 4. Remove horizontal-rule lines entirely * 5. Strip inline emphasis markers: **, __, ~~, *, _, ` * 6. Collapse any run of whitespace (including newlines) to a single space, then trim * * Idempotent: sanitizeTldr(sanitizeTldr(x)) === sanitizeTldr(x). */ export declare const sanitizeTldr: (input: string) => string; //# sourceMappingURL=tldr.sanitizer.d.ts.map