/**
 * 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, InfraObjectPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraObjectSelect, InfraObjectWithRelations, InfraObjectPatch, } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInfraObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', infraObjectPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInfraObjectMutation<S extends InfraObjectSelect>(params: {
    selection: {
        fields: S & InfraObjectSelect;
    } & HookStrictSelect<NoInfer<S>, InfraObjectSelect>;
} & Omit<UseMutationOptions<{
    updateInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    infraObjectPatch: InfraObjectPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInfraObject: {
        infraObject: InferSelectResult<InfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    infraObjectPatch: InfraObjectPatch;
}>;
