/**
 * 通用字段编辑面板弹窗
 *
 * 通过 driver.getUiContribution().editPanel 渲染编辑面板，
 * 不再硬编码 AiFieldConfigPanel / FormulaFieldConfigPanel。
 */
import * as React from 'react';
import type { FieldPanelProps, FieldContext } from '../../../../../../../cn-ai-table/view/field-system';
export interface EditFieldPanelPopupProps {
    visible: boolean;
    onVisibleChange: (visible: boolean) => void;
    headerRef: React.RefObject<HTMLTableCellElement>;
    /** driver.getUiContribution().editPanel */
    EditPanel: React.ComponentType<FieldPanelProps>;
    fieldType: string;
    fieldLabel: string;
    columnId: string;
    columnCode: string;
    initialValue?: string;
    context: FieldContext;
    onSave: (config: Record<string, any>) => void;
    onCancel: () => void;
}
export declare const EditFieldPanelPopup: React.FC<EditFieldPanelPopupProps>;
export default EditFieldPanelPopup;
