import { PrimaryTableProps } from '../types'; import { PrimaryTableRowEditContext, TableRowData, TableErrorListMap, ErrorListObjectType, PrimaryTableCellParams } from '../type'; import { OnEditableChangeContext, EditableCellInstance } from '../components/editable-cell'; export interface TablePromiseErrorData { errors: ErrorListObjectType[]; errorMap: TableErrorListMap; } export default function useRowEdit(props: PrimaryTableProps): { editedFormData: import("vue").Ref<{ [rowValue: string]: { [colKey: string]: any; }; }>; errorListMap: import("vue").Ref; editableKeysMap: import("vue").ComputedRef<{ [key: string]: boolean; [key: number]: boolean; }>; validateTableData: () => Promise<{ result: TableErrorListMap; }>; validateTableCellData: () => Promise<{ result: TableErrorListMap; }>; validateRowData: (rowValue: any) => Promise<{ trigger: import("..").TableValidateTrigger; result: ErrorListObjectType[]; }>; onRuleChange: (context: PrimaryTableRowEditContext) => void; clearValidateRowData: () => void; clearAllEditableCellData: () => void; onCellInstanceChange: (cellKey: string, instance: EditableCellInstance | null) => void; onUpdateEditedCell: (rowValue: any, lastRowData: TableRowData, data: { [key: string]: any; }) => void; getEditRowData: ({ row, col }: PrimaryTableCellParams) => { [x: string]: any; }; onPrimaryTableCellEditChange: (params: OnEditableChangeContext) => void; };