import { DataColumn } from "./column.type" export type ActionType = 'save' | 'insert' | 'delete' | 'upload' | 'download' | 'custom' | 'separator' export type ActionSave = (modifications: any[], callback: (success: boolean) => void) => void export type ActionInsert = (columns: DataColumn[], callback: (success: boolean, row: any) => void) => void export type ActionDelete = (selection: any[], callback: (success: boolean) => void) => void export type ActionBasic = (callback: (success: boolean) => void) => void export type ActionCustom = (selection: any[], callback: (success: boolean) => void) => void export type ActionsHandler = ActionInsert | ActionDelete | ActionSave | ActionBasic | ActionCustom | undefined