/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SpatialRelationSelect, SpatialRelationWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a SpatialRelation with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteSpatialRelationMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteSpatialRelationMutation<S extends SpatialRelationSelect>(params: {
    selection: {
        fields: S & SpatialRelationSelect;
    } & HookStrictSelect<NoInfer<S>, SpatialRelationSelect>;
} & Omit<UseMutationOptions<{
    deleteSpatialRelation: {
        spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteSpatialRelation: {
        spatialRelation: InferSelectResult<SpatialRelationWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
