/**
 * Branch heads — mutable pointers into the commit chain
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { InfraRefSelect, InfraRefWithRelations, InfraRefPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraRefSelect, InfraRefWithRelations, InfraRefPatch } from '../../orm/input-types';
/**
 * Branch heads — mutable pointers into the commit chain
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateInfraRefMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', infraRefPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateInfraRefMutation<S extends InfraRefSelect>(params: {
    selection: {
        fields: S & InfraRefSelect;
    } & HookStrictSelect<NoInfer<S>, InfraRefSelect>;
} & Omit<UseMutationOptions<{
    updateInfraRef: {
        infraRef: InferSelectResult<InfraRefWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    infraRefPatch: InfraRefPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateInfraRef: {
        infraRef: InferSelectResult<InfraRefWithRelations, S>;
    };
}, Error, {
    id: string;
    databaseId: string;
    infraRefPatch: InfraRefPatch;
}>;
