/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraObjectSelect, InfraObjectWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraObjectSelect, InfraObjectWithRelations } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteInfraObjectMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteInfraObjectMutation<S extends InfraObjectSelect>(params: {
    selection: {
        fields: S & InfraObjectSelect;
    } & HookStrictSelect<NoInfer<S>, InfraObjectSelect>;
} & Omit<UseMutationOptions<{
    deleteInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
}>;
