jccp_a/vuepress/node_modules/@mdit/helper/lib/index.d.ts
hellcat ac91e1fbe4 1
2025-11-12 17:57:30 +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 };