import { BlockElement, ContainerElement, BlockContentElement, Editor } from "../../interface"; export declare const LEVEL_MAX = 8; export declare function applyLevelStyle(contentElem: BlockContentElement, level: number): void; export declare function applyTodoStyle(contentElem: BlockContentElement, checkbox: string | undefined): void; export declare function isList(block: BlockElement): boolean; export declare function getListItemElement(block: BlockElement): HTMLLIElement; export declare function getLi(block: BlockElement): HTMLElement; export declare function getOL(block: BlockElement): HTMLOListElement; export declare function getData(block: BlockElement, name: string): string | null; export declare function getStart(block: BlockElement): number; export declare function getCheckStatus(block: BlockElement): 'checked' | 'unchecked' | undefined; export declare function setCheckStatus(block: BlockElement, checked: 'checked' | 'unchecked'): void; export declare function isTextOnly(block: BlockElement): boolean | undefined; export declare function setTextOnly(block: BlockElement, textOnly: boolean): void; export declare function isCheckbox(block: BlockElement): boolean; export declare function getGroupId(block: BlockElement): string; export declare function getLevel(block: BlockElement): number; export declare function changeData(block: BlockElement, name: string, data: string): void; export declare function getListDataStart(blockOrEditor: BlockElement | Editor, level: number, start: number): string; export declare function changeStart(block: BlockElement, level: number, start: number): void; export declare function changeLevel(block: BlockElement, level: number): void; export declare function isOrdered(block: BlockElement): boolean; export declare function changeOrdered(block: BlockElement, ordered: boolean): void; export declare function changeGroupId(block: BlockElement, groupId: string): void; export declare function getPreviousBrother(block: BlockElement): BlockElement | null; export declare function getNextBrother(block: BlockElement): BlockElement | null; export declare function getPreviousBrothers(block: BlockElement): BlockElement[]; export declare function getNextBrothers(block: BlockElement, options?: { skipTextOnly: boolean; }): BlockElement[]; export declare function findNextNonBrotherList(block: BlockElement): BlockElement | null; export declare function getListsByLevel(container: ContainerElement, level: number, from: number, to: number): BlockElement[]; export declare function getFirstBrother(block: BlockElement): BlockElement; export declare function getFirstChild(block: BlockElement): BlockElement | null; export declare function getParentListBlock(block: BlockElement): BlockElement | null; export declare function getAllParentsListBlock(block: BlockElement): BlockElement[]; export interface ListBlockWithChildren { block: BlockElement; children: Array; } export declare function getAllChildren(block: BlockElement): ListBlockWithChildren[]; export declare function getAllChildrenFlat(block: BlockElement): BlockElement[]; export declare function getLastChild(block: BlockElement): BlockElement | null; export declare function getAllBrothers(block: BlockElement, options: { withSelf: boolean; }): BlockElement[]; export declare function getAllNonTextOnlyBrothers(block: BlockElement, options: { withSelf: boolean; }): BlockElement[]; export declare function getPreviousNonTextOnlyBrother(block: BlockElement): BlockElement | null; export declare function getPreviousNonTextOnlyList(block: BlockElement): BlockElement | null; export declare function getFirstListByGroup(container: ContainerElement, groupId: string): BlockElement | null; export declare function findPreviousBrother(block: BlockElement, level: number, ordered: boolean, heading: number | undefined, options?: { start?: number; }): BlockElement | null; export declare function findNextBrother(block: BlockElement, level: number, ordered: boolean, heading: number | undefined): BlockElement | null; export declare function isSameTypeList(list1: BlockElement, list2: BlockElement): boolean;