UNPKG

601 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, 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 paste-from-office/filters/utils
7 */
8/**
9 * Normalizes CSS length value to 'px'.
10 *
11 * @internal
12 */
13export declare function convertCssLengthToPx(value: string): string;
14/**
15 * Returns true for value with 'px' unit.
16 *
17 * @internal
18 */
19export declare function isPx(value?: string): value is string;
20/**
21 * Returns a rounded 'px' value.
22 *
23 * @internal
24 */
25export declare function toPx(value: number): string;