import { IMarkmapOptions } from 'markmap-view/types/types'; import { BlockElement } from "../../interface"; import { ListBlockWithChildren } from "./nodes"; export declare function isViewingAsMindmap(block: BlockElement): boolean; export declare function closeMindmap(block: BlockElement): Promise; export declare function block2MindmapNode(block: BlockElement): { root: any; block: BlockElement; nodes: ListBlockWithChildren[]; last: ListBlockWithChildren; }; export declare function toMindmap(block: BlockElement, mindmapOptions: IMarkmapOptions, options: { reset?: boolean; saveData?: boolean; selectBlock?: boolean; }): void; export declare function updateBlockMindmap(block: BlockElement): void; export declare function handleMindmapBlockInsert(block: BlockElement): void;