import { ReactEditor } from 'slate-react';
import { TableData } from '../TableTypes';
export declare type addRowAfterType = (row: number, totalColumns: number) => void;
export declare type removeRowType = (row: number) => void;
export declare type addColumnAfterType = (column: number) => void;
export declare type removeColumnType = (column: number) => void;
interface UseTableActionsProps {
    editor: ReactEditor;
    tableData: TableData[];
    updateTableData: (tableData: TableData[]) => void;
}
declare const useTableActions: ({ updateTableData, tableData, editor }: UseTableActionsProps) => {
    addRowAfter: addRowAfterType;
    addColumnAfter: addColumnAfterType;
    removeRow: addRowAfterType;
    removeColumn: removeColumnType;
};
export default useTableActions;
