/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IJodit, Nullable } from "jodit/esm/types/index"; import type { ChartType, IChartData, IChartPoint } from "./interface"; export declare const CHART_ATTR = "data-jodit-chart"; export declare const CHART_TYPES: ChartType[]; export declare const CHART_TYPE_TITLES: Record; export declare function isChartType(value: unknown): value is ChartType; export declare function normalizePoint(raw: Partial): IChartPoint; export declare function normalizeChartData(raw: Partial, defaults: IChartData): IChartData; export declare function cloneChartData(data: IChartData): IChartData; export declare function isChartElement(node: Nullable, className: string): node is HTMLElement; export declare function findChart(jodit: IJodit, node: Nullable): Nullable; export declare function readChartData(jodit: IJodit, figure: HTMLElement): Nullable; export declare function defaultChartData(jodit: IJodit): IChartData; export declare function decorateChart(jodit: IJodit, figure: HTMLElement): void; export declare function applyChartData(jodit: IJodit, figure: HTMLElement, data: IChartData): void; export declare function createChart(jodit: IJodit, data: IChartData): HTMLElement; export declare function pixels(value: string): number;