import { WorkflowTaskData } from '@reltio/mdm-sdk';
import { BeforeActionOutcome, TaskAction } from '../types';
type Task = Partial<Pick<WorkflowTaskData, 'taskId' | 'possibleActions' | 'assignee' | 'isOpen'>>;
type Props = {
    task: Task;
    onActionSuccess?: (action: string) => void;
    onError?: () => void;
    beforeAction?: () => Promise<BeforeActionOutcome>;
};
export declare const useWorkflowActions: ({ task, onActionSuccess, onError, beforeAction }: Props) => {
    actions: TaskAction[];
    actionRequestIsInProgress: boolean;
};
export {};
