import type { Block } from '../../types'; /** * Converts an HTML string to known blocks. Strips everything else. * * @param options * @param options.HTML The HTML to convert. * @param options.plainText Plain text version. * @param options.mode Handle content as blocks or inline content. * * 'AUTO': Decide based on the content passed. * * 'INLINE': Always handle as inline content, and return string. * * 'BLOCKS': Always handle as blocks, and return array of blocks. * @param options.tagName The tag into which content will be inserted. * * @return A list of blocks or a string, depending on `handlerMode`. */ export declare function pasteHandler({ HTML, plainText, mode, tagName, }: { HTML?: string; plainText?: string; mode?: 'AUTO' | 'INLINE' | 'BLOCKS'; tagName?: string; }): Block[] | string; //# sourceMappingURL=paste-handler.d.ts.map