import { ACTION_TYPE, AjaxOption, DialogOption, DrawerOption } from './interface'; export interface ActionConfig { actionType: ACTION_TYPE; link?: string; ajax?: AjaxOption; dialog?: DialogOption; drawer?: DrawerOption; action?: string; [other: string]: any; } declare const useAction: (props: any, allFunctions: any, getSelectedItems: () => object) => { handleAction: (config: ActionConfig, payload?: any) => void; confirmProps: { Confirm: any; setConfirmOptions: any; }; dialogProps: { Dialog: any; dialogOpen: any; dialogOptions: any; onDialogCancel: any; onDialogSuccess: (result?: any) => void; }; }; export default useAction;