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