import type { Block } from '../../types';
/**
 * Converts HTML directly to blocks. Looks for a matching transform for each
 * top-level tag. The HTML should be filtered to not have any text between
 * top-level tags and formatted in a way that blocks can handle the HTML.
 *
 * @param html    HTML to convert.
 * @param handler The handler calling htmlToBlocks: either rawHandler
 *                or pasteHandler.
 *
 * @return An array of blocks.
 */
export declare function htmlToBlocks(html: string, handler: (options: {
    HTML: string;
}) => Block[] | string): Block[];
//# sourceMappingURL=html-to-blocks.d.ts.map