/** * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module list/list/utils */ import type { Editor } from 'ckeditor5/src/core'; import { type DowncastConversionApi, type DowncastWriter, type Element, type Item, type Model, type Position, type ViewContainerElement, type ViewElement, type ViewItem, type ViewPosition } from 'ckeditor5/src/engine'; /** * Creates a list item {@link module:engine/view/containerelement~ContainerElement}. * * @param writer The writer instance. */ export declare function createViewListItemElement(writer: DowncastWriter): ViewContainerElement; /** * Helper function that creates a `` or (`
    `) structure out of the given `modelItem` model `listItem` element. * Then, it binds the created view list item (`
  1. `) with the model `listItem` element. * The function then returns the created view list item (`
  2. `). * * @param modelItem Model list item. * @param conversionApi Conversion interface. * @returns View list element. */ export declare function generateLiInUl(modelItem: Item, conversionApi: DowncastConversionApi): ViewContainerElement; /** * Helper function that inserts a view list at a correct place and merges it with its siblings. * It takes a model list item element (`modelItem`) and a corresponding view list item element (`injectedItem`). The view list item * should be in a view list element (`