import { WorkflowTaskData } from '@reltio/mdm-sdk';
type Props = Pick<WorkflowTaskData, 'processInstanceComments' | 'taskId' | 'isOpen'> & {
    onCommentWrite?: (taskFields: Pick<WorkflowTaskData, 'processInstanceComments'>) => void;
};
export declare const useWorkflowComments: ({ processInstanceComments, taskId, isOpen, onCommentWrite }: Props) => {
    comments: any[];
    requestIsInProgress: boolean;
    writeComment: (comment: any) => void;
    readOnly: boolean;
};
export {};
