UNPKG

794 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module list/documentlistproperties/converters
7 */
8import type { UpcastElementEvent } from 'ckeditor5/src/engine';
9import type { GetCallback } from 'ckeditor5/src/utils';
10import type { AttributeStrategy } from './documentlistpropertiesediting';
11/**
12 * Returns a converter that consumes the `style`, `reversed`, and `start` attributes.
13 * In `style`, it searches for the `list-style-type` definition.
14 * If not found, the `"default"` value will be used.
15 *
16 * @internal
17 * @param strategy
18 */
19export declare function listPropertiesUpcastConverter(strategy: AttributeStrategy): GetCallback<UpcastElementEvent>;