import { EditorBaseComponent } from 'ngx-puzzle/components/editor/dynamic-editor/base/editor-base.component';
import { EditorTableField } from 'ngx-puzzle/core/interfaces/table-config.interface';
import { TableTypesEnum } from 'ngx-puzzle/core/enums';
import { SafeAny } from 'ngx-puzzle/core/types';
import { Report } from '@webdatarocks/webdatarocks';
import * as i0 from "@angular/core";
export declare class NgxPuzzleTableEditorComponent extends EditorBaseComponent<Report, TableTypesEnum, EditorTableField> {
    protected setFields(type?: TableTypesEnum): void;
    protected getComponentType(): string;
    protected afterConfigUpdate(tableConfig?: Report): void;
    /**
     * 添加数组项
     */
    addArrayItem(fieldKey: string, fieldChildren: any[]): void;
    /**
     * 创建组字段的默认值
     */
    private createGroupDefaults;
    /**
     * 处理表单字段变化
     */
    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;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxPuzzleTableEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgxPuzzleTableEditorComponent, "ngx-puzzle-table-editor, puzzle-table-editor", never, {}, {}, never, never, true, never>;
}
