import { EditorBaseComponent } from 'ngx-puzzle/components/editor/dynamic-editor/base/editor-base.component';
import { ControlConfig } from 'ngx-puzzle/core/interfaces/control-config.interface';
import { ControlTypesEnum } from 'ngx-puzzle/core/enums/control-types.enum';
import { SafeAny } from 'ngx-puzzle/core/types';
import * as i0 from "@angular/core";
export declare class NgxPuzzleControlEditorComponent extends EditorBaseComponent<ControlConfig, ControlTypesEnum> {
    protected setFields(subType?: ControlTypesEnum): void;
    protected getComponentType(): string;
    /**
     * 处理表单字段变化
     */
    onFieldChange(event: {
        key: string;
        value: SafeAny;
        parentKey?: string;
        index?: number;
    }): void;
    /**
     * 处理日期变化
     */
    onDateChange(event: {
        key: string;
        value: SafeAny;
    }): void;
    /**
     * 处理选项添加
     */
    onOptionAdd(event: {
        fieldKey: string;
    }): void;
    /**
     * 处理选项删除
     */
    onOptionRemove(event: {
        fieldKey: string;
        index: number;
    }): void;
    /**
     * 处理表格编辑完成
     */
    onTableEditComplete(event: {
        fieldKey: string;
    }): void;
    dateChange(key: string, value: SafeAny): void;
    addOption(fieldKey: string): void;
    removeOption(fieldKey: string, index: number): void;
    tableEditComplete(fieldKey: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxPuzzleControlEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgxPuzzleControlEditorComponent, "ngx-puzzle-control-editor, puzzle-control-editor", never, {}, {}, never, never, true, never>;
}
