UNPKG

887 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 * Gets all the style types supported by given list type.
7 */
8export declare function getAllSupportedStyleTypes(): Array<string>;
9/**
10 * Checks whether the given list-style-type is supported by numbered or bulleted list.
11 */
12export declare function getListTypeFromListStyleType(listStyleType: string): 'bulleted' | 'numbered' | null;
13/**
14 * Converts `type` attribute of `<ul>` or `<ol>` elements to `list-style-type` equivalent.
15 */
16export declare function getListStyleTypeFromTypeAttribute(value: string): string | null;
17/**
18 * Converts `list-style-type` style to `type` attribute of `<ul>` or `<ol>` elements.
19 */
20export declare function getTypeAttributeFromListStyleType(value: string): string | null;