export = highlightData; /** * Given a data object, * find all nodes that are themselves objects * and have { code, language } properties, * * where `code` is a plain string of code, and * where `language` is either a string or an * object with a `slug` property which is a string. * * Modify these objects such that the `code` * property is transformed into a highlighted * string of HTML, using the detected `language`, * and then return the original object with * these modifications. * @param {Object} data */ declare function highlightData(data: Object): Promise;