import { EditorChartField } from 'ngx-puzzle/core/interfaces';
import { ChartTypesEnum } from 'ngx-puzzle/core/enums';
import { EditorBaseComponent } from 'ngx-puzzle/components/editor/dynamic-editor/base/editor-base.component';
import { SafeAny } from 'ngx-puzzle/core';
import * as i0 from "@angular/core";
export declare class NgxPuzzleChartEditorComponent extends EditorBaseComponent<SafeAny, ChartTypesEnum, EditorChartField> {
    isEditorComponent: boolean;
    chartType: ChartTypesEnum;
    protected setFields(type: ChartTypesEnum): void;
    protected getComponentType(): string;
    /**
     * 处理表单字段变化
     */
    onFieldChange(event: {
        key: string;
        value: SafeAny;
        parentKey?: string;
        index?: number;
    }): void;
    /**
     * 处理数组项添加
     */
    onArrayItemAdd(event: {
        fieldKey: string;
        children: any[];
    }): void;
    /**
     * 处理数组项删除
     */
    onArrayItemRemove(event: {
        fieldKey: string;
        index: number;
    }): void;
    addArrayItem(key: string, schema: any[]): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxPuzzleChartEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgxPuzzleChartEditorComponent, "ngx-puzzle-chart-editor", never, {}, {}, never, never, true, never>;
}
