/**
 * Update mutation hook for SpatialRelation
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SpatialRelationSelect, SpatialRelationWithRelations, SpatialRelationPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SpatialRelationSelect, SpatialRelationWithRelations, SpatialRelationPatch, } from '../../orm/input-types';
/**
 * Mutation hook for updating a SpatialRelation
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateSpatialRelationMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', spatialRelationPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSpatialRelationMutation<S extends SpatialRelationSelect>(params: {
    selection: {
        fields: S & SpatialRelationSelect;
    } & HookStrictSelect<NoInfer<S>, SpatialRelationSelect>;
} & Omit<UseMutationOptions<{
    updateSpatialRelation: {
        spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
    };
}, Error, {
    id: string;
    spatialRelationPatch: SpatialRelationPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSpatialRelation: {
        spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
    };
}, Error, {
    id: string;
    spatialRelationPatch: SpatialRelationPatch;
}>;
