import { DSLQuery } from '@lingxiteam/dsl'; import { SETTING_LAYOUT_HORIZONTAL } from './useSettingContent'; import { COL_META_MAP } from '../constant'; declare const useSettingCompRecord: (props: { createBlankPage: (options?: any) => { DSLCore: DSLQuery; }; settingLayout?: "horizontal" | undefined; formNode: DSLQuery['current']; colMeta: (typeof COL_META_MAP)['Form']; filterFn?: ((c: any) => boolean) | undefined; }, listener?: any[]) => { onModifyAll: (data: any, noticeText?: string) => void; onModifyOne: (record: any, simpleRecord: any, noticeText?: string) => void; onAdd: (records: any, noticeText?: string) => { oldCurDataSource: any[]; curDataSource: any[]; }; onAddOne: (record: any, noticeText?: string, isAddToLast?: boolean) => { oldCurDataSource: any[]; curDataSource: any[]; }; onClear: () => void; onDelete: (record?: any, noticeText?: string) => void; curDataSource: any[]; onDragMove: (dragItem: any, dropTarget: any, dropIndex: number, dragIndex: number) => void; onRecordDo: (action: (dsl: DSLQuery, isTemp?: boolean) => any, notice: any) => void; onUndo: () => void; onRedo: () => void; undoHistory: import("../../../CompEvent/hooks/useHandleQueue").QueueItemType[]; redoHistory: import("../../../CompEvent/hooks/useHandleQueue").QueueItemType[]; onClearQueue: () => void; setUpdateFlag: () => void; }; export default useSettingCompRecord;