/// <reference types="react" />
import type { FloorMapDataSources, DataSourceFormColumn } from '../types';
import './FloorMapDataForm.less';
export interface FloorMapDataFormProps {
    dataSourceKey: string;
    recordId: string;
    record: Record<string, unknown>;
    dataSources: FloorMapDataSources;
    onSave: (dataSourceKey: string, id: string, newData: Record<string, unknown>) => void;
    saving?: boolean;
    /** 列配置：标签、类型（string/number/select）、选项（select 时）；不传则自动列举 record 除 id 外字段 */
    columns?: DataSourceFormColumn[];
    className?: string;
}
/** 简单通用表单：可编辑记录中的字段；支持 columns 配置标签与控件类型 */
export declare function FloorMapDataForm(props: FloorMapDataFormProps): JSX.Element;
export default FloorMapDataForm;
