import { SynapseClientError } from '@/utils/index';
import { DownloadFromGridRequest, Entity, TableUpdateTransactionResponse } from '@sage-bionetworks/synapse-client';
import { UseMutationOptions } from '@tanstack/react-query';
/**
 * Mutation hook that exports a grid session to CSV and applies the changes to a Synapse table.
 */
export default function useMergeGridWithTable(options?: Omit<UseMutationOptions<TableUpdateTransactionResponse, SynapseClientError, {
    gridSessionId: string;
    sourceEntityId: string;
}>, 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TableUpdateTransactionResponse, SynapseClientError, {
    gridSessionId: string;
    sourceEntityId: string;
}, unknown>;
export declare function getDownloadFromGridRequestParamsForEntity(entity: Entity): Omit<DownloadFromGridRequest, 'sessionId'>;
//# sourceMappingURL=useMergeGridWithTable.d.ts.map