fuc-new/doc/node_modules/@mdit/helper/lib/index.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

14 lines
438 B
TypeScript

declare const dedent: (text: string) => string;
declare const escapeHtml: (unsafeHTML: string) => string;
/**
* Escapes special characters in string s such that the string
* can be used in `new RegExp`. For example "[" becomes "\\[".
*/
declare const escapeRegExp: (regexp: string) => string;
declare const NEWLINE_RE: RegExp;
declare const UNESCAPE_RE: RegExp;
export { NEWLINE_RE, UNESCAPE_RE, dedent, escapeHtml, escapeRegExp };