import { Container } from "../../core/render/Container"; import { Serializer, ISerializerEvents, ISerializerSettings, ISerializerPrivate } from "./Serializer"; export interface IChartSerializerSettings extends ISerializerSettings { /** * Remove empty objects from the output. * * @default true */ removeEmptyObjects?: boolean; /** * Include projection settings in the output. * * If enabled, the projection function will be included in the output, * according to the `functionsAs` setting. * * @default false */ includeProjection?: boolean; } export interface IChartSerializerPrivate extends ISerializerPrivate { } export interface IChartSerializerEvents extends ISerializerEvents { } /** * Serializes whole charts into simple objects or JSON. * * @see {@link https://www.amcharts.com/docs/v5/concepts/serializing/chart-serializer/} for more info * @since 5.15.0 */ export declare class ChartSerializer extends Serializer { static className: string; static classNames: Array; _settings: IChartSerializerSettings; _privateSettings: IChartSerializerPrivate; _events: IChartSerializerEvents; private _disableDataSerialization; private _globalRefs; private _internalRefs; private _counters; private _lists; private _mainRefs; protected _afterNew(): void; reset(): void; /** * Serializes target object into a simple object. * * @param source Target object * @return Serialized data */ serializeAll(source: Container): any; private _serializeEntity; private _examineStructure; private _processCustomChildren; private _processSeries; private _processTemplate; private _processSerialChart; private _processXYChart; private _processAxis; private _processCurveChart; private _processMapChart; private _processGantt; private _processStockChart; private _processHierarchy; private _populateTemplates; private _stripKeys; private _stripType; private _saveInternalRef; private _getInternalRef; private _findInternalRef; private _getRef; private _getRefIndex; private _saveRef; private _saveRefId; private _hashObject; private _maybeInit; private _counter; private _getId; private _pruneEmptyObjects; private _isLegend; private _notSupported; } //# sourceMappingURL=ChartSerializer.d.ts.map