export default asyncReplace; /** * Async replace regexp argument * * @since 1.3.1 * @category Function * @param {any} value String data * @param {any} search Regexp or string to look for match * @param {Function|String=} toReplace Replace value. * @returns {Promise} String in promise function * @example * * asyncReplace("asd",/s/g,"@") * // => Promise{: 'a@d'} */ declare function asyncReplace(value: any, search: any, toReplace?: (Function | string) | undefined): Promise;