/// export declare const SETTING_MOVE_FORWARD = "settingMoveForward"; export declare const SETTING_MOVE_BACK = "settingMoveBack"; export declare const SETTING_MOVE_FREE = "settingMoveFree"; export declare const SETTING_DELETE = "settingDelete"; export declare const SETTING_LAYOUT_HORIZONTAL = "horizontal"; export declare const SETTING_LAYOUT_VERTICAL = "vertical"; export declare const SETTING_LAYOUT_TEXT: { horizontal: string; vertical: string; }; export declare const SETTING_MOVE_FORWARD_TEXT: { horizontal: string; vertical: string; }; export declare const SETTING_MOVE_BACK_TEXT: { horizontal: string; vertical: string; }; /** * 记录/操作配置数据 hook * @param {Object} { rowKey: 配置数据项的唯一标识, settingLayout: 配置的布局方向, isPagination: 是否开启前端分页 } * @returns */ declare const useSettingRecord: ({ rowKey, settingLayout, isPagination, colMeta, }: any) => { selectedOne: any; curDataSource: any[]; filterCurDataSource: any[]; onlyFormCompDataSource: any[]; pagination: { current: number; pageSize: number; total: number; }; undoHistory: never[]; redoHistory: never[]; setCurDataSource: import("react").Dispatch>; setUndoHistory: import("react").Dispatch>; setRedoHistory: import("react").Dispatch>; onUndo: () => void; onRedo: () => void; onRecordDo: (newCurDataSource: any, notice: any) => void; onModifyOne: (record: any, simpleRecord: any, noticeText?: string) => void; onModifyAll: (data: any, noticeText?: string) => void; onAddOne: (record: any, noticeText?: string, isAddToLast?: boolean) => { oldCurDataSource: any[]; curDataSource: any; }; onAdd: (records: any, noticeText?: string) => { oldCurDataSource: any[]; curDataSource: any; } | undefined; onDelete: (record?: any, noticeText?: string) => void; onClear: () => void; onMove: (record?: any, operateType?: string, noticeText?: string, moveParams?: any) => void; onDragMove: (dragItem: any, dropTarget: any) => void; onPagination: (newPagination?: {}) => void; onSelect: (record: any, index?: any) => { index: any; }; onModifyBatch: (data: any, rowKeyList: any, noticeText?: string, key?: string) => void; onBatchMove: (sourceKeyList: Set, targetKey: string) => void; }; export { useSettingRecord, };