import EditorImpl from "../../editor/Editor"; import { BlockElement, Editor, BlockData, BlockCommand, CommandParams } from "../../interface"; import { ListBlockWithChildren } from "./nodes"; import { toMindmap } from "./mindmap"; export * from "./modifyList"; export { toMindmap }; export interface ListBlockData extends BlockData { level: number; start: number; ordered: boolean; groupId: string; checkbox?: 'checked' | 'unchecked'; textOnly?: boolean; viewAsMindmap?: boolean; } export declare function fixListParent(editor: EditorImpl, listChildren: ListBlockWithChildren[]): void; export declare function isAllTypeList(blocks: BlockElement[], type: 'ordered' | 'unordered' | 'checkbox', options: { allowTextOnly: boolean; }): boolean; export declare function convertBlockToList(editor: Editor, blocks: BlockElement[], command: BlockCommand, params?: CommandParams): BlockElement[];