import type { BlockMap, Decoration } from "notion-types";
/**
 * Get plain text from a notion-client "Block" data, which consists
 * of nested arrays with formatting metadata.
 *
 * @param {Decoration[]} data
 * @returns {string} text content
 */
export declare const flattenText: (data: Decoration[]) => string;
export declare const flattenBlocks: (blockMap: BlockMap) => import("notion-types").Block[];
