import { useCallback } from 'react';
import { useWorkflowStore } from '../stores/workflowStore';
export const useWorkflow = () => {
    const { updateTaskDataMap } = useWorkflowStore();
    const setWorkflowTaskPageData = useCallback((taskId, pageId, data) => {
        updateTaskDataMap(taskId, pageId, data);
    }, [updateTaskDataMap]);
    return {
        setWorkflowTaskPageData
    };
};
//# sourceMappingURL=useWorkflow.js.map