import { CurationTask, GridSession, SynapseClientError } from '@sage-bionetworks/synapse-client';
/**
 * A hook to get or create a GridSession for a given CurationTask. If an appropriate GridSession exists, it will be returned.
 * If not, a new GridSession will be created based on the CurationTask's properties.
 *
 * @returns A mutation object with a function to get or create a GridSession for a CurationTask.
 */
export default function useGridSessionForCurationTask(): import("@tanstack/react-query").UseMutationResult<GridSession, SynapseClientError, {
    curationTask: CurationTask;
}, unknown>;
//# sourceMappingURL=useGridSessionForCurationTask.d.ts.map