import { RowConfig } from '../../../shared/types/table';
interface UseTableEditOptions {
    externalEditingRowIds?: (string | number)[];
    onEditingRowIdsChange?: (editingRowIds: (string | number)[]) => void;
    onEditModeChange?: (rowId: string | number, isEditing: boolean) => void;
}
export declare const useTableEdit: <T = unknown>(options?: UseTableEditOptions) => {
    editingRowIds: Set<string | number>;
    toggleRowEdit: (rowId: string | number) => void;
    startEdit: (rowId: string | number) => void;
    stopEdit: (rowId: string | number) => void;
    stopAllEdits: () => void;
    isRowEditing: (rowId: string | number) => boolean;
    applyEditState: (rows: RowConfig<T>[]) => RowConfig<T>[];
};
export {};
//# sourceMappingURL=useTableEdit.d.ts.map