import { Observable } from 'rxjs'; import { ElementSelectionService } from '../dom/elementSelectionService'; import { ElementService } from '../dom/elementService'; import { ListService, ListType } from '../text/listService'; export declare type HtmlListServiceOptions = { newListClassName?: string; }; export declare function createHtmlListService(element$: Observable, selectionService: ElementSelectionService, options?: HtmlListServiceOptions): ListService; export declare class HtmlListService extends ElementService implements ListService { constructor(element: Element, selectionService: ElementSelectionService, options?: HtmlListServiceOptions); private readonly selectionService; private shouldMaybeMergeOnMutate; private listOperationDelegate; private onKeyDown; private onMutate; private get state(); get type(): ListType | undefined; setType(newType: ListType | undefined): void; get canIndent(): boolean; private getCanIndent; get canOutdent(): boolean; private getCanOutdent; private getCanChangeIndentLevel; indent(): void; outdent(): void; private getCanMerge; private maybeMerge; }