export = surfaceNewlines; /** * Given an array of HAST tokens, extract newlines * and bubble them up so they are direct children of * the array, while preserving the ancestor structure * of all tokens. * * More info about HAST trees: * https://github.com/syntax-tree/hast * * @param {Array} tokensArray Array of HAST tokens. * @param {Number} depth For internal use * @returns */ declare function surfaceNewlines(tokensArray: any[], depth?: number): any;