export declare function asyncReplace(input: string, re: RegExp, replacer: (match: RegExpExecArray) => string | Promise): Promise; export declare function injectScriptToHtml(html: string, script: string): string;